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

Execution never terminates #3

Open
VolodymyrBiryuk opened this issue Nov 20, 2019 · 2 comments
Open

Execution never terminates #3

VolodymyrBiryuk opened this issue Nov 20, 2019 · 2 comments

Comments

@VolodymyrBiryuk
Copy link

After I execute this command everything works fine, the output is generated but the execution never terminates, gets stuck at generating chart and I have to kill it manually:

pi@raspberrypi:~/RPiSpectrometer-master $ python3 spectrometer.py ./results/test 30000
initialising camera
allowing camera to warmup
capturing image
locating aperture
analysing image
ideal exposure between 0.15 and 0.30
exposure= 1.3442304921653898
consider reducing shutter time
exporting CSV
generating chart
@hiramvillarreal
Copy link

It seems there is an issue with long exposures on the latest raspbian, I found a workaround by setting the framerate back up to 1 before calling camera.close()
camera.framerate = 1

@handyfreak
Copy link

Great! It worked for me.

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

3 participants