Blinkm icon Blinkm — BlinkM I2C multi-color LED control with slide dials for custom colors; supports SendI2C for custom I2C peripherals. Third-party device. 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

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

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