user400724
user400724

Reputation: 149

How to track Finger tip in OpenCV or OpenFrameworks?

I want to develop a program which uses the webcam to track finger tips. When tracked, the finger tip will be like an index and I will be able to get its positions even if it is moved around. If anyone has any advice for me. Thanks in advance.

Upvotes: 12

Views: 6354

Answers (3)

Utkarsh Sinha
Utkarsh Sinha

Reputation: 3305

If you look around the internet, you'll find lots of DIY tutorials to make a touch table.

If you want to keep your fingers in the air, you could put some colour markers. This article might help: http://aishack.in/tutorials/tracking-colored-objects-in-opencv/

Upvotes: 2

Keshan
Keshan

Reputation: 14677

You can either use color based tracking method or skin segmentation. in CCV latest version it supports finger tip detection.

try this as well :http://www.cs.toronto.edu/~smalik/downloads/2503_project_report.pdf

Upvotes: 0

George Profenza
George Profenza

Reputation: 51857

Setup is everything. First make sure you make it easy for yourself: have the proper lighting conditions ( either an IR LED + IR filter on camera or just high contrast between your surface and the fingers )

I imagine you would do blob tracking. I can't give you a solution for making sure the id of the detected blobs will always be the same, even if they go in out of the tracked area, but I would suggesting giving Community Core Vision(used to be tbeta) a try and use the forums there as well.

HTH

Upvotes: 2

Related Questions