Open DevinBayly opened 3 weeks ago
I'll be using opencv EAST for text detection https://pyimagesearch.com/2018/08/20/opencv-text-detection-east-text-detector/
https://docs.opencv.org/4.x/d4/d43/tutorial_dnn_text_spotting.html#autotoc_md437
or even just using this https://www.geeksforgeeks.org/text-detection-and-extraction-using-opencv-and-ocr/
migiht make more sense to avoid the large dependency of opencv and do skimage instead https://scikit-image.org/docs/stable/auto_examples/edges/plot_contours.html then apply bounding box on the contours
or even better https://github.com/JaidedAI/EasyOCR
this will get us a bbox with 2 lines of code. but a large install is required
work needs to be uploaded to this folder https://github.com/DevinBayly/vis-sieve/tree/label_studio/visualization/label_studio
ideas for things that we can use to determine if an image is not likely to be a visualization