loading
 
Blob selection with mouse
from Australia  [87 posts]
10 years
Hi,

I would like to track a blob on the screen. But I would like to choose which of the blobs to track, since it cannot be done automatically with image processing.

So, I can choose blob's current location by click on it with a mouse (this works well), and it gives me the (x,y) position. Is there a way to use the (x,y) location, for RoboRealm to start tracking this specific blob?

In short: Manually specify the blob's current location so that it can start tracking it.

Cheers for trying to help,
Nemanya
Anonymous 10 years
Nemanya,

Given the new MOUSE variables this is now possible. Basically you use the blob filter to remove all objects except for the nearest one to where you just clicked using the mouse. Once a blob is detected you update the variable to its COG and then use the blob_filter to filter on that going forward. It is a lot easier to do than it sounds. Basically the below script will track a random red object until you click on a red object in the image. It will then track that object until you click on another.

I think that was what you were trying to do??

Enjoy,

STeven.

Note, this new functionality is not out just yet as the update is coming in a couple hours (Mon morning).
program.robo
from Australia  [87 posts] 10 years
That sounds exactly like what I was trying to do. I havent's checked it out yet, but it sounds great.

Steven, you're the man!

Cheers,
Nemanya
Anonymous 10 years
Good to hear!

Note we just uploaded the newest version. If you download again you can try the robo-file above.

STeven.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index