Japan
Asked

The Camera Suddenly Disconnected

User-inserted image

Hello, I am having an annoying error with the camera. I was using with the identification for the camera when suddenly an error occurred, the camera disconnected suddenly: Camera Initialized: EZB://192.168.1.1 @ 320x240 Error Camera.SetCaptureImage: System.InvalidOperationException: Object is currently in use elsewhere. at System.Drawing.Image.get_Width() at EZ_B.Camera.x5wORRJh49(Object ) Camera Disabled Camera Initialized: EZB://192.168.1.1 @ 320x240 EZ-B v4 Camera Error: System.Exception: Client disconnected at EZ_B.EZBv4Video.DwiGDUj2lU(Int32 , Object ) Camera Disabled I connected it 3 times and got that error again. Hope someone can help me? Thank you very much!


Related Hardware EZ-B v4
Related Control Camera Device

ARC Pro

Upgrade to ARC Pro

Unlock the true power of automation and robotics by becoming a proud subscriber of Synthiam ARC Pro.

PRO
Synthiam
#9   — Edited

A few things to note...

In the camera control "Tracking Start" script. You have "WAIT FOR FACE". The tracking start script is when the tracking has already been detected. You don't wait for anything inside that script. Remove WAIT FOR FACE. There's some great educational programming lessons at ez-robot. Here's a link: https://synthiam.com/Tutorials/

There's some good tutorials on how to detect faces and such.

The same applies with Speech Recognition. You've also added a bunch of WAIT FOR in the speech recognition. If you're wanting to detect a face. Simply enable face tracking. Don't WAIT FOR anything.