Resolve "Add utility script for comparison of regression test data"
This MR adds a utility script for the visual comparison of old (truth) and new (test) trajectories for our regression tests.
3 kinds of Errors are detected:
- The person has no counterpart in the other file
- The person has a different first/last frame than the corresponding person in the other file
- The person differs from the other in one point with an euclidean distance of at least 1 pixel (currently not user-definable)
For the first case, you see the trajectory of the person who didn't find a match (yellow for truth; pink for test) and trajectories which could have matched, but didn't from test and truth. If you can see that there are a test and a truth trajectory drawn as well, the difference is probably that the person was double tracked in one but not in the other case.
For the second and third you just see the 2 trajectories (green: truth, blue: test).
You see each paring only once, i.e. if 2 people have different start and end frames, you still watch them once.
One goes to the next pairing by pressing n
.
NOTE: You need to install opencv for python (used for undistortion)
Closes #216 (closed)
Merge request reports
Activity
assigned to @d.kilic
added 1 commit
- 262f2ed9 - Add script for visual comparison of trajectories from regression test
- Resolved by Schrödter, Tobias
- Resolved by d.kilic
For me this works fine, some notes:
- low resolution, kind of blurry for me
- couldn't spot a possiblity for stopping the video. So it is hard to spot any differences (in particular in combination with the low resolution)
Edited by Schrödter, Tobias
enabled an automatic merge when the pipeline for a948499b succeeds
mentioned in commit a0bf8cef