How to test if the AI failure detection works properly on my 3D printer?
First Test of the AI on your 3D Printer
Test the AI system after installing it so you can set the settings properly to work with your camera, lighting, and printer. Each configuration will be diffirent, so the default settings may not work well for you.
Follow the steps below according to which system you are using.
OctoPrint AI Testing Steps
Note Don't forget to disable
Virtual Printer
after testing the AI system, otherwise your printer won't physically print any jobs that you tell it to after this setup step.
- Navigate to
Settings -> Plugins -> Virtual Printer
and enable theVirtual Printer
. Save the settings and exit the settings page. - Upload any G-Code file to your OctoPrint instance and start a Virtual Print with that file.
- Navigate to the
PrintWatch
tab in OctoPrint and wait for the current webcam frame to load in the preview - The AI preview and plot will update every 10 seconds. Add some spaghetti to the print bed so it is visible in the webcam frame and wait for the AI preview to update.
- The preview will place red boxes over areas where spaghetti is detected and the plot will begin to increase in value slowly.
Klipper AI Testing Steps
- Start any print job.
- The AI Defect Score meter on the
Dashboard
page will update every 10 seconds. Add some spaghetti to the print bed so it is visible in the webcam frame and wait for the AI preview to update. - The meter will slowly increase in value when spaghetti is detected. If spaghetti is being detected at a confidence of 0.9, it may take several cycles before the defect score actually reaches the value of 0.9.
RepRapFirmware or Duet3D AI Testing Steps
- Enable
Test Mode
with theEnable Test Mode
button. - The AI preview and plot will update every 10 seconds. Add some spaghetti to the print bed so it is visible in the webcam frame and wait for the AI preview to update.
- The preview will place red boxes over areas where spaghetti is detected and the plot will begin to increase in value slowly.