summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.cpp
AgeCommit message (Collapse)Author
2019-01-16compat/mutex: removeStanislaw Halik
Always use the adaptive QMutex.
2019-01-16tracker/{pt,wii}: allow float/double in cv/numericStanislaw Halik
2019-01-16cruftStanislaw Halik
2019-01-16tracker/pt: cleanup, declarations, lock scopeStanislaw Halik
2019-01-16compat/spinlock: implement and use itStanislaw Halik
2019-01-16clang-tidy fixes onlyStanislaw Halik
Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever.
2018-12-24tracker/pt: don't hang the app on camera startStanislaw Halik
Move camera open to worker thread.
2018-08-04tracker/pt: fix center with dynamic pose setStanislaw Halik
It was necessary to center _twice_ in order to reset dynamic pose. Put a spinlock around the code.
2018-06-26tracker/pt: remove long-dead codeStanislaw Halik
2018-06-26tracker/{pt,aruco}: change cv::setNumThreads call siteStanislaw Halik
2018-06-26core, modules: modernize syntax onlyStanislaw Halik
Use more C++17 features where this helps any.
2018-02-16tracker/{pt,wii}: simplify apiStanislaw Halik
Remove useless abstract member functions, simplify some. Issue: #718
2018-01-21tracker/pt-base: add static pt_camera_info::get_focal_lengthStanislaw Halik
For the Wiimote tracker. Adjust usages in tracker/pt. Issue: #718
2018-01-16cv/video-frame, tracker/pt: add hidpi preview supportStanislaw Halik
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: allow for reuseStanislaw Halik
Issue: #718 This allows for replacing the camera and point extractor code. See `module.cpp' and `pt-api.hpp`.
2018-01-10tracker/pt: cleanupStanislaw Halik
2018-01-10tracker/pt: reset dynamic pose on centerStanislaw Halik
2017-12-04api: add status check for modulesStanislaw Halik
2017-12-02tracker/{pt,aruco}: oops, disable multi threading rightStanislaw Halik
2017-10-29static constexpr -> constexprStanislaw Halik
2017-10-22tracker/pt: return focal length directlyStanislaw Halik
2017-10-08tracker/pt: edit dead codeStanislaw Halik
2017-09-22pointless to use likely macroStanislaw Halik
The operation is so many cycles, branch prediction doesn't matter here.
2017-08-19tracker/{pt,aruco}: simplifyStanislaw Halik
2017-07-16compat/math-imports: use itStanislaw Halik
2017-07-07tracker/pt: don't return zero pose on failureStanislaw Halik
Issue: #644
2017-06-30tracker/pt: reformat lightlyStanislaw Halik
2017-06-19tracker/{pt,aruco}: don't allow opencv unwind on assertStanislaw Halik
It's gonna purposefully dereference a zero pointer to cause a crash without unwinding.
2017-06-12tracker/pt: cleanupStanislaw Halik
Also, changing "f" typedef to "float" won't break the build anymore.
2017-06-10minor cleanup onlyStanislaw Halik
2017-04-18tracker/pt: make calibrated cross yellowStanislaw Halik
Otherwise it's not visible enough with red-only image.
2017-03-20tracker/pt: rename slotStanislaw 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-08tracker/pt: fix compile on GCC 4.9.xStanislaw Halik
"color" is declared in the same block anyway. Issue: #569
2017-03-03tracker/pt: show average point radius on the displayopentrack-2.3.1_fix3Stanislaw Halik
Helps with choosing automatic threshold slider position.
2017-03-01tracker/pt: don't crash in cv::resizeStanislaw Halik
next hotfix or bust
2017-02-21tracker/pt: fix clang type conversion errorStanislaw Halik
2017-02-21tracker/pt: resize the camera feed, not the previewStanislaw Halik
This makes the point size text and point crosses not alias due to the resize. Due to nice pixel coordinate system, the cross-drawing lambda only needs minimal changes.
2016-12-30tracker/pt: fix warn_unused_resultStanislaw Halik
2016-12-28tracker/pt: hold mutex over camera in dtor just to be 100% safeStanislaw Halik
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-10tracker/pt: make overlay look more of the same on 320x240 as 640x480Stanislaw Halik
2016-12-09tracker/pt: show right overlay wrt frame sizeStanislaw Halik
2016-12-08tracker/pt: use correct focal length formulaStanislaw Halik
the formula works with ps3 eye zoom modes
2016-12-08tracker/pt: fix camera Hz always the default valueStanislaw Halik
2016-12-03tracker/{aruco,pt}: use RAII for QObjectStanislaw Halik
2016-11-23tracker/pt: add failed focal length formulaStanislaw Halik
2016-11-04modules: make names uniqueStanislaw Halik