Author
Topic: Vision with RoboRealm (Read 5169 times)

So, I have basically decided on using RoboRealm as the vision pre-processor for MicroRaptor. They have some very cool stuff built in, including the Sobel edge filter, which I used to make this short video:

For people who have used NXT, what does comminicating using a mailbox mean?

Does this mean, say if you prohrammed the NXT using Java instead of LabVIEW (the programming environment that comes with the NXT), then send some commands based on the outcomes of the webcam, then would this still work? After the mailboxing, then can you 'close' the mailbox, effectively, letting the robot continue with its own program?

Logged

"The truth is, you can't hide from the truth, cos the truth is all there is" - Handsome Boy Modeling School

my method (see included black and white image, blob_find2.png) gets rid of 99% of the noise and is very robust, meaning i dont need to tweak it for it to work. but for some odd reason, the center of mass module only tracks the blob when it covers 80%+ of the space. otherwise it just hangs in some random location . . .

so i redid it using the roborealm method (see black and red image). the center of mass then works, but that method doesnt get rid of all the noise, making the center of mass mostly wrong.

ill email the guy . . .

oh, and the image is me moving a red object around in my kitchen . . .

edit:so i read the documentation some more, and found this:"Note that based on the way this COG is calculated brighter pixels will exert more pull on the final COG location than darker pixels."so applying the negative to the image, the center of mass works better, but still is way off too much. (see blob_find3.png)

ok I did it your way and it works . . . but it was still noisy and often jumped. it also didnt always track the whole object, but just part of it, leaving error.

turns out my method works much better if i just added a blob filter and image blur to it, and now I got it working 100% with not a single jump - not even when the object goes out of the screen. it also tracks the whole object and not just part of it.