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

Commandline examples for eye detection from camera #730

Open
MyraBaba opened this issue Oct 16, 2018 · 2 comments
Open

Commandline examples for eye detection from camera #730

MyraBaba opened this issue Oct 16, 2018 · 2 comments

Comments

@MyraBaba
Copy link

Hi,

We just found your library and want to have a test drive to our current projects.

succesfully compile..

its asking lot of args from command line.

Can you provide us an example command line which is using camera cap(0) and detecting eyes ?

best

@headupinclouds
Copy link
Collaborator

There are a set of internal tools in src/app. The drishti-hci app in src/app/hci is close to what you want and is documented in the readme here:

https://github.com/elucideye/drishti/tree/master/src/app/hci

But... that has been replaced with a more recent cross platform facefilter application shown here:

https://github.com/elucideye/drishti/blob/master/src/examples/facefilter/app/facefilter/desktop/face.cpp

The command line arguments are very similar. The facefilter app builds on the installed public drishti package SDK, and includes iOS and Android versions.

This stuff is mostly geared towards real time performance on mobile platforms, leveraging a fast implementation of the ACF detector from Piotr's Toolbox. It runs optimized face detection at low resolution, then coarse landmarks (for eye localization), followed by eye model refinement.

Can you provide us an example command line which is using camera cap(0) and detecting eyes

If you literally just want to detect eyes on a desktop (assuming high res images) you could use this acf eye model with the ACF lib directly. If you are running on a desktop and have a GPU, then this eye model w/ lib's mmod detector might work well.

@MyraBaba
Copy link
Author

We will going to use and test it our raspberry Pi 3B+ boards. We have EMR ambulances and unfortunatelly sometimes they are working over hours.

So I wonder that I can make them an warning when their eyelids closed / sleeping

Before to dive in the codes I just want to test with and command line argument for Cam(0) in raspi

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

2 participants