Add additional camera mode: RGB8
Bug #504711 reported by
Marko Mahnič
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyDC1394 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
PointGrey Flea2 cameras report the mode as RGB8 instead of RGB.
The following change is needed in camera.py twice (line 472, line 646):
- elif mode[-1] == 'RGB':
+ elif mode[-1] == 'RGB' or mode[-1] == 'RGB8':
To post a comment you must log in.
Here are other reported modes:
[(320, 240, 'YUV422'), (640, 480, 'YUV411'), (640, 480, 'YUV422'), (640, 480, 'RGB8'), (640, 480, 'Y8'), (640, 480, 'Y16'), (800, 600, 'YUV422'), (800, 600, 'RGB8'), (800, 600, 'Y8'), (1024, 768, 'YUV422'), (1024, 768, 'RGB8'), (1024, 768, 'Y8'), (800, 600, 'Y16'), (1024, 768, 'Y16'), (1280, 960, 'YUV422'), (1280, 960, 'RGB8'), (1280, 960, 'Y8'), (1280, 960, 'Y16'), 'FORMAT7_0', 'FORMAT7_1', 'FORMAT7_2', 'FORMAT7_3']