leob wrote:
I am making a simple Photo Booth app for a Raspberry pi, and am running into some problems with using ofImage.saveFile. At the point where I write the image to disk, the app always freezes for about 10 seconds, presumably because the computer is overwhelmed with the task of saving to the SD card.
I am using the ofxRPiCameraVideoGrabber addon and the raspberry pi camera board.The image to be saved is 1280x720, and saving a smaller image does reduce the freeze time, but it still seems like I might be doing something wrong? Surely writing a 200px x 200px image to disk shouldn’t cause a 4 second freeze? Moving the saveFile command to different places in the code doesn’t seem to affect anything either.
I am very new to Openframeworks, so I wondered if there might be some tricks to managing this kind of thing? I’ve put the project as it is on Github in case anyone has any brainwaves - Any suggestions would be gratefully received.
Thanks!
Posts: 2
Participants: 2