Recalibrate problem
I installed openflexure_microscope and your modified version of picamera.with some difficulty because with Python3. After that openflexure_microscope --no_stage works without problem Now I'm trying --recalibrate, the prewiew starts but I have an exception: picamera.exc.PiCameraMMALError: Failed to enable connection: Out of memory coming from get_rgb_image and rgb_image Do you have an idea ? Regards and thank you for your lens shading correction improvement, absolutely essential. Dominique
Hi Dominique, glad it's useful! Have you increased the GPU memory split to at least 256Mb? Lots of problems using the camera are because of that (I should probably update the instructions). Also, if you happened to keep a record of what you did to get it working in Python 3, it would be great if you could mention that in an issue so I can fix my readme, etc, - I'm only gradually switching to Python 3 and so most of my instructions work better on Py2.
Richard
Thank you for your answer, yes that was it! It works after increasing gpu_mem Increase gpu_mem in /boot/config.txt sudo nano /boot/config.txt gpu_mem=256 Dominique