Class QRCodeServiceTest
java.lang.Object
test.de.iip_ecosphere.platform.kiServices.functions.images.QRCodeServiceTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidMethod to quickly test functionality.static StringTesting the java version of the QR code detection.static StringtestPythonFallback(String base64Image) Test if the python fallback solution is running.
-
Field Details
-
TEST_FILE_PATH
- See Also:
-
TEST_FILE_OUT_PATH
- See Also:
-
-
Constructor Details
-
QRCodeServiceTest
public QRCodeServiceTest()
-
-
Method Details
-
main
Method to quickly test functionality.- Parameters:
args- Args.
-
testPythonFallback
Test if the python fallback solution is running.- Parameters:
base64Image- the image in base64 version.- Returns:
- the resutlt of the python qr scann.
-
testJavaQRCodeDetection
Testing the java version of the QR code detection.- Parameters:
image- the image to test the detection with.- Returns:
- the string that was detected.
-