Camview widget

More
6 years 2 months ago #176714 by persei8
Replied by persei8 on topic Camview widget

cmorley wrote: 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 to join the conversation.

More
6 years 2 months ago #176818 by cmorley
Replied by cmorley on topic Camview widget

Attachment not found



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)

Please Log in to join the conversation.

More
6 years 2 months ago #176946 by persei8
Replied by persei8 on topic Camview widget
Very cool. Here's what my camera page looks like now.

Please Log in to join the conversation.

More
6 years 2 months ago #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 to join the conversation.

More
6 years 2 months ago #176963 by tommylight
Replied by tommylight on topic Camview widget

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

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

Please Log in to join the conversation.

More
6 years 2 months ago #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 to join the conversation.

More
6 years 2 months ago #177667 by Himarc3D
Replied by Himarc3D on topic Camview widget

persei8 wrote: 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 to join the conversation.

More
6 years 2 months ago #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.

Please Log in to join the conversation.

More
3 years 10 months ago #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:
Code:
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

Please Log in to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum