I m looking for a library of C algorithms which:
- can get an input video from a video camera
- can realize a software that can detect when eyes blink
- can be embedded to altium 3000 nanoboard
- is free or cheap
Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. It only takes a minute to sign up.Sign up to join this community
That is a easy set of specifications: OpenCV should - with a little effort do the job nicely:
The "some work" that you will have to do for your self, possibly with some help from the Altium & OpenCV communities, is to build the OpenCV library either the older C only version. as you have asked, or the current C++ version where you will probably get more help from the OpenCV comunity, or at least the parts of it that you need, for the Altium.
You cannot expect to just link the existing library, for say the windows OS, and have it work but that is true of any library when porting to an embedded target.
It is also standard practice when porting to such a target to take an existing library, such as OpenCV, and follow the following process:
The best way to go about this with an Open Source Library is to, with the original implementers knowledge & permission if possible, create a branch or fork from the Original code, named so that it is clear what is happening, and do your work on the library on that branch or fork in public github fork. Try to not break compatibility with other platforms as you work. You may find that you get some clustering with other developers contributing towards what you are looking for.