-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Work with pi camer? #3
Comments
can you rephrase your question please? |
Hi there sorry, i didint realise it was in just 3d printing direcory, for the obico one i see you say esp but nothing about raspberry pi. i just wanted to know if its compatable with a raspberry pi many thanks |
You would have to expose rpi camera snapshot as static image over the web (there are many ways how to do it), that would be the best option. Using camera device directly would require more code adjustments (using python picamera), but because it would require using camera directly via python it may interfere with other tools - so I'm not going to do it. |
I think the easiest would be to run some process which would expose rpi camera as snapshot and then use that endpoint to fetch image. |
if you mean you want to use ml_api on the rpi and do detections on the image fetched directly from the camera, then no, right now this is not possible and it would require much more work:
For now this is just too much work so I'm not planning to do it. |
try https://github.com/nvtkaszpir/3d-print/tree/main/picamera-web as an endpoint exposing pi camera image over the web |
Thank you. I didint think it would work with the pi thats why i asked |
what I tested: Running picamera-web on rpi and obico and scripts on another host
Testing it directly on rpi4 on 64bit Debian 12, where 192.168.1.50 is the IP address of the raspberry pi:
it detected failed area with confidence 0.119 (11.9%) - mainly because I have there some dummy spaghetti in front of camera :) So it works but is slow. |
also, obico-ml-api-only was not tested with video streams (I doudb it would work), so you would have to make a new service to expose single camera image from a stream so that obico ml api could fetch it and process it. |
Hi there does this work with araspberry pi also this uses obicos api to ai detect ont he camera stream right.
Manu thanks
The text was updated successfully, but these errors were encountered: