Here's what I am trying to do. I have a "PowerUp" script, where on power up,  InMoov looks around the room, with the camera on. I want to have it automatically  record the images  (video) of what it sees.

Any suggestions on how to accomplish this?

kmcgerald

10 years 2 months ago

I like where this is going. If Grog doesn't beat me to it, I'll poke around and see if I can find it.

 

Probably something like

i01.eye.startRecord();

move head around ...

i01.eye.stopRecord();

 

ok I started an OpenCV service in the GUI and then I clicked on the input box in the GUI tab.

I see recordOutput(Boolean) and stopRecording(String) so if I had to guess you could call recordOutput(True) to get it started and then stopRecording(filename) to get it to stop and save the output to that file(?) but I'm just guessing as to the purpose of the String.

bhouston

10 years 2 months ago

My script so far is:

track()     (this turns the camera on)

lookaround()    (it turns it's head left to right a couple of times)

stopTracking()   (turns the B &W Tracking image off ( but then it goes to the full color image)

I am going to add the "offcamera" command to shut off the camera