NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Using LinuxCNC AXIS Another tab for WebCam

Welcome, Guest
Username: Password: Remember me

TOPIC: Another tab for WebCam

Re:Another tab for WebCam 18 Ноя 2010 06:25 #5404

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 121
  • Karma: 1
I'm interested for working module.
I just wan't to see image (but probably with correct aspect ratio as now isnt)
and to have ability to use some croshairs (few different ones - can be stored as image if necesary)

How much time "black magic" took to change gqcam?1? Can you do it?

Slavko.
The administrator has disabled public write access.

Re:Another tab for WebCam 18 Ноя 2010 06:59 #5407

  • psha
  • psha's Avatar
  • OFFLINE
  • Moderator
  • Posts: 107
  • Karma: 22
eslavko wrote:
I'm interested for working module.
I just wan't to see image (but probably with correct aspect ratio as now isnt)
and to have ability to use some croshairs (few different ones - can be stored as image if necesary)
Who is breaking aspect ratio?! All viewers i've tested retain aspect ration of input stream
How much time "black magic" took to change gqcam?1? Can you do it?.
Not much. You may take patch i've used for stock camview and use it for gqcam
Personally i'd perfer to fix camview to work with all cams then to work with gqcam.

Camunits provide good way to write and reuse plugins, so that's why i think patching gqcam
is worse solution.
Last Edit: 18 Ноя 2010 07:05 by psha.
The administrator has disabled public write access.

Re:Another tab for WebCam 18 Ноя 2010 08:16 #5409

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 121
  • Karma: 1
When I resize EMC window the CAM portition is always completly filed with image - ie image ocupye complete area. So If I resize window to be lot wider then image still ocuppy full area. To maintain aspect I think I should see black stripes on left and right and ful height image.

I don't say that gqcam is better than camview. Just gqcam work in my system and camview not. If you can fix it then welcome. I just wish to use working one and to can configure crosshair.

If you can help then I can tell only THANKS as you are too far away to get some beer. :woohoo: on my account.
The administrator has disabled public write access.

Re:Another tab for WebCam 18 Ноя 2010 08:28 #5410

  • psha
  • psha's Avatar
  • OFFLINE
  • Moderator
  • Posts: 107
  • Karma: 22
Fixing camview to work with strange cams is on my todo list so
But first i need to know what camera are you using? What driver?
Is it gspca one?

Magic to embed gtk into tk may be found at psha.org.ru/cgit/psha/camunits.git/commi...c257651270090d6b30d5
but this code is abandoned
The administrator has disabled public write access.

Re:Another tab for WebCam 18 Ноя 2010 09:44 #5414

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 121
  • Karma: 1
As I know the cam is one of cheap Logitech. I do not know exactly as I striped cam out of the plastic house and make another one with ability to fine align axis of cam so I get constant offset from tool. For driver I use - no driver -
I didn't install any other driver as cam work instantly. So if the driver is installed is without my knowledge.

Is there some commandline to discover what cam is actualy connected?

The design of camera is like tinyurl.com/349tony
The administrator has disabled public write access.

Re:Another tab for WebCam 18 Ноя 2010 09:58 #5415

  • psha
  • psha's Avatar
  • OFFLINE
  • Moderator
  • Posts: 107
  • Karma: 22
Driver is inside linux kernel
So you need to check loaded modules

lsmod | grep video
lsmod | grep gspca

First command will also include video drivers but not many.
I suspect gspca driver so last is to check it
Also 'lsusb' command will show you connected devices.
The administrator has disabled public write access.

Re:Another tab for WebCam 19 Ноя 2010 00:01 #5428

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 121
  • Karma: 1
psha wrote:
Driver is inside linux kernel
So you need to check loaded modules

lsmod | grep video
lsmod | grep gspca

First command will also include video drivers but not many.
I suspect gspca driver so last is to check it
Also 'lsusb' command will show you connected devices.



that's results

slavko@emc2:~$ lsmod | grep video
videodev 25856 1 gspca
v4l2_common 16384 1 videodev
v4l1_compat 12164 1 videodev
slavko@emc2:~$ lsmod | grep gspca
gspca 625764 0
videodev 25856 1 gspca
usbcore 119348 5 snd_usb_audio,gspca,snd_usb_lib,ohci_hcd
slavko@emc2:~$ lsusb
Bus 001 Device 002: ID 046d:08da Logitech, Inc. QuickCam Messanger
Bus 001 Device 001: ID 0000:0000
slavko@emc2:~$
The administrator has disabled public write access.

Re:Another tab for WebCam 19 Ноя 2010 02:09 #5429

  • psha
  • psha's Avatar
  • OFFLINE
  • Moderator
  • Posts: 107
  • Karma: 22
Thanks.
Please upgrade libcamunits6 and camview-emc packages.
I've added support for 'strange' cameras yesterday.
The administrator has disabled public write access.

Re:Another tab for WebCam 19 Ноя 2010 03:39 #5432

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 121
  • Karma: 1
psha wrote:
Thanks.
Please upgrade libcamunits6 and camview-emc packages.
I've added support for 'strange' cameras yesterday.

Where they are?!?

I download Camunits from [1]
code.google.com/p/camunits/ ->Downloads

..and try to run it outside of EMC2 without results.
The administrator has disabled public write access.

Re:Another tab for WebCam 19 Ноя 2010 03:40 #5433

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 121
  • Karma: 1
psha where on IRC you are (I'm green (beginner) here too)
Last Edit: 19 Ноя 2010 03:49 by eslavko.
The administrator has disabled public write access.
Time to create page: 1.196 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.