0

I want to write a program that can grab a frame from a webcam feed (usb webcam), takes a color sample from a specific coordinate, compares to a previous frame or specified color, and then takes an action if the color has left a threshold. Are there any good libraries for this or can this be done natively in C#?

While this is not its purpose, this program would be able to take the feed from a stationary webcam that looks at a traffic light and could tell me what state the trafic light is in.

  • 1
    This doesn't sound like something you would need a library for, since it would probably be only a couple dozen lines of code. – svick Nov 25 '17 at 15:09
  • Ah, I was looking through someones C++ project and they used OpenCV to do what I want to do and thought I needed something similar. If I could do it without fancy addons that is always a plus! – No Surprise Nov 25 '17 at 17:46
  • Check out the linux program motion and its source (C++ IIRC), you may be able to use some of it, just follow the GPL – ivanivan Jan 15 '18 at 0:06
0

I work for LEADTOOLS and our SDKs might help you (if you have the budget for this). We have .NET classes for video capture and image processing, among other things.

Live chat and email support are free, so you could simply send some images to support@leadtools.com and explain what you need done. If you do contact support, please provide full details about the specific part or parts of the project you need help with. For example, if you already covered the video capture part, you won't need our multimedia toolkit, so we can focus on helping you with the image processing (color analysis) part.

You could also download the free evaluation edition and try for yourself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.