camera/multiple-resolution-images sometimes fails because it takes a larger picture than it should
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Medium
|
Sylvain Pineau |
Bug Description
I've noticed this happening occasionally on different systems. I'm not sure if the make/model of camera is the cause here, but you can see one example of the failure here:
It appears in that result that the test recorded an image that was 1280 px wide but expected one that was 640px.
Here is the actual output:
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Adjusting resolution from 640x480 to 1280x720.
--- Capturing frame...
Skipping 3 frames...
Capturing 1 frames...
Captured 4 frames in 0.10 seconds. (38 fps)
--- Processing captured image...
Disabling banner.
Writing JPEG image to '/tmp/camera_
Image width does not match, was 1280 should be 640
Failed to validate image /tmp/camera_
Related branches
- Checkbox Developers: Pending requested
-
Diff: 199 lines (+41/-25)2 files modifieddebian/changelog (+2/-0)
scripts/camera_test (+39/-25)
Changed in checkbox: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |