- Posts: 399
- Thank you received: 133
Camview widget
6 years 3 months ago - 6 years 3 months ago #175750
by persei8
Camview widget was created by persei8
Not sure this is actually related to qtvcp, but there is a small issue with camview. I added a camview widget to qtdragon and it seems to work OK in that there is an image with a circle and a crosshair. However, in the terminal window, there is a steady stream of:
Corrupt JPEG data: n extraneous bytes before marker 0xnn
The camera is a Logitech C270 which is an opencv camera but does not have driver support for linux (not sure that matters)
The behavior is the same when running directly, without the GUI, ie.
$ python camview_widget.py
If someone has any insights, I'd appreciate hearing your thoughts. Thank you.
PS - the camera works fine with Cheese
Corrupt JPEG data: n extraneous bytes before marker 0xnn
The camera is a Logitech C270 which is an opencv camera but does not have driver support for linux (not sure that matters)
The behavior is the same when running directly, without the GUI, ie.
$ python camview_widget.py
If someone has any insights, I'd appreciate hearing your thoughts. Thank you.
PS - the camera works fine with Cheese
Last edit: 6 years 3 months ago by persei8. Reason: added PS
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
6 years 3 months ago #175762
by tommylight
Replied by tommylight on topic Camview widget
Never used that, but i did notice on two of my laptops with 4K cameras i can not get any resolution over 1280X720 in Linux.
Something to do with the proprietary drivers and stuff, so open source got the boot, as usual.
Something to do with the proprietary drivers and stuff, so open source got the boot, as usual.
Please Log in or Create an account to join the conversation.
6 years 3 months ago #175841
by cmorley
Replied by cmorley on topic Camview widget
I see discussions on this problem (googled the error message with opencv added):
github.com/opencv/opencv/issues/9477
github.com/opencv/opencv/issues/9477
Please Log in or Create an account to join the conversation.
6 years 3 months ago #175842
by cmorley
Replied by cmorley on topic Camview widget
By the way would it be useful to display the angle of the cross hairs when rotated?
Please Log in or Create an account to join the conversation.
6 years 3 months ago #175923
by persei8
Replied by persei8 on topic Camview widget
I did see that. It appears that the problem originates with libjpeg which was last updated in 2008 and the solution is to modify a compile flag and recompile opencv. This is beyond my pay grade, so ... dead end.
The following user(s) said Thank You: NTULINUX
Please Log in or Create an account to join the conversation.
6 years 3 months ago #175925
by cmorley
Replied by cmorley on topic Camview widget
us it just the annoying error messages or is there a display problem too?
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.205 seconds