Closed oriagranat9 closed 4 years ago
No, this won't work. Images are passed internally to the library between sources and sinks, and that only works within a single process. You're going to have to send the images to the subprocess yourself (e.g. via a pipe).
@oriagranat9 what are you trying to accomplish? If you're trying to run this code on a roborio, see the documentation at https://robotpy.readthedocs.io/en/stable/vision/roborio.html
no im trying to run this on my computer in and to process each camera in parallel
If you create your camera objects inside the camera_process
function, it should work.
Closed due to age.
while trying to run a usb cam in a process and grabbing its frames the value of the image is 0