Another tab for WebCam

More
12 Jun 2012 16:19 - 12 Jun 2012 16:20 #20846 by ArcEye
Replied by ArcEye on topic Re:Another tab for WebCam
Hi

Just thought I would check my take on the dependency issues and can confirm it.

Below are the dependencies lists from the packages /DEBIAN/control files

Package: camunits
Depends: libcamunits6, libcamunits6-dev, camunits-utils, libcamunits-gtk6, libcamunits-gtk6-dev, camview, camunits-plugins-dc1394

Package: camunits-plugins-dc1394
Depends: libc6 (>= 2.4), libdc1394-22

Package: camunits-utils
Depends: libc6 (>= 2.3.6-6~), libcamunits6, libglib2.0-0 (>= 2.12.0)

Package: camview
Depends: libatk1.0-0 (>= 1.29.3), libc6 (>= 2.4), libcairo2 (>= 1.2.4), libcamunits-gtk6, libcamunits6, libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.2.1),
libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.10.0), libpango1.0-0 (>=1.14.0)

Package: libcamunits-gtk6-dev
Depends: libcamunits-gtk6 (= 0.2.0-7~lucid), libcamunits6-dev, libc6-dev
Conflicts: libcamunits-gtk5-dev
Replaces: libcamunits-gtk5-dev
Provides: libcamunits-gtk-dev

Package: libcamunits-gtk6
Depends: libatk1.0-0 (>= 1.29.3), libc6 (>= 2.4), libcairo2 (>= 1.2.4), libcamunits6, libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.2.1), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.18.0), libpango1.0-0 (>= 1.14.0)
Recommends: camview
Conflicts: libcamunits-gtk6
Replaces: libcamunits-gtk6

Package: libcamunits6-dev
Depends: libcamunits6 (= 0.2.0-7~lucid), libc6-dev
Conflicts: libcamunits5-dev
Replaces: libcamunits5-dev
Provides: libcamunits-dev

Package: libcamunits6
Depends: libc6 (>= 2.11), libgl1-mesa-glx | libgl1, libglib2.0-0 (>= 2.14.0), libjpeg62, libv4l-0 (>= 0.5.0)
Recommends: camunits-utils, libcamunits-gtk6
Suggests: camunits-plugins-dc1394
Conflicts: libcamunits5
Replaces: libcamunits5

Package: camunits-plugins-emc-cv
Depends: camview

Package: camunits-plugins-emc-misc
Depends: libc6 (>= 2.4), libcv4, libfreeimage3 (>= 3.10.0), camview

Package: camunits-plugins-emc
Depends: emc2-sim, freeglut3, libc6 (>= 2.4), libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, camview

Package: camview-emc
Depends: camview, python-camunits, python-xlib, camunits-plugins-emc-misc (= 0.0.37~lucid)
Recommends: camunits-plugins-emc-cv

Package: emc2-fake-sim
Depends: emc2
Conflicts: emc2-sim
Provides: emc2-sim

Package: emc2-fake
Depends: emc2-sim
Conflicts: emc2
Provides: emc2


camview itself is unproblematic, but you can see when it gets to camview-emc, there is a circular dependency upon emc2 rather than linuxcnc.

As per previous, you can get around it if you know what you are doing.
Alternately if you haven't upgraded to 2.5 or installed from the latest LiveCD, you can probably still use the packages as per the instructions.

regards
Last edit: 12 Jun 2012 16:20 by ArcEye.

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

More
12 Jun 2012 17:07 - 12 Jun 2012 17:08 #20849 by psha
Replied by psha on topic Re:Another tab for WebCam
I've updated packages agains current linuxcnc2.5 repository but have not tested them.
Only changed part is emc2-fake package and emc-camunits.

upd
Sorry for such long delay
Last edit: 12 Jun 2012 17:08 by psha.

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

More
15 Jun 2012 07:56 #20945 by austin.mn
Replied by austin.mn on topic Re:Another tab for WebCam
Got her working tonight! Woo-Hoo!

My main problem is that I had the axisrc file on my computer. I guess I shouldn't have had that. I read somewhere that the axisrc file isn't required with the latest linuxcnc and as soon as I renamed it (so I could just rename it again instead of deleting it) it worked. The camera is a little grainy looking at dirty steel on the plasma table, but I through down my phone and it seemed to be a very good picture.

I will have to see about maybe adding some diffused light source or something. But hot damn, it works!

this is going to make tracing templates a little easier.

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

More
21 Jun 2012 10:43 - 21 Jun 2012 10:46 #21170 by Hearty
Replied by Hearty on topic Re:Another tab for WebCam
Hi,

Gentlemen, I'm really interested by this option,
unfortunately my native language is not english,
I'm French.
More over, I'm a Windows user.
I'm using Ubuntu lucid, just for LinuxCNC.

I tried to install this webcam tab option,
but nothing work, I don't know why exactely
and how fix that.

I think I did as well what explained in this link
I found the packages in the ubuntu package installer,
and installed them.

After that, I'm completely confused,
I don't know what I have to do.

Is there a way to install and setup this option
basically?
Anyone can explain step by step how to.

By step by step I mean, really step by step,
like... do that, clic here open this one
and type that, with all details and clear english.

I understand when a newb ask something like that,
it's a little bit boring for people used to practice. :dry:

This webcam option is very usefull for all LinuxCNC user
so please, I beg you to considering my request and share your knowledge.

Regards,
Last edit: 21 Jun 2012 10:46 by Hearty. Reason: some correction

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

More
21 Jun 2012 11:55 - 21 Jun 2012 11:59 #21171 by andypugh
Replied by andypugh on topic Re:Another tab for WebCam
Hearty wrote:

I think I did as well what explained in this link
I found the packages in the ubuntu package installer,
and installed them.
After that, I'm completely confused,
I don't know what I have to do.,


Have you seen:
wiki.linuxcnc.org/cgi-bin/wiki.pl?Axis_Embed_Video

Information which might help:

The INI file will be in your home directory, then linuxcnc/configs/<name of your machine>

You probably don't have a .axisrc file, you create it using gedit (applications - accessories). the "." at the beginning makes it a hidden file.
Last edit: 21 Jun 2012 11:59 by andypugh.

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

More
21 Jun 2012 12:03 - 21 Jun 2012 12:29 #21172 by Hearty
Replied by Hearty on topic Re:Another tab for WebCam
Hi Andy,

I saw this page,
I downloaded the zip file, unziped it into my linuxCNC folder,
nothing work,
I tried also to modifie my original ini file with the lines explained,
but it's the same, LinuxCNC with the lines added
in the ini file doesnt work,
I mean when I try to lunch LinuxCNC I have
the fail window message.

One point I didnt do is
"Download this file and place code from it in your .axisrc "

I don't know where is this .axisrc
is it a file which need to be edited?
how?

Edit: Message crossed
I will try this point,
as I said it's exactely what I missed,
thank you for this information.

Re edit:

Oh my god!
it almost work !!
I created this .axisrc file
now I have this new tab with the cam frame.

the problem now, is I only have a black screen instead the cam pic.
and when I try to change the cam setup
for exemple the "input.v4l2:0" tab
the cam frame disapear to the top (I'm in 1024x768 screen resolution)
and the buttons are really big square "XOR" "On" and "Save"
initially they were normal before moving any slider...

did I miss something again?
Last edit: 21 Jun 2012 12:29 by Hearty.

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

More
21 Jun 2012 12:25 #21173 by psha
Replied by psha on topic Re:Another tab for WebCam
If you have linuxcnc 2.5 you don't need .axisrc

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

More
21 Jun 2012 12:33 #21175 by Hearty
Replied by Hearty on topic Re:Another tab for WebCam
I have the 2.5 version,
as I said just in the last edited message
without this .axisrc nothing worked
with, I have a result... still with some trouble
but I have the tab.
how can you explain that?

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

More
21 Jun 2012 19:42 #21183 by Hearty
Replied by Hearty on topic Re:Another tab for WebCam
Hi,

Any help about the black screen?

To be clear,
before to install the cam tab option
I wanted to check if my webcam
is recognized under unbuntu
so I installed "Studio Webcam Cheese"
the only application I found to check.
Nice surprise, it worked.

Then after I tried all what I said before to
install the tab cam option.

Actually I can see a black screen and the cross hair if checked.
Also, when I go to my cam setup option tab
the rest of the main webcam tab interface
become weird,
the size buttons are big suddenly.

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

More
22 Jun 2012 06:24 #21187 by Hearty
Replied by Hearty on topic Re:Another tab for WebCam
Hi,

Finally it works !! woohoo! :laugh:

I re-read again all what said in this topic page after page
and found the Andy's trouble had same.

The good advice about Installing libgl1-mesa-swx11 instead the default -glx
I did it, and now I have my cam in the LinuxCNC tab :woohoo:

I'm using a chinese webcam bought on EB.

Now I'll re-re-read again to setup all of that
between what I see and the real measuring.

thank's gentlemen for your work and answers.

Regards,

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

Time to create page: 0.147 seconds
Powered by Kunena Forum