David Plowman
2d99cc53e2
utils: raspberrypi: ctt: Fix usage of findHomography function
...
The OpenCV findHomography function now raises an unhandled error if it
receives fewer than 4 points whereas previously the limit was 3. This
makes no material difference to the behaviour of the tuning tool as it
will continue to search for the Macbeth chart at different scales.
Signed-off-by: David Plowman <david.plowman@raspberrypi.com >
Reviewed-by: Naushir Patuck <naush@raspberrypi.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
2021-08-02 03:43:53 +03:00
Laurent Pinchart
e8655c2161
utils: raspberrypi: ctt: Fix pycodestyle E302
...
E302 expected 2 blank lines, found 0
Note that issues are still flagged, due to the use of docstrings as
multi-lines comments. This will be addressed separately.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: David Plowman <david.plowman@raspberrypi.com >
2020-05-13 17:00:25 +03:00
Laurent Pinchart
33c4221e87
utils: raspberrypi: ctt: Fix pycodestyle E305
...
E305 expected 2 blank lines after class or function definition
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: David Plowman <david.plowman@raspberrypi.com >
2020-05-13 17:00:13 +03:00
Laurent Pinchart
a49fd8ea1d
utils: raspberrypi: ctt: Fix pycodestyle E116 and E117
...
E116 unexpected indentation (comment)
E117 over-indented (comment)
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: David Plowman <david.plowman@raspberrypi.com >
2020-05-13 16:59:51 +03:00
Laurent Pinchart
ca73168e75
utils: raspberrypi: ctt: Fix pycodestyle E711 and E712
...
E711 comparison to None should be 'if cond is None:'
E711 comparison to None should be 'if cond is not None:'
E712 comparison to False should be 'if cond is False:' or 'if not cond:'
E712 comparison to True should be 'if cond is True:' or 'if cond:'
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: David Plowman <david.plowman@raspberrypi.com >
2020-05-13 16:59:07 +03:00
Laurent Pinchart
23db936a1f
utils: raspberrypi: ctt: Fix pycodestyle E303
...
E303 too many blank lines
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: David Plowman <david.plowman@raspberrypi.com >
2020-05-13 16:58:54 +03:00
Laurent Pinchart
641c6ebe9b
utils: raspberrypi: ctt: Fix pycodestyle E225
...
E225 missing whitespace around operator
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: David Plowman <david.plowman@raspberrypi.com >
2020-05-13 16:58:22 +03:00
Laurent Pinchart
23f9f46c8a
utils: raspberrypi: ctt: Fix pycodestyle E128
...
E128 continuation line under-indented for visual indent
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: David Plowman <david.plowman@raspberrypi.com >
2020-05-13 16:58:12 +03:00
Laurent Pinchart
965cae72a7
utils: raspberrypi: ctt: Fix pycodestyle E251
...
E251 unexpected spaces around keyword / parameter equals
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: David Plowman <david.plowman@raspberrypi.com >
2020-05-13 16:58:07 +03:00
Laurent Pinchart
d6527d382e
utils: raspberrypi: ctt: Fix pycodestyle E203
...
E203 whitespace before ':'
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: David Plowman <david.plowman@raspberrypi.com >
2020-05-13 16:57:43 +03:00
Laurent Pinchart
93a133fb17
utils: raspberrypi: ctt: Fix pycodestyle E231
...
E231 missing whitespace after ','
E231 missing whitespace after ':'
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: David Plowman <david.plowman@raspberrypi.com >
2020-05-13 16:56:39 +03:00
Naushir Patuck
c01cfe14f5
libcamera: utils: Raspberry Pi Camera Tuning Tool
...
Initial implementation of the Raspberry Pi (BCM2835) Camera Tuning Tool.
All code is licensed under the BSD-2-Clause terms.
Copyright (c) 2019-2020 Raspberry Pi Trading Ltd.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com >
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
2020-05-11 23:54:45 +03:00