Skip to content

how to mark point on the three images correctly #4

Description

@SriRamGovardhanam

E:\opencvdemo>python code.py -i1 C:\Users\ASUS\Desktop\final_saket1.jpg -i2 C:\Users\ASUS\Desktop\final_saket2.jpg -i3 C:\Users\ASUS\Desktop\final_saket3.jpg -a false
(2268, 4032, 3)
(2268, 4032, 3)
waist 350.0494518583487
Traceback (most recent call last):
File "code.py", line 425, in
main()
File "code.py", line 421, in main
metre_pixel_y)
File "code.py", line 345, in measure_distance
right_shoulder_lambda)
File "code.py", line 281, in detect_point_and_ask_user
left = detector_fn_lef(segmented_img, head_point_left[0], head_point_left[1])
File "code.py", line 321, in
left_shoulder_lambda = lambda img, point0, point1: first_sharp_fall(img, point0, point1, -20, 1.5)
File "code.py", line 201, in first_sharp_fall
y0 = np.nonzero(mask[:, x_curr])[0][0]
IndexError: index 0 is out of bounds for axis 0 with size 0

this is what i got the output
i think it goes wrong with marking the points on images
can i get more information on how to input those dots/marks on images correctly

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions