[Home]Adding Digital Zoom To Camview-Emc

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

The purpose of this tutorial is to show how a digital zoom capability can be added to camview-emc.

The following image shows how the modified camview-emc looks like (HD5000 webcam, distance 100mm from the metric ruler)
HD5000 fixture described here: [[1]]

upload:linuxcnc20%20_2013-11-08_21-23-35.jpg

The control panel has been modified to provide direct zoom and focus control.

camviuew-emc material can be found here Axis Embed Video

Step #1: compile camunits to add util.crop capability


TODO

Step #2: install the modified camview-emc

Step #3: integrate with your LinuxCNC GUI

Add the following lines in your .ini file
[DISPLAY]
..
EMBED_TAB_NAME = Camera
EMBED_TAB_LOCATION = ntb_user_tabs
EMBED_TAB_COMMAND = ./camview-emc-f1oat.py -v 1280x720 -C camview.cfg -g cam.ui -H campins.hal  -w {XID} 
TODO


FAQ

Use this version of halio.c: upload:halio.c


LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions
Last edited November 17, 2013 11:47 am by F1oat (diff)
Search:
Published under a Creative Commons License