diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-10 16:05:50 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-10 16:05:50 +0100 |
commit | 4ac10163398f1cd402c7f8461ff478aadab5fe8e (patch) | |
tree | 4cb6b24df5523a8b099efc52b4b27cc56c1848ff /ftnoir_tracker_aruco | |
parent | 4b3064c63cd9fa112c3700d9e97d6571ff5ad044 (diff) |
aruco: explicitly release camera to aid macosx brain damage
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_tracker_aruco')
-rw-r--r-- | ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp index e063be62..b1b58dec 100644 --- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp +++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp @@ -364,6 +364,10 @@ start: if (frame.rows > 0) videoWidget->update_image(frame); } + + camera->release(); + camera.release(); + camera = nullptr; } bool Tracker::GiveHeadPoseData(double *data) |