nimble00 / PTGREY-cameras-with-python

These files explain how to use 'ptgrey' cameras with python. I felt the need to make this because there is not even an introductory code (to take a picture using ptgrey cameras) available on internet. take_a_photo.py is the basic code people usually need but I have added links to a few possibly helpful websites.
61 stars 19 forks source link

Error: Spinnaker: Failed waiting for EventData on NEW_BUFFER_DATA event. [-1011] Error: Spinnaker: Can't de-initialize camera. Camera is still streaming. [-1004] Camera 0 example complete... #8

Open Tfyourhelp opened 1 year ago

Tfyourhelp commented 1 year ago

i tried to terminate camera but got this error . Can somebody help me reason why this error occurs:

File "d:\t∙m lum\python\cRafft\craftcrnnngui5\camera\configgg.py", line 337, in deinit_camera system.ReleaseInstance() File "C:\Users\DELL\anaconda3\envs\pii37\lib\site-packages\PySpin\PySpin.py", line 35807, in ReleaseInstance return _PySpin._SWIG_SysPtr_ReleaseInstance(self) _PySpin.SpinnakerException: Spinnaker: Can't clear a camera because something still holds a reference to the camera [-1004]