Virtual Reality Robot icon Virtual Reality Robot — Stream robot camera to VR and control servos with headset pitch/yaw; supports SteamVR and Cardboard (iOS/Android) for immersive teleoperation Try it →

ARC Pro

Upgrade to ARC Pro

Take control of your robot's destiny by subscribing to Synthiam ARC Pro, and watch it evolve into a versatile and responsive machine.

#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!