0

I have a script that continuously takes small pictures and compares the green channel, but when getting the 2nd picture it throws Segmentation fault. http://pastebin.com/CaUhSdP6 (line 37)

1
  • 1
    Please create a minimal, verifiable example and include it in the question.
    – techraf
    Feb 6 '17 at 2:18
-1

Fixed it by not performing the snap in separate function, moved it to motion_sensing_loop(..)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.