Python capture does not work with VEYE IMX462
-
Hi, I receive following error message when trying to call D_Capture method from python program on VEYE IMX 462
mmal: mmal_port_connect: port 0x19120a0 is already connected
mmal: mmal_connection_create: connection could not be made
mmal: D_capture: Failed to connect camera video port to encoder input
Segmentation FaultPreview works fine. I have tried several output formats I422, JPEG
Following is my python code :
buffer_array = self._camera.capture(encoding = 'jpeg')
buffer_array.as_array.tofile(filename)
self._camera.release_buffer(buffer_array)
del buffer_array -
Just to add some more informations, is it possible to capture while preview is displaying with the libdmipicam library or do I need to stop preview before capture ?
-
Ok just found the problem, need to stop_preview, make the capture then start_preview, as there is no port split on libdmipicam !
-
@watchever
You are right.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login