Code Monkey home page Code Monkey logo

blink-counter's Introduction

Hello there I'm Beyazıt

there-is-no-try-do-or-do-not

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.

blink-counter's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

itneshkumar

blink-counter's Issues

Trouble using in Anaconda environment

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!

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.