User Tools


To determine if the Visual ink detector is a viable solution for you, you'll need to setup a command line controlled camera that can send pictures to sysout. Here are the specific steps:

  1. Setup the imagingCommand in your configuration file: config.properties. (If you are using a Raspberry Pi camera, this step is already complete.)
  2. Draw a perfect circle on the side of your transparent ink vat. The circle should be placed in such a way that both the high and low ink levels intersect your circle as horizontal secant lines.
  3. Fill your vat with water at a variety of levels and perform several tests with the test button on the printer setup page:

The algorithm has been calibrated to have the accuracy of about +-7% of the actual ink level. To learn more about how this percentage was calculated take a look at our test suite https://github.com/area515/Creation-Workshop-Host/blob/ab87098dc3bc675400e3f51e8d08a6a663a26c8b/host/src/test/java/org/area515/resinprinter/inkdetection/visual/TestVisualPrintMaterialDetector.java