-
Notifications
You must be signed in to change notification settings - Fork 50
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
Added camera quality test using brisque (New) #759
Conversation
Codecov Report
@@ Coverage Diff @@
## main #759 +/- ##
==========================================
+ Coverage 34.83% 34.92% +0.08%
==========================================
Files 302 303 +1
Lines 34165 34211 +46
Branches 5909 5918 +9
==========================================
+ Hits 11903 11949 +46
Misses 21697 21697
Partials 565 565
Flags with carried forward coverage won't be shown. Click here to find out more.
|
8cc0b39
to
d65b611
Compare
@@ -68,6 +69,7 @@ _description: Camera tests After Suspend (automated) | |||
include: | |||
after-suspend-camera/detect certification-status=blocker | |||
after-suspend-camera/multiple-resolution-images_.* certification-status=blocker | |||
camera/camera-quality_* certification-status=non-blocker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefix our job with after-suspend-
here. This version of your checkbox camera job is automatically instantiated if the flag after-suspend-
is used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added the after-suspend flag
f4c459c
to
f743854
Compare
4cc892d
to
56d7da6
Compare
Added modified version of the brisque algorithm in chechkbox_support/vendor. The algorithm is implemented in: https://github.com/rehanguha/brisque Vendorized also python-libsvm to fix imports in snap
New camera quality test using brisque algorithm included in "camera-cert-automated"
Included some automated tests to the image quality test to increase the coverage
…indings Nota: Only for 22.04 (until the syntax allows >= 22.04)
56d7da6
to
9a9b79c
Compare
Description
We want to have in place a basic test to check if the webcam signal is properly retrieved by the camera. The idea is to use an implementation of the BRISQUE algorithm to assess if the quality of the image is adequate and if we don't have issues with the decoding.
Resolved issues
Resolves "https://warthogs.atlassian.net/browse/CHECKBOX-456"
Documentation
So far, this PR does not include any changes in the documentation
Tests
The test is included in the
Camera tests (automated)
. Alternatively, you can run the Python script underproviders/base/bin/
calledcamera_quality_test.py