Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recalibrate problem #10

Open
dgalland opened this issue Oct 31, 2018 · 2 comments
Open

Recalibrate problem #10

dgalland opened this issue Oct 31, 2018 · 2 comments
Assignees

Comments

@dgalland
Copy link

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

@rwb27
Copy link
Owner

rwb27 commented Nov 1, 2018

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 rwb27 self-assigned this Nov 1, 2018
@dgalland
Copy link
Author

dgalland commented Nov 1, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants