summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
AgeCommit message (Collapse)Author
2017-10-29static constexpr -> constexprStanislaw Halik
2017-10-27tracker/pt: fix -WreorderStanislaw Halik
2017-10-27tracker/pt: fine-tune point brightness scoreStanislaw Halik
2017-10-27tracker/pt: simplify point extractorStanislaw Halik
- no need to zero out floodfill areas, by its logic - let meanshift work with rect center as initial point - show extra points in gray
2017-10-22tracker/pt: return focal length directlyStanislaw Halik
2017-10-20tracker/pt: grayscaling modes workStanislaw Halik
2017-10-13tracker/pt, options: fix threshold sliderStanislaw Halik
It's only the tie_setting(slider_value, QSlider) that has race-free slider updates. Needed to update the threshold slider representation. Remove the tie_setting(int, QSlider) overload since it doesn't have the logic. Add a migration. Add base_value::notify() for use-cases like the checkbox updating the label.
2017-10-13tracker/pt: add threshold slider state descriptionStanislaw Halik
Isolate point radius code and reuse it.
2017-10-13options/tie: change "tie" overloadsStanislaw Halik
Adjust usages. There are ODR issues with MSVC and it doesn't support C++17 "static inline constexpr" _variables_. Otherwise, "signal_fun" could be a variable and not a function. The usages in accela/ewma2 dialog are more verbose now but the original API was silly.
2017-10-13compat/macros: fix "restrict" name clashStanislaw Halik
2017-10-13whitespaceStanislaw Halik
2017-10-10tracker/pt: comment typoStanislaw Halik
2017-10-08tracker/pt: edit dead codeStanislaw Halik
2017-10-08tracker/pt: grayscale methods workStanislaw Halik
- fix a braino (don't divide by two) - default to exact averaging, not perceptual weighted - use more specific cv::addWeighted
2017-09-23tracker/pt: fix tab order for new LED modeStanislaw Halik
2017-09-23use std::sizeStanislaw Halik
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.