Watson Text To Speech icon Watson Text To Speech — Human-like audio via IBM Watson Text-to-Speech: multi-language, selectable voices for accessibility and automated interactions. IBM Cloud required. Try it →

ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

#1  

I believe that ARC uses AForge.NET for this. AForge is a C# implementation of OpenCV.

I would have the student build an ARC skill plugin using AForge (the DLL is included in the ARC install) demonstrating color recognition. There should be plenty of examples online for the student to follow. By making a plugin, JD would be able to use this to demonstrate the code.

https://www.google.com/search?q=aforge+color+recognition&oq=aforge+color+recognition&aqs=chrome..69i57.7135j0j4&sourceid=chrome&ie=UTF-8

Sample code for download https://www.dropbox.com/s/vz6n7f4d9og5cau/Color%20Detection%20Using%20AForge.NET.zip?dl=0

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#2  

A forge is not used for color tracking - only the blob function. Rather than writing our own, I'm a huge fan of the work from Andrew.

The algorithm is pretty straight forward. Loop through the image memory and count the blobs of colors:)

Even though aforge isn't used for the algorithm. There's a lot of information in aforge website for color filtering etc... I would focus on that.

Author Avatar
South Africa
#3  

Thank you!