Camera configuration

More
2 years 9 months ago #291738 by wusel0464
Replied by wusel0464 on topic Camera configuration
Hello,

I just played with the parameters and it does what it's supposed to do.
Fortunately, this also makes it possible to show the image slightly enlarged without using the zoom control.
Values smaller than 100 percent result in a completely distorted image.
But I would leave it like that because the desired function is guaranteed.
Now all you have to do is find someone to fill the empty space with a few useful functions for measuring and aligning the camera.
Unfortunately I'm not smart enough.

Kind regards, Frank.

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

More
2 years 8 months ago #292305 by Drillbit
Replied by Drillbit on topic Camera configuration
I am using a laptop the circle is appearing on my forehead sniper style using the camera in the laptop.

How can I change this to use the USB camera to avoid trepanation

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

More
2 years 8 months ago #292310 by tommylight
Replied by tommylight on topic Camera configuration
On some laptops the built in camera can be disabled in BIOS.
If not, there is the option of blacklisting the camera in Linux.
And the easiest should be changing the ID or port in software, but no idea how to do that, sorry.
The following user(s) said Thank You: Drillbit

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

More
2 years 8 months ago - 2 years 8 months ago #292318 by wusel0464
Last edit: 2 years 8 months ago by wusel0464.

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

More
2 years 8 months ago #292339 by cmorley
Replied by cmorley on topic Camera configuration
in your config folder, add a file named .qtdragonrc
In that file add:

self.w.camview._camNum = 1

You may need to change the number.

Chris
 
The following user(s) said Thank You: tommylight

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

More
2 years 8 months ago #292370 by Drillbit
Replied by Drillbit on topic Camera configuration
Sorry for being a total Noob and bothering you all.

I run lsusb and I can see:
"Bus 002 Device 077: ID ...Vimicro USB Camera (Altrair)"

When I use cheese the camera app and I select that camera I get a picture.

When I run "sudo dmesg | tail" I get
..., device number 76
...failed to resubmit
.. USB device number 77

So it looks like it recognised it but the system fails for a reason and the counter increases. I can live with that.

However when I add that config above nothing happens. So I would like to check the config is correct.

The directory I am putting the file in is

"/cncuser/linuxcnc/configs/mymill"

The fille I added is called

".qtdragonrc"

Note the dot. No extension.

The content of the file is a single line with a return (pressed enter to create a new line).

"self.w.camview._camNum = 77"

I could just use chees and split the screen to show the LinuxCNC controls but love the idea of the circle as a guide.

I know working for a software company how hard it is to diagnose this stuff remotely so appreciate the help.

I believe I could add a rule to disable the build in camera but not sure that would solve things and looks more complex than this.

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

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