开发者

How to track finger position with OpenCV

开发者 https://www.devze.com 2023-01-20 03:00 出处:网络
I have a problem with image processing. I have set up a web cam on top of my laptop facing the keyboard so when i touch the LCD the image which get from the web cam bisects by the finger so my idea is

I have a problem with image processing. I have set up a web cam on top of my laptop facing the keyboard so when i touch the LCD the image which get from the web cam bisects by the finger so my idea is to get the positi开发者_运维问答ons of the finger when it bisects the image. any help is appreciated (OpenCV, openframework or any other relevant framework)

Thanks,


You can do object recognition with OpenCV. However, you will need to train an OpenCV classifier using Haar cascades and images of fingers first. All this comes packaged when you install OpenCV.

Here is a really good and detailed explanation on how to do this. They use bowls as an example, but you can use picture of fingers.

http://lab.cntl.kyutech.ac.jp/~kobalab/nishida/opencv/OpenCV_ObjectDetection_HowTo.pdf

Alex

0

精彩评论

暂无评论...
验证码 换一张
取 消