openflexure_microscope_software icon indicating copy to clipboard operation
openflexure_microscope_software copied to clipboard

Recalibrate problem

Open dgalland opened this issue 7 years ago • 2 comments

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

dgalland avatar Oct 31 '18 20:10 dgalland

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

rwb27 avatar Nov 01 '18 11:11 rwb27

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

dgalland avatar Nov 01 '18 15:11 dgalland