#webcam worked, then stopped after installing uform-vision

1 messages · Page 1 of 1 (latest)

dense garden
#

The webcam was working fine as a single service (usb generic webcam) but after installing uform-vision I started getting the error error robot_server.rdk:component:camera/webcam1   resource/graph_node.go:230   resource build error: failed to find camera: cannot open webcam: failed to find the best driver that fits the constraints   resource rdk:component:camera/webcam1   model rdk:builtin:webcam

I tried to delete and reinstall the webcam but the error peristed so I deleted the uform-vision service but the error still persisted.

In the cached config, I noticed that the following was still in the config after removing uform-vision and restarting viam-server.

  "packages": [
    {
      "name": "m_viam-labs_uform-vision",
      "package": "6efeb7e5-91aa-4187-8ed3-e84764726078/uform-vision",
      "version": "0.0.1-any",
      "type": "module"
    }
  ],

After deleting that, it worked OK again. I am going to try to get uform-vision running via the API, and not set the camera as a dependency, more soon.

agile wagon
#

Interesting! Offhand I don't know why that would be the case, but I'll try to find some time to test and diagnose later today.

dense garden
#

No problem at the moment, I ran the uform.get_classifications(camera_image) and got an accurate if unflattering result 😄

The image depicts an older man seated in an office setting. He is wearing glasses and has a headset on his head. The man is wearing a gray shirt and appears to be engaged in some activity. Behind him, there\'s a whiteboard with various posters and notes attached to it. On the desk next to the man, there\'s a cell phone and a computer monitor. The office has a wooden desk and a whiteboard on the wall.