surya-veer / movement-tracking Goto Github PK
View Code? Open in Web Editor NEWUP - DOWN - LEFT - RIGHT movement tracking.
UP - DOWN - LEFT - RIGHT movement tracking.
Hi , I am newbie to python.I just saw linkedin and try to setup and run this code. getting an error searched Stackoverlow not solved yet.
Traceback (most recent call last):
File "movement-v2.py", line 81, in
img, nose_cords = detect_nose(img, faceCascade)
File "movement-v2.py", line 10, in detect_nose
gray_img = cv2.cvtColor(img, cv2.COLOR_BAYER_BG2RGB)
cv2.error: OpenCV(4.3.0) /Users/travis/build/skvark/opencv-python/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
can you please help?
Thanks in Advance.
can you say what does detectmultiscale return ?
How is nose detected ?
Traceback (most recent call last):
line 78, in img, nose_cords = detect_nose(img, faceCascade)
line 10, in detect_nose gray_img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-9d_dfo3_\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
when i try to run .py file the command prompt window opens for a fraction of second and then closes
I can't run the program without root or with root. and it need to be rooted to aggregate the keyboard(kbd).
Hello,
Hope you are doing well!
I have a question, how do we reduce the window size? when I run the script, the camera opens and takes the entire screen. How do I reduce that size?
When I run the code it throws this error
Traceback (most recent call last):
File "E:/ml/movement-tracking/movement-v2.py", line 83, in
img, nose_cords = detect_nose(img, faceCascade)
File "E:/ml/movement-tracking/movement-v2.py", line 11, in detect_nose
gray_img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
Please help
Assertion failed in line number 11.
Showing error- error: OpenCV(4.3.0) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
@surya-veer @Yohannfra
please help ๐
so there seems to be a significant lag in sensing the video
anyway we can improve the FPS?
I am new to opencv and i found your project of great interest. Please rectify this error that has been raised in the 'assertion failed' code that you uploaded.
When I run the code it throws this error
Traceback (most recent call last):
File "E:/ml/movement-tracking/movement-v2.py", line 83, in
img, nose_cords = detect_nose(img, faceCascade)
File "E:/ml/movement-tracking/movement-v2.py", line 11, in detect_nose
gray_img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.