I’m currently learning Machine Learning and Artificial Intelligence
You can ask me whatever you want, if I know the answer, I will tell you, but if I don't, we can find the answer together.
The program counts the number of blinks in a video or webcam.
Hello,
I tried to install and run your scripts in an Anaconda environment on Mac. When I ran the install_requirements.py script, it said "trying to install XXX via pip" but didn't seem to install anything. It said the same thing when I ran it again. I manually installed the packages, but the script failed to detect opencv-python and said it was trying to install again.
When I tried to run blinkCounter.py, it asked if I wanted to install the packages again ("You are about to install 3 packages, would you like to proceed (y/n)"). I responded n, then got the following error:
[STOP] Operation terminated by user
OpenCV: Couldn't read video stream from file "Video.mp4"
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
Traceback (most recent call last):
File "/Users/derekalbert/Downloads/Blink-Counter-main/blinkCounter.py", line 24, in
img, faces = detector.findFaceMesh(img,draw=False)
File "/Users/derekalbert/Downloads/Blink-Counter-main/faceMeshModule.py", line 22, in findFaceMesh
imgRGB = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
cv2.error: OpenCV(4.9.0) /Users/runner/work/opencv-python/opencv-python/opencv/modules/imgproc/src/color.cpp:196: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
A little more information about how to use the script with a webcam stream would be helpful too. Thanks!
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.