OpenCV - Color Tracking

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
15,166
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 11, 2009

My attempt at implementing color tracking using the opencv library. Code is freely available at: http://is.gd/rVpk

I am scanning the pixels for a particular colour (with configured tolerance) and drawing a rectangle around the minx/miny and maxx/may.

This video was shot on a virtual Ubuntu box with only 512MB of ram!!

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (tommedcouk)

  • which or what program do i need to run the .c files?

    or the run files...... 

  • @timboiscool C files are source code files. You will need to compile them into an executable. It may be worth buying a book on C programming before continuing.

  • Love this video. I am very new to C++ and the whole programing community and was wondering if it would be possible to explain how to load your code into a new project under Visual C++ 2008. There are a lot of files that I don't know what to do with to get things compiled T.T if anyone can help me out i would be very greatfull.

  • @death2ourenemy sorry, I don't use Windows only Linux

see all

All Comments (26)

Sign In or Sign Up now to post a comment!
  • @timboiscool I've not tried it on Windows as I don't own a Windows machine, only Linux. But if you are getting compile errors, it's probably due to you not linking to the OpenCV library correctly.

  • @MercenaryFH123 Yes of course!

  • @xfya You're going to have your work cut out for you!!! Hope your maths is excellent?! You have to start by reading the O'reilly "Learning OpenCV" book. You won't be able to do much without that!

  • hi there, I really like the work you have done. I am working on a speech recognition project that requires lip tracking and lip localisation using a video file. since i am new to OpenCV is there any help you can give me on how this can be done? I really dont understand how to start off and track the lips

  • Out of Curiosity, say I just wanted to run the tracking with the same color threshold used in this video (yellow), would I just change the RGB values to what you have on the sliders? and the threshold to 40?

  • I had to add: #include "stdafx.h" to get it to work to visaul studio 2008 exress

    but now the image is upside down?

    help....????

  • @timboiscool U need to link opencv library correct Wz the Program ..Google search for link opencv with vs++

  • @sasamosasa ok but if i use visual c++ hen the programs gives me alot of error :| ??

    why

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more