Camview widget

More
01 Aug 2020 00:12 #176714 by persei8
Replied by persei8 on topic Camview widget

By the way would it be useful to display the angle of the cross hairs when rotated?

Now that it works, I can answer my opinion.
I would say yes, in case you were setting something up that was skewed and you want to rotate the axis coordinates the same amount.

Please Log in or Create an account to join the conversation.

More
01 Aug 2020 22:09 #176818 by cmorley
Replied by cmorley on topic Camview widget


ok done.
colors can be changed in a handler file.
double right click zeros rotation.
can rotate in half degrees (could be changed in a handler file too)
Attachments:
The following user(s) said Thank You: tommylight, hottabich

Please Log in or Create an account to join the conversation.

More
02 Aug 2020 22:00 #176946 by persei8
Replied by persei8 on topic Camview widget
Very cool. Here's what my camera page looks like now.
Attachments:
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
02 Aug 2020 22:40 #176951 by cmorley
Replied by cmorley on topic Camview widget
That looks great. Now all we need is touch screen gesture support to get rid of the need for the controls - though I usually like controls anyway.

Do you use your laser offset to correct for camera vrs spindle offset?

Please Log in or Create an account to join the conversation.

More
02 Aug 2020 23:26 #176963 by tommylight
Replied by tommylight on topic Camview widget

Very cool. Here's what my camera page looks like now.

Dang, i really need to build a mill.
Very nice.

Please Log in or Create an account to join the conversation.

More
02 Aug 2020 23:47 #176967 by persei8
Replied by persei8 on topic Camview widget
The camera is simply an alternative to the laser crosshairs. You could mount both to the spindle plate and use either one, they are independent. Does a touchscreen support 2 finger gestures, like an android tablet? I plan on getting one eventually but I really wanted the rpi4 working first.

Please Log in or Create an account to join the conversation.

More
07 Aug 2020 23:12 #177667 by Himarc3D
Replied by Himarc3D on topic Camview widget

I guess I better ask for a raise, because I did manage to recompile opencv-4.0.0 and the warning messages are gone. So, another feature for qtdragon.
Description of the problem is at github.com/opencv/opencv/issues/9477
How to recompile is at docs.opencv.org/master/d7/d9/tutorial_linux_install.html
Jim

hi, persei8
The link to recompile procedure dont open, get 404!

Please Log in or Create an account to join the conversation.

More
07 Aug 2020 23:29 - 07 Aug 2020 23:35 #177668 by persei8
Replied by persei8 on topic Camview widget
This is a direct copy and paste from the website:
docs.opencv.org/master/d7/d9f/tutorial_linux_install.html
It looks exactly the same but you are right, the original doesn't work, but this one does.
Also, it's version 4.4.0, not 4.0.0.
One more edit, the difference is d9f vs. d9, sorry about that.
Last edit: 07 Aug 2020 23:35 by persei8.
The following user(s) said Thank You: Himarc3D

Please Log in or Create an account to join the conversation.

More
18 Dec 2022 07:22 - 18 Dec 2022 07:51 #259802 by NTULINUX
Replied by NTULINUX 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.

 
Glad I found this post! I'm working on a Gentoo image for LinuxCNC, would like to support camview pretty much out of the box. Luckily, on Gentoo, to enable JPEG support for OpenCV, it's literally just:
USE="jpeg" emerge opencv

I just need the list of dependencies together. Thanks persei8!

OpenCV's JPEG support on Gentoo at least uses libjpeg-turbo for the back-end, and the latest in-tree release of libjpeg-turbo as of this writing is 2.1.4 from August 12 earlier this year. :D
Last edit: 18 Dec 2022 07:51 by NTULINUX.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.109 seconds
Powered by Kunena Forum