Downlook Camera X Y Offset
- my1987toyota
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 814
- Thank you received: 331
23 Feb 2023 00:23 - 23 Feb 2023 01:17 #265079
by my1987toyota
Downlook Camera X Y Offset was created by my1987toyota
First Let me say I am in very uncharted water with this. What I am trying to do is have a tab that allows viewing a
live video image and with a button save the X Y position with the offset from the PnP Nozzle either in G53
or as a G54-G59.3 so that when the button is pressed the camera's position will become the Nozzle's position.
I am pretty sure I will need GladeVCP for this as well as opencv. But the task feels overwhelming. To add
to that the system is still running 2.8.0. But seeing how 2.9 hasn't to date been officially released yet
it shouldn't be a big deal. I have been reading through the manual and still feel lost. However having to
manually re-enter the camera offset every time I do a fiducial align SUUUCKS. I hope to get this working in the next
few months that said any suggestions would be greatly appreciated.
live video image and with a button save the X Y position with the offset from the PnP Nozzle either in G53
or as a G54-G59.3 so that when the button is pressed the camera's position will become the Nozzle's position.
I am pretty sure I will need GladeVCP for this as well as opencv. But the task feels overwhelming. To add
to that the system is still running 2.8.0. But seeing how 2.9 hasn't to date been officially released yet
it shouldn't be a big deal. I have been reading through the manual and still feel lost. However having to
manually re-enter the camera offset every time I do a fiducial align SUUUCKS. I hope to get this working in the next
few months that said any suggestions would be greatly appreciated.
Last edit: 23 Feb 2023 01:17 by my1987toyota.
Please Log in or Create an account to join the conversation.
23 Feb 2023 02:09 #265085
by cmorley
Replied by cmorley on topic Downlook Camera X Y Offset
Qtvcp can produce a camera image using open cv.
The following user(s) said Thank You: my1987toyota
Please Log in or Create an account to join the conversation.
23 Feb 2023 02:13 #265086
by cmorley
Replied by cmorley on topic Downlook Camera X Y Offset
in a terminal try:
qtvcp cam_align
and see what happens.
Post errors if you get some.
qtvcp cam_align
and see what happens.
Post errors if you get some.
The following user(s) said Thank You: my1987toyota
Please Log in or Create an account to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 814
- Thank you received: 331
23 Feb 2023 21:46 - 23 Feb 2023 21:49 #265154
by my1987toyota
Replied by my1987toyota on topic Downlook Camera X Y Offset
Attachments:
Last edit: 23 Feb 2023 21:49 by my1987toyota.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6429
23 Feb 2023 22:27 #265162
by tommylight
Replied by tommylight on topic Downlook Camera X Y Offset
The following user(s) said Thank You: my1987toyota
Please Log in or Create an account to join the conversation.
23 Feb 2023 22:28 #265163
by cmorley
Replied by cmorley on topic Downlook Camera X Y Offset
Try cam_align with underscore
The following user(s) said Thank You: my1987toyota
Please Log in or Create an account to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 814
- Thank you received: 331
23 Feb 2023 23:12 - 23 Feb 2023 23:33 #265168
by my1987toyota
Replied by my1987toyota on topic Downlook Camera X Y Offset
Attachments:
Last edit: 23 Feb 2023 23:33 by my1987toyota.
Please Log in or Create an account to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 814
- Thank you received: 331
23 Feb 2023 23:47 #265173
by my1987toyota
Replied by my1987toyota on topic Downlook Camera X Y Offset
Is qtvcp recommended over gladevcp ?
Please Log in or Create an account to join the conversation.
23 Feb 2023 23:54 #265174
by cmorley
Replied by cmorley on topic Downlook Camera X Y Offset
just another option. conveniently it already uses opencv.
Note the buttons on top. These call MDI commands but could do other things.
Note the buttons on top. These call MDI commands but could do other things.
The following user(s) said Thank You: my1987toyota
Please Log in or Create an account to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 814
- Thank you received: 331
24 Feb 2023 00:12 - 24 Feb 2023 17:35 #265178
by my1987toyota
Replied by my1987toyota on topic Downlook Camera X Y Offset
I obviously have a-lot more reading to do. I did notice something about the Axis zero buttons on the default
Glade vcp and how they use a gcode (G10 L20 P0 X0) defined in the ini file. to carry out the action. I will
probably make use of that to enter the camera offset. Say G10 L20 P1 X1.608 Y-0.002 for G54. It's still
early on and I am just throwing idea's at the wall to see what sticks.
Glade vcp and how they use a gcode (G10 L20 P0 X0) defined in the ini file. to carry out the action. I will
probably make use of that to enter the camera offset. Say G10 L20 P1 X1.608 Y-0.002 for G54. It's still
early on and I am just throwing idea's at the wall to see what sticks.
Last edit: 24 Feb 2023 17:35 by my1987toyota. Reason: correcting info
Please Log in or Create an account to join the conversation.
Time to create page: 0.168 seconds