summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
AgeCommit message (Collapse)Author
2017-07-26tracker/pt: scale min/max radius with resolutionStanislaw Halik
For 320x240 frames auto threshold min value of 2.5 was too big. Scale it linearly with frame size.
2017-07-25tracker/pt: fix overlayStanislaw Halik
The "fract_bits" constant wasn't used consistently in the 2nd cv::circle invocation. Drop the invocation.
2017-07-25tracker/pt: fix weight formulaStanislaw Halik
2017-07-25tracker/pt: reduce pose reuseStanislaw Halik
It could cause microstutter.
2017-07-25tracker/pt: compute blob weightStanislaw Halik
The formula is total brightness over sqrt(radius).
2017-07-23Made several translation linesAlexander Orokhovatskiy
2017-07-20tracker/pt: fix build on LinuxStanislaw Halik
GNU expects ODR for `int' constexpr members.
2017-07-18tracker/pt: fix -WerrorStanislaw Halik
2017-07-16compat/math-imports: use itStanislaw Halik
2017-07-07Merge remote-tracking branch 'upstream/unstable' into unstableattila-csipa
2017-07-07Unsigned cast reformatattila-csipa
2017-07-07tracker/pt: specify dynamic pose is only for capsStanislaw Halik
Reported-by: @Len62 as https://github.com/opentrack/opentrack/issues/644#issuecomment-313649989
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