'Error initializing camera board.'
Mostrar comentarios más antiguos
Hello Guys, I was running a simple image capturing code using raspberry Pi and Pi Camera with Matlab R2017a. This is the code:-
mypi = raspi; cam = cameraboard(mypi,'Resolution','1280x720') for i = 1:10 img = snapshot(cam); imagesc(img); end
The above code worked very well when I ran it for the first time after establishing the connection with raspberry pie and the camera captured an image. But whenever I run the code for the second with the same connection then I get the error as 'Error initializing camera board'. Can anyone help me with me this? I need to capture multiple images without disconnecting the Raspberry Pie in between them. It will be really helpful. Thanks. PS:- I checked all the connections and they are fine. But the code still gives the same error.
Respuestas (0)
Categorías
Más información sobre Raspberry Pi Hardware en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!