diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-27 14:44:35 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-27 14:44:35 +0200 |
commit | 10c47b159d5ea0e3888318d801be065b6d921b9d (patch) | |
tree | fbb4ef46125beb83915c5cfcf5e9d1df9a1b9a03 /tracker-udp/ftnoir_tracker_udp.h | |
parent | 460e418f0aa83063ff222296782364a07be9f97e (diff) |
tracker/aruco: fix #375
The height was zero on the test video. The ROI check only saw if width
is at least zero. Check for both to be greater than one.
Video provided by: @kblomster
Issue: #375
Also, fix minor issues:
- nix vars that can be const static in function scope
- don't call solvepnp twice where obj_points shift will do
- don't do bounds checking on vector elt access
- respect sprintf varargs type size; change to snprintf for no reason
- fix clamp-to-image logic
- set proper alpha for fps estimation
Diffstat (limited to 'tracker-udp/ftnoir_tracker_udp.h')
0 files changed, 0 insertions, 0 deletions