Some time I want to test my applications use InputImage, I think add some constructor for test is a good idea.
Like:
final inputImageForTextRcognitionTest = InputImage.textExampleImage();
final textRecognizer = TextRecognizer(script: script);
final result = await textRecognizer.processImage(inputImageForTextRcognitionTest);
...
Some time I want to test my applications use InputImage, I think add some constructor for test is a good idea.
Like:
Thanks.