Add camera stream #30
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Don't know if the doods connections are generally going to be good enough to run on a stream, but this is an end goal eventually.
Not sure this is even feasible with cordova. Pytorch example already has the built-it camera demo, but that's local video, not streaming to an external server.
Perhaps something like this can be used to at least simulate what I'm looking for (especially when combined with a websocket connection).
https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview
At the very least, this can probably be used to show the image capture right in the detect screen instead of a new view.
This is a bust: it doesn't seem to work at all on the browsers. If this is going to happen I may need separate browser and app methods.
#116 Now makes this significantly more likely (at least in the PWA deployment). The biggest hurdle now, I think, is the speed of the local detection.
I think this is no longer a separate feature. I've been trying to resolve how to make this work without making a really ugly, too cluttered video frame. The answer is that it is integrated into the camera image capture (again, on the PWA, I don't know if this can be done with cordova or not, given how that camera access works). When the camera is running and ready to capture, the video feed can be processed and with little post-processing, any structure over a certain threshold (80% ?) will just be indicated by a dot at the structures center point. No, recalculating bounding boxes, no NMS, just one quick reshape and filter.
The hard part might even be done already depending on this:
https://js.tensorflow.org/api/latest/#data.webcam