summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
AgeCommit message (Collapse)Author
2017-09-23tracker/pt: fix brainoStanislaw Halik
Don't multiply red channel by 3 in 0->1 range.
2017-09-22tracker/pt: add color extraction modesStanislaw Halik
2017-09-22pointless to use likely macroStanislaw Halik
The operation is so many cycles, branch prediction doesn't matter here.
2017-09-22cv: use amcap.exe for ps3 eye exposure settingsStanislaw Halik
2017-08-19tracker/{pt,aruco}: simplifyStanislaw Halik
2017-08-14tracker/pt: move Affine class to cv/Stanislaw Halik
2017-07-29tracker/pt: revert most 2.3.8 changesStanislaw Halik
Remove contour usage. They're less precise than flood fill. Keep sensible changes.
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