Regarding dimension of the matrix for an coloured image

the shape of a coloured image is like (345,300,3) i want to know 345 are the rows of the image or height of the image,300 are the columns or width of the image and there are 3 channels for BGR

am i correct??

i mean when any face cascade returns the x,y,w,h for a face detected in the image Here h are the number of rows of that face_portion_image and w are the number of columns in that face_portion_image???

hey @amankharb ,
in the given image shape = (345,300,3) ,
height of image -> 345
width of image -> 300
number of channels -> 3

Yes ,you are correct here.

I hope this would have resolved your doubt.
Happy Learning :slightly_smiling_face:.