Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to mark point on the three images correctly #4

Open
SriRamGovardhanam opened this issue Jul 1, 2019 · 3 comments
Open

how to mark point on the three images correctly #4

SriRamGovardhanam opened this issue Jul 1, 2019 · 3 comments

Comments

@SriRamGovardhanam
Copy link

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

@ankesh007
Copy link
Owner

You just have to click the relevant points. The description of what point to mark in which image is mentioned in README.

@shantanu848
Copy link

You just have to click the relevant points. The description of what point to mark in which image is mentioned in README.

Please can you elaborate a bit more. I am having issue In marking too.

@Rehmani-commits
Copy link

plz tell us @sirankesh007
how to run the code
when i am running the code the output is only show the images
tell me how to get the result of measuring shoulder and waiste

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants