- Posts: 69
- Thank you received: 0
How to get cross hairs + circles in embeded camera image
6 years 11 months ago #151415
by SvenH
How to get cross hairs + circles in embeded camera image was created by SvenH
I have added a camera to my axis view by adding
To the .ini file
But I have been unable to find info (that I could understand and follow) on how to overlay crosshairs+circles on the resulting image.
Is there a surefire way to do this?
Code:
EMBED_TAB_NAME = Camera
EMBED_TAB_LOCATION = ntb_preview
EMBED_TAB_COMMAND = mplayer -wid {XID} tv:// -tv driver=v4l2 -vf
To the .ini file
But I have been unable to find info (that I could understand and follow) on how to overlay crosshairs+circles on the resulting image.
Is there a surefire way to do this?
Please Log in to join the conversation.
6 years 11 months ago #151421
by cmorley
Replied by cmorley on topic How to get cross hairs + circles in embeded camera image
try:
mplayer -wid {XID} tv://0 -vf rectangle=-1:2:-1:240,rectangle=2:-1:320:-1
from here:
forum.linuxcnc.org/10-advanced-configura...cam-axis-cross-hairs
mplayer -wid {XID} tv://0 -vf rectangle=-1:2:-1:240,rectangle=2:-1:320:-1
from here:
forum.linuxcnc.org/10-advanced-configura...cam-axis-cross-hairs
Please Log in to join the conversation.
6 years 11 months ago #151431
by SvenH
Replied by SvenH on topic How to get cross hairs + circles in embeded camera image
Thanks, will give it a try tomorrow!
(Weird that I did not find this post when searching, either on the forum directly or via search engine...)
(Weird that I did not find this post when searching, either on the forum directly or via search engine...)
Please Log in to join the conversation.
6 years 11 months ago #151481
by SvenH
Replied by SvenH on topic How to get cross hairs + circles in embeded camera image
Result!
I used " EMBED_TAB_COMMAND = mplayer -wid {XID} tv:// -vf rectangle=-1:2:-1:239,rectangle=2:-1:319:-1"
To get the lines in center of my image.
Would still like to have circles too but now I can calibrate the setup.
Thanks!
I used " EMBED_TAB_COMMAND = mplayer -wid {XID} tv:// -vf rectangle=-1:2:-1:239,rectangle=2:-1:319:-1"
To get the lines in center of my image.
Would still like to have circles too but now I can calibrate the setup.
Thanks!
Please Log in to join the conversation.
Time to create page: 0.084 seconds
