stereolabs / zed-opencv

ZED SDK interface sample for OpenCV
https://www.stereolabs.com/docs/opencv/
MIT License
137 stars 79 forks source link

enableRecording throws access violation error #26

Closed ShacharWeis closed 2 years ago

ShacharWeis commented 7 years ago

Hey all,

I can't get recording to work. I follow the sample, create a camera, init it, and when I call enableRecording it always throws an Access Violation error.

Any ideas?

obraun-sl commented 7 years ago

Hi,

Can you indicate the ZED SDK version you are using?

Best, OB.

ShacharWeis commented 7 years ago

I am using 1.2.0

I have found that it only crashes when compiled with "Debug". With "Release" it works.

ShacharWeis commented 7 years ago

Everything about record and playback is broken in DEBUG. Calling m_camera->getSVONumberOfFrames() returns the correct value in RELEASE, but in DEBUG it returns a large negative value.

obraun-sl commented 7 years ago

You need to use Release mode in Windows when using SVO files in the 1.2. This limitation has been solved in upcoming release.

OB

ShacharWeis commented 7 years ago

Thanks. Do you know when the upcoming release is?

I am writing some complex algorithms, and I need to test them on known and unchanging input (hence, a recording) and I really need the DEBUG mode.

jgirado commented 7 years ago

Hi,

I have the exact same problem, enableRecording() crashing in Debug mode (VS 2015). I'm using SDK 2.0.0 downloaded a week ago). I can't debug my code because because of this. Any plans to fix it?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days