Hi @gkomix,
I’m glad to hear you got the video file working.
The VM Ubuntu OS detected the webcam and shown /dev/Video0 and /dev/Video1. I tested with cheese webcam software and it can display the webcam view. However, when I try to add the webcam stream using brainframe-client, it failed. The following is the screenshot. Is the client can work with webcam connect thru VM?
That’s interesting! One thing about BrainFrame is that it checks available webcams on startup only (or rather, docker does…). Could you do the following to debug this issue?
- Stop BrainFrame via
brainframe compose down
- plug in your webcams
- check with cheese that they are working
- Start BrainFrame via
brainframe compose up
- Try adding the webcams again via the client
I added two video files (vehicles passing on the road) streams using brainframe-client and it can be loaded and play the videos. I tried to add capsules (CPU only) such as
- Tracker Vehicle Iou
- Classifier Vehicle Color Openvino
- Calculator Object Speed
However, there are no detection and tracking shown. I also tried to add a line but nothing happened. Refer the picture below. Could you recommend the settings to make it work? Thanks.
This is an issue of capsule configuration. For more information read this post for more information.
To fix this issue, you need to load capsules that are capable of detecting vehicles. The Tracker Vehicle
can only track vehicles, not detect them. The Classifier Vehicle Color
can only classify the color of a vehicle, not detect vehicles.
Here’s a capsule configuration that will work:
- Tracker Vehicle Iou
- Classifier Vehicle Color Openvino
- Calculator Object Speed
- Detector Person Vehicle Bike Openvino ← This will enable BrainFrame to find Vehicle bounding boxes