typqxq / ktamv Goto Github PK
View Code? Open in Web Editor NEWKlipper Tool Alignment (using) Machine Vision
License: GNU General Public License v3.0
Klipper Tool Alignment (using) Machine Vision
License: GNU General Public License v3.0
I am running kTAMV on a Voron Tridex with two toolheads.
After installation, and rebooting my Tridex, I see the following errors when running sudo journalctl -e
:
Apr 01 13:02:38 gemeaux systemd[1]: kTAMV_server.service: Scheduled restart job, restart counter is at 1.
Apr 01 13:02:38 gemeaux systemd[1]: Stopped kTAMV_server.service - Server component for kTAMV. A tool alignment tool for Klipper using machine vision..
Apr 01 13:02:38 gemeaux systemd[1]: Started kTAMV_server.service - Server component for kTAMV. A tool alignment tool for Klipper using machine vision..
Apr 01 13:02:38 gemeaux python[1655]: Traceback (most recent call last):
Apr 01 13:02:38 gemeaux python[1655]: File "/home/pi/kTAMV/server/ktamv_server.py", line 3, in <module>
Apr 01 13:02:38 gemeaux python[1655]: from flask import Flask, jsonify, request, send_file #, send_from_directory
Apr 01 13:02:38 gemeaux python[1655]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 01 13:02:38 gemeaux python[1655]: File "/usr/lib/python3/dist-packages/flask/__init__.py", line 5, in <module>
Apr 01 13:02:38 gemeaux python[1655]: from .app import Flask as Flask
Apr 01 13:02:38 gemeaux python[1655]: File "/usr/lib/python3/dist-packages/flask/app.py", line 30, in <module>
Apr 01 13:02:38 gemeaux python[1655]: from werkzeug.urls import url_quote
Apr 01 13:02:38 gemeaux python[1655]: ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/home/pi/.local/lib/python3.11/site-packages/werkzeug/urls.py)
Apr 01 13:02:38 gemeaux systemd[1]: kTAMV_server.service: Main process exited, code=exited, status=1/FAILURE
Apr 01 13:02:38 gemeaux systemd[1]: kTAMV_server.service: Failed with result 'exit-code'.
I am running another server that also uses Flask, but it's using Flask 3.0.0 in a virtual environment container, and I am wondering if that could be causing this error with kTAMV?
So Ember Prototypes has a nifty USB webcam with lights, which seems tailor made for this application with short focus length https://www.emberprototypes.com/products/cxc
I'm going to (eventually) see if I can add another motor or something and swing this out into a known location, in order to automate XY tool head offset, and in doing some searches, found this project. Seems like you pretty much have the software side done for this, with this project.
Question though, it looks like all the ML/Compute happens off the Mainsail host? So on a CB1/CM4 on BigTree Manta, I'd still need another system setup elsewhere on the network to host the heavy lifting?
Hey,
I've spent quite some time with the automatic calibration, but unfortunately, it fails for me very often, almost always.
It seems like it doesn't correctly recognize the nozzle center.
The software identifies all sorts of things as the nozzle center or a circle. I've tried many things already.
The image quality is good
the nozzle is very clean
I've tried getting closer and moving further away
and I've tested various lighting conditions extensively, but unfortunately, without success.
Is there something I might be overlooking?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.