Hi @fahiar10, it isn’t due to a blockage in feature availability, but rather due to the image shape being passed to roboflow.js
– as you see in the error log, the expected shape is [1, 3, 640, 640]
, but it is being passed in as [1, 640, 640, 3]
-
[1, 3, 640, 640]
- refers to: 1 image or video frame, with 3 channels (R, G and B), at a size of 640 width and 640 height
I’ll add this to our current bug report for the team.
In the meantime, if you use a Roboflow Train credit to train a model version, roboflow.js
will work for you.
Another option is to use one of the scripts I have here in this repository to run inference: https://github.com/roboflow/computer-vision-utilities
Here is the video inference script for object detection: