Running headless, so i dont think argus_camera will work?
I’m a pretty new programmer, I only know python. I’m more of a tinkerer so there may be obvious solutions I’m missing or things i flat out have conceptually wrong. I’m a manager at a small plant and I’m just trying to do this as a side project to help catch QC issues. It’s actually kind of working on a raspi right now, just running slowly.
It’s basically a parts inspection camera. Takes a picture of an object normal to the object, then run image classification against that picture to look for known defects.
I’m trying to do this with pictures vs video, because first off at this stage it’s easier for me to conceptualize. Also I imagine it’s more efficient to work with images, why waste processing power trying to analyze a part that’s not in position? I also want to save the analyzed image for later review, to feed back to the CNN for more training, etc.
I think i have an acceptable solution that i found late last night. Using opencv with the gst pipeline, and just leaving the capture open, instead of releasing the camera after each image. image capture time is now .05-.1 of a second. Only thing i’m not sure of is if opencv keeps a buffer that I have to worry about getting images that are lagging behind? The buffer is an issue i ran into previously on the pi with my uvc camera that i had to work around.