-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: use 'vivid' module as a source for webcam test
vivid is an upstream v4l2 device for userspace testing, so it should fit perfectly for this case. It appears to be more reliable than v4l2loopback. The only issue is the produced video is dynamic (it has timestamp rendered on it), so capturing it at source and destination leads to a slightly different results. I haven't found any option to disable timestamp, so apply a mask before comparing images. Additionally, compare I420 images, to avoid (loosy) conversion to RGB and back.
- Loading branch information
Showing
1 changed file
with
36 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters