loading
 
Using variables to load specific files
Anonymous from United States  [4 posts]
9 year
I'm using the Object Recognition Module. Once my object is detected, I want to be able to open the same detected image, originally used in training the module, for further analysis. It seems like I ought to be able to use the "Load Image" module with a variable to accomplish this. There is an "OBJECT_FILENAME" variable, but that doesn't give a complete path to the template image. Can anyone tell me how to accomplish this?
Steven Gentner from United States  [1446 posts] 9 year
Have you tried to reconstruct the path using something like

['c:\Known\Path\To\Training'+OBJECT_FILENAME]

and place that in the LoadImage module? You will need the latest RR version for this to work ... otherwise you can use one of the scripting modules to create this variable.

See attached.

STeven.
program.robo
Anonymous 9 year
The first method works great; thanks for the helpful example!

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