java.lang.Object
test.de.iip_ecosphere.platform.kiServices.functions.images.QRCodeServiceTest

public class QRCodeServiceTest extends Object
  • Field Details

  • Constructor Details

    • QRCodeServiceTest

      public QRCodeServiceTest()
  • Method Details

    • main

      public static void main(String[] args)
      Method to quickly test functionality.
      Parameters:
      args - Args.
    • testPythonFallback

      public static String testPythonFallback(String base64Image)
      Test if the python fallback solution is running.
      Parameters:
      base64Image - the image in base64 version.
      Returns:
      the resutlt of the python qr scann.
    • testJavaQRCodeDetection

      public static String testJavaQRCodeDetection(BufferedImage image)
      Testing the java version of the QR code detection.
      Parameters:
      image - the image to test the detection with.
      Returns:
      the string that was detected.