summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
AgeCommit message (Collapse)Author
2017-07-07tracker/pt: reduce LED deadzoneStanislaw Halik
It qualifies far less often now, but will likely reduce jerkiness.
2017-07-07tracker/pt: don't return zero pose on failureStanislaw Halik
Issue: #644
2017-07-06cv/calibrator: return distinct sample count for all DOFStanislaw Halik
2017-06-30tracker/pt: reformat lightlyStanislaw Halik
2017-06-22tracker/pt: replace point extraction algorithmStanislaw Halik
Profiling over a longer time period showed a bottleneck while iterating pixels with `cv::floodFill()'. Contours are actually faster, and we have MeanShift to establish the proper center basing on pixel intensities.
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-19tracker/{aruco,pt}: convert camera image with BGR weightsStanislaw Halik
We were using the wrong weights for all the years. Fuck me.
2017-06-18tracker/pt: maybe prevent reflowStanislaw Halik
2017-06-18get rid of "volatile" abuseStanislaw Halik
We heavily used "volatile bool" to check if the thread loop should stop. But this functionality is already provided by Qt5's QThread::requestInterruption. In other cases, "volatile" is wonderfully underspecified so it's better to ditch its usage in favor of std::atomic<t>. At the time we don't appear to be using the "volatile" keyword except when calling win32's Interlocked*() family of functions as necessary. In freetrackclient's header the "volatile" qualifier was used as part of a typedef. This doesn't work. Use it as part of data declaration.
2017-06-18tracker/pt: tweak meanshift cpu usageStanislaw Halik
2017-06-18tracker/pt: adjust after sqrtStanislaw Halik
2017-06-18tracker/pt: fix broken commitStanislaw Halik
Already pushed, damn
2017-06-18tracker/pt: use last pose when not differentStanislaw Halik
We allow for max of less than a pixel skew of all the points.
2017-06-18Added translations for Calibration-moduleAlexander Orokhovatskiy
2017-06-12tracker/pt: cleanupStanislaw Halik
Also, changing "f" typedef to "float" won't break the build anymore.
2017-06-12tracker/pt: fix LED radius offsetStanislaw Halik
2017-06-11tracker/pt: show detected blobs as circlesStanislaw Halik
2017-06-10minor cleanup onlyStanislaw Halik
2017-04-18many: use std::f{max,min} for floating-point valuesStanislaw Halik
2017-04-18tracker/pt: revert extractor changeStanislaw Halik
2017-04-18tracker/pt: make calibrated cross yellowStanislaw Halik
Otherwise it's not visible enough with red-only image.
2017-04-18tracker/pt: replace original blob center search with meanshiftStanislaw Halik
The functions are almost identical so why not. I removed several bits: - weighting by squared pixel value is bad. weight by pixel value instead. - making the ROI twice as big doesn't make sense and makes for misdetected blobs. remove it. - switch radius coefficient to something doing less iterations. - sprinkle some __restrict pointer qualifier. - cv::floodfill invocation had some hardcoded flag value. - point radius circle and the bullseye line length weren't adjusted by scaling ratio. while the circle fitted the radius tightly, it was now clutter, so I removed it, leaving only the properly-scaled bullseye. - brightness had to go sadly since it's not accumulated anymore.
2017-04-18tracker/pt: fix tab order in dialogStanislaw Halik
2017-04-12cv/calibrator: allow for experimental roll calibrationStanislaw Halik
It mostly works from my testing.
2017-03-28tracker/pt: show calibration sample count in UIStanislaw Halik
2017-03-27cmake: rename project's function prefixStanislaw Halik
It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module".
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-16tracker/{aruco,pt}: adjust usages for the calibratorStanislaw Halik
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-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: simplify camera frame retry logicStanislaw Halik
2017-03-01tracker/pt: don't crash in cv::resizeStanislaw Halik
next hotfix or bust
2017-02-27remove unfinished polish translation filesStanislaw Halik
Polish speakers typically know English well enough and translations are awkward.
2017-02-25tracker/pt: fix clang-reported compile errorStanislaw Halik
2017-02-22tracker/pt: don't busy loop when trying to get a frameStanislaw Halik
Reported-by: @MathijsG Issue: #552
2017-02-21modules: add .ts filesStanislaw Halik
2017-02-21tracker/pt: remove obvious warningStanislaw Halik
2017-02-21tracker/pt: change meanshift kernel size coefficientStanislaw Halik
From my usage the value of 1.5 is excessively conservative.
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-30tracker/pt: turn auto threshold on by defaultStanislaw 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-09tracker/pt: use the right delta for iteration stopStanislaw Halik
2016-12-09tracker/pt: inline meanshift eval funStanislaw Halik