Closed Loop Computer Vision Enabled CNC
21 Aug 2024 18:30 #308330
by Aciera
Replied by Aciera on topic Closed Loop Computer Vision Enabled CNC
I can certainly confirm that machine vision can be used with external offsets without any extra hardware (except the camera of course). Be aware though that python may not be fast enough for your application so you may need to use the c++ library of OpenCV (if that is what you are aiming for) and somehow stream the correction offsets to a LinuxCNC real-time component (which will need to be in C).
This may be of interest:
linuxcnc.org/docs/stable/html/man/man9/streamer.9.html
Be advised though that there may not be much help available regarding the actual implementation of your code so you would have to be fairly confident with programming or willing to do a fair bit of your own research. Of course we always appreciate project reports.
This may be of interest:
linuxcnc.org/docs/stable/html/man/man9/streamer.9.html
Be advised though that there may not be much help available regarding the actual implementation of your code so you would have to be fairly confident with programming or willing to do a fair bit of your own research. Of course we always appreciate project reports.
Please Log in or Create an account to join the conversation.
- Hauligali22
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
21 Aug 2024 22:00 #308346
by Hauligali22
Replied by Hauligali22 on topic Closed Loop Computer Vision Enabled CNC
Thank you. Without your incredible help, I would still be searching for how to implement this project. My current CNC machine is a 5axismaker with Mach4 software and Pokeys57U hardware. After reaching out to the vendor, they confirmed it can be converted to run LinuxCNC and suggested I follow this post: forum.linuxcnc.org/24-hal-components/29816-pokeys-ethernet. My first step will be converting the machine to LinuxCNC as well as figuring out LinuxCNC. Then, I'll create a custom HAL to apply external offsets to the original g-code using data from the camera using OpenCV. I feel like I've done adequate research beforehand but the actual implementation is where I will see how difficult this gets. While I'm not as experienced with CNC control, I'm more comfortable with programming but we will see. Hopefully, I can show the completed project as soon as possible
!
Please Log in or Create an account to join the conversation.
Time to create page: 0.131 seconds