Code Monkey home page Code Monkey logo

body-measurement-using-computer-vision's People

Contributors

ankesh007 avatar krunal-shah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

body-measurement-using-computer-vision's Issues

re-run cmake or configure script in function cvSetMouseCallback

I got this issue, can you provide requirements.txt

OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvSetMouseCallback, file /io/opencv/modules/highgui/src/window.cpp, line 578
Traceback (most recent call last):
  File "code2.py", line 399, in <module>
    main()
  File "code2.py", line 374, in main
    metre_pixel_x,metre_pixel_y,coordinate,affine_correct_parameters=analyze_chessboard(image,affine_correct_flag)
  File "code2.py", line 228, in analyze_chessboard
    cv2.setMouseCallback(window_name1, click_and_crop)
cv2.error: /io/opencv/modules/highgui/src/window.cpp:578: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvSetMouseCallback

how to mark point on the three images correctly

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

Code usage request

Hello,

I hope you're doing well. I'm working on an assignment for a course that involves CV and body measurements, and I was wondering whether I could fork your repository and use your code for my project. This will not be published anywhere and is solely for grading purposes.

Thank you

cv2.error: NULL window handler in function 'cvSetMouseCallback'

python code2.py -i1 aman1.jpg -i2 aman2.jpg -i3 aman3.jpg -a True
helllooooo
<module 'cv2.cv2' from '/home/panacea/Documents/Yogeshsir/Body-Measurement-using-Computer-Vision/src/venv/lib/python3.5/site-packages/cv2/cv2.cpython-35m-x86_64-linux-gnu.so'>
Traceback (most recent call last):
  File "code2.py", line 401, in <module>
    main()
  File "code2.py", line 376, in main
    metre_pixel_x,metre_pixel_y,coordinate,affine_correct_parameters=analyze_chessboard(image,affine_correct_flag)
  File "code2.py", line 230, in analyze_chessboard
    cv2.setMouseCallback(window_name1, click_and_crop)
cv2.error: OpenCV(4.2.0) /io/opencv/modules/highgui/src/window_QT.cpp:714: error: (-27:Null pointer) NULL window handler in function 'cvSetMouseCallback'

arm spread image is showing and the program halted here

(BMCV) dilshad@kali:~/Desktop/BMCV$ python experiment.py -i1 1.jpg -i2 2.jpg -i3 3.jpg -a True
(2268, 4032, 3)
Segmentation Completed 1
(2268, 4032, 3)
Segmentation Completed 2
Affine Corrected
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.