One of the reasons I am capturing images on a raspberry pi because the trigger is performed based on a distance sensor that is connected to it. My intention is to build a dataset that only captures when the subject is between x and y cms from the sensor. However, there may be more than one camera. So my intention would be to reduce the load on the PC as you mentioned.
At first I tried using the raspberry pi along with the sdk, but when rectifying the images, I got a CUDA related error. As far as I know it is because the pi does not have CUDA. For that reason, I tried disabling CUDA in the Tree through CUDA > Available. Still, when doing exception.get_command_error_symbol() I got back “CUDA” as a response. If I can fix this error, it may solve my issues as well, because I may be able to process camera information in its respective pi.
Because I got this error I tried capturing the raw images on the pi, and processing it in the PC to take advantage of the 3D reconstruction features from the sdk, because it would be easier to implement and the results would likely be better. However, I cannot write the images to [ITM_IMAGES][ITM_RAW][ITM…].
The file camera, I think, would only allow me to capture that one image from the ensparam file, which would require that I am constantly importing loading new camera parameters into the program
If I was able to fix the CUDA issue, I would be able to test one approach, but more interesting would be to understand when would it be more efficient to process everything in the PC instead of having the pi’s doing all the work and just sending the final result to the PC.
Hopefully this makes sense to you, if it does not please call me out. If you usually recommend approaching things differently, which is likely, I would be glad to hear it.
Thank you for your time.
Just as a side note, I am starting to get somewhere using opencv, but I am clearly doing something wrong as well, but it is nothing related to ensenso’s hw or sw so I won’t bother you with it.