summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/camera.cpp
AgeCommit message (Collapse)Author
2018-01-13tracker/pt: workaround unexplained leakStanislaw Halik
Somehow, using unique_ptr causes a leak at destruct time. The stored pointer isn't freed. It works perfectly fine with shared_ptr. It seems I'm doing things correctly with a move constructor for unique_ptr in the Tracker_PT class, as well as the pointer initialization ctor in `module.cpp'. Who the hell knows what's happening behind the scenes.
2018-01-12tracker/pt: isolate point extractor and image typeStanislaw Halik
Issue: #718
2018-01-11tracker/pt: also pass module name to camera classStanislaw Halik
2018-01-11tracker/pt: allow for reuseStanislaw Halik
Issue: #718 This allows for replacing the camera and point extractor code. See `module.cpp' and `pt-api.hpp`.
2017-12-02compat/macros: rename obnoxious macroStanislaw Halik
2017-10-29static constexpr -> constexprStanislaw Halik
2017-10-22tracker/pt: return focal length directlyStanislaw Halik
2017-09-22cv: use amcap.exe for ps3 eye exposure settingsStanislaw Halik
2017-07-16compat/math-imports: use itStanislaw Halik
2017-06-10minor cleanup onlyStanislaw Halik
2017-03-20tracker/pt: camera changesStanislaw Halik
- move dt handling here, from ITracker impl - don't depend on other PT headers. we'd like to reuse the code. - adjust return value convention. - get rid of dt_valid - return fps as a double Adjust usages in ITracker impl and dialog.
2017-03-15tracker/pt: fix logic error in camera reopenStanislaw Halik
- cap->isOpened() got its return value flipped in the conditional. - the stop(); return false block was in the wrong place
2017-03-01tracker/pt: simplify camera frame retry logicStanislaw Halik
2017-02-22tracker/pt: don't busy loop when trying to get a frameStanislaw Halik
Reported-by: @MathijsG Issue: #552
2016-12-16tracker/pt: refactor camera info handlingStanislaw Halik
- Pass `struct CamInfo' rather than several elements separately - Reformat - Return `struct CamInfo' together with the frame since then it's always valid - Move the focal length formula into `struct CamInfo' - Remove incorrect focal length formula rather than #if 0 - Pass some stuff by reference and not by pointer
2016-12-08tracker/pt: fix camera Hz always the default valueStanislaw Halik
2016-12-03tracker/pt: simplify pointless inheritanceStanislaw Halik
2016-10-19compat, tracker/pt: add warn_unused_result compat macroStanislaw Halik
2016-10-19tracker/pt: don't delay camera stop artificiallyStanislaw Halik
If the filter crashes on quick stop/start it's not our fault.
2016-08-14tracker/pt: all callers are double, so float -> doubleStanislaw Halik
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-08-01tracker/pt: add rounding to camera HzStanislaw Halik
2016-07-31tracker/{pt,aruco}: don't include opencv highgui, videoio is enoughStanislaw Halik
2016-07-19tracker/pt: reduce lockingStanislaw Halik
2016-06-09tracker/pt: only reset camera input when neededStanislaw Halik
2016-05-13many: remove unneeded implicit type conversion double <-> floatStanislaw Halik
2015-12-19tracker/pt: don't allocate temporary frameStanislaw Halik
2015-12-18tracker/pt: move ctor out of the loopStanislaw Halik
2015-10-30move to subdirectory-based build systemStanislaw Halik
Closes #224