Screen Recorder icon Screen Recorder — Record your screen to WMV1/WMV2/H263P files with selectable bitrate, save-folder and start/stop controls, creating tutorial or demo video snippets. Try it →
Asked — Edited
2 Participants
Camera tracking glitch with all cameras

Camera Tracking Glitch With All Cameras

I noticed lately when I use the Camera, tracking only last "one" time, whether it is face, color or whatever.

How can I deleted the camera and re-install it?

EzAng



Related Hardware (view all EZB hardware)
EZ-B V4 by EZ-Robot
EZ-B v4 with Synthiam ARCx controls servos, sensors, camera and audio over Wi-Fi or USB serial, no firmware needed.
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

Author Avatar
PRO
USA
#10   — Edited

Ptp, I re-arranged the code, now it works when it sees me and stay there for another round of seeing me again and again -  color or face

User-inserted image

User-inserted image

still my Blockly code some controls appears and the next time it is gone like set isFaceTracking, , go figure :-)

tracking color

User-inserted image

In Java:

setVar("$CameraTrackingType", 0);

if (getVar("$CameraTrackingType") == 1) {

// Wait until the camera detects the specified color controlCommand("Camera", "CameraMovementTrackDisable"); controlCommand("Camera", "CameraUseTrackingScripts", false); controlCommand("Camera", "CameraColorTracking", "Red"); while (getVar("$CameraIsTracking") == 0); controlCommand("Camera", "CameraDisableTracking"); controlCommand("Camera", "CameraUseTrackingScripts", true);

}

if (getVar("$CameraTrackingType") == 1) {

controlCommand("Camera", "CameraColorTrackingEnable");

}

Audio.sayWait("I see red");

or 

User-inserted image

I guess simple is not so simple today :-)

be well,

thanks EzAng