Digital Zoom for Camviev
06 Jun 2014 23:19 #47761
by mmt
Digital Zoom for Camviev was created by mmt
wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding..._Zoom_To_Camview-Emc
I use the camera on my system but now need digital zoom.
Has anyone done this that could give me some guidance?
Like specifically STEP 1 (I have camunits installed) but all the instructions are vague.
Thanks,
Kent
I use the camera on my system but now need digital zoom.
Has anyone done this that could give me some guidance?
Like specifically STEP 1 (I have camunits installed) but all the instructions are vague.
Thanks,
Kent
Please Log in or Create an account to join the conversation.
07 Jun 2014 00:31 #47762
by mmt
Replied by mmt on topic Digital Zoom for Camviev
I also can't get my DRO number to show up.
I don't get anything or any errors
Here is my camviewcfg file that i added the chain to
<?xml version="1.0" encoding="utf-8" ?>
<chain>
<unit id="input.v4l2:0" width="640" height="480" pixelformat="CAM_PIXEL_FORMAT_RGB" format_name="640x480 RGB 24bpp">
<control id="input">0</control>
<control id="standard">0</control>
<control id="brightness">128</control>
<control id="contrast">32</control>
<control id="saturation">32</control>
<control id="auto-white-balance">1</control>
<control id="gain">0</control>
<control id="control-9963800">2</control>
<control id="control-9963802">4000</control>
<control id="control-9963803">24</control>
<control id="control-9963804">1</control>
<control id="control-10094849">3</control>
<control id="control-10094850">166</control>
<control id="control-10094851">0</control>
</unit>
<unit id="output.opengl" width="640" height="480" pixelformat="CAM_PIXEL_FORMAT_RGB" format_name="640x480 RGB 24bpp">
</unit>
<unit id="emc.manual-marker" width="640" height="480" pixelformat="CAM_PIXEL_FORMAT_RGB" format_name="640x480 RGB 24bpp">
<control id="enable">1</control>
<control id="color-r">1</control>
<control id="color-g">1</control>
<control id="color-b">1</control>
<control id="gl-xor">1</control>
<control id="marker-size">25</control>
<control id="marker-angle">0</control>
<control id="marker-x">0</control>
<control id="marker-y">0</control>
</unit>
<unit id="emc.halio" width="459" height="258" pixelformat="CAM_PIXEL_FORMAT_RGB" format_name="459x258 RGB 24bpp">
<control id="limit">4</control>
<control id="reload">0</control>
<control id="circle">video.circle</control>
<control id="axis-pins">halui.axis.%d.pos-relative</control>
<control id="axis-letters">XYZA45678</control>
<control id="axis-format">%.3f</control>
<control id="spacing">5</control>
<control id="color-r">1</control>
<control id="color-g">1</control>
<control id="color-b">1</control>
<control id="gl-xor">0</control>
</unit>
</chain>
I don't get anything or any errors
Here is my camviewcfg file that i added the chain to
<?xml version="1.0" encoding="utf-8" ?>
<chain>
<unit id="input.v4l2:0" width="640" height="480" pixelformat="CAM_PIXEL_FORMAT_RGB" format_name="640x480 RGB 24bpp">
<control id="input">0</control>
<control id="standard">0</control>
<control id="brightness">128</control>
<control id="contrast">32</control>
<control id="saturation">32</control>
<control id="auto-white-balance">1</control>
<control id="gain">0</control>
<control id="control-9963800">2</control>
<control id="control-9963802">4000</control>
<control id="control-9963803">24</control>
<control id="control-9963804">1</control>
<control id="control-10094849">3</control>
<control id="control-10094850">166</control>
<control id="control-10094851">0</control>
</unit>
<unit id="output.opengl" width="640" height="480" pixelformat="CAM_PIXEL_FORMAT_RGB" format_name="640x480 RGB 24bpp">
</unit>
<unit id="emc.manual-marker" width="640" height="480" pixelformat="CAM_PIXEL_FORMAT_RGB" format_name="640x480 RGB 24bpp">
<control id="enable">1</control>
<control id="color-r">1</control>
<control id="color-g">1</control>
<control id="color-b">1</control>
<control id="gl-xor">1</control>
<control id="marker-size">25</control>
<control id="marker-angle">0</control>
<control id="marker-x">0</control>
<control id="marker-y">0</control>
</unit>
<unit id="emc.halio" width="459" height="258" pixelformat="CAM_PIXEL_FORMAT_RGB" format_name="459x258 RGB 24bpp">
<control id="limit">4</control>
<control id="reload">0</control>
<control id="circle">video.circle</control>
<control id="axis-pins">halui.axis.%d.pos-relative</control>
<control id="axis-letters">XYZA45678</control>
<control id="axis-format">%.3f</control>
<control id="spacing">5</control>
<control id="color-r">1</control>
<control id="color-g">1</control>
<control id="color-b">1</control>
<control id="gl-xor">0</control>
</unit>
</chain>
Please Log in or Create an account to join the conversation.
Time to create page: 0.056 seconds