Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated testing from videos #50

Open
severin-lemaignan opened this issue Jul 11, 2014 · 1 comment
Open

Automated testing from videos #50

severin-lemaignan opened this issue Jul 11, 2014 · 1 comment

Comments

@severin-lemaignan
Copy link
Member

We do not test chilitags works with tracking (as implemented in #38). To fix that, we need to develop video-based tests. One 'easy' way to do that is to shoot videos where a set of tag remain always in the field of view of the camera (but possible blurry, etc). We can then simply count on how many frames the tags were not all detected.

@qbonnard
Copy link
Member

Not sure whether we should discuss this by mail, here, in #72 or in #77 ;)

Just to be clear: we don't actually need video files to do the kind of tests you're talking about, right ? converting any video with avconv -i myvideo.mp4 mytestimage%d.jpg would produce something that is already usable in the current test suite. Not that it's a lot more complicated to open videos with opencv, but we wouldn't get differences among the decoding processes, and we can control timings more freely.

The idea behind the reprojection test was to have controlled, non artificial data for tracking/filtering too. We can have several, fixed tags displayed on a monitor, and a moving one in the middle. This allows to measure the relative movement when filming the monitor, and since this movement is controlled, we can compared it to the measured one. We can even use the ids of the tags to code the progress of the animation. To generate this animation, a simple svg+javascript should do. This even allows to replace chilitags by other tags, to compare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants