Custom-OCR-YOLO
Custom-OCR-YOLO copied to clipboard
YOLO for custom object detection and passing the detected objects to Tesseract
Erreur
https://github.com/Borahb/Custom-OCR-YOLO/blob/20d7ca66489c0e3513b0a29aa89ebd3445cd48d2/Custom_OCR.py#L23 output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()]
**Exception has occurred: IndexError** invalid index to scalar variable. File "Custom-OCR-YOLO-master\Custom_OCR.py", line 23, in output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()] File "Custom-OCR-YOLO-master\Custom_OCR.py", line 23, in get_output_layers output_layers...
The Link failure https://drive.google.com/file/d/1o6_3dcsMd9sUFblvyWyraeuMEifzE1YA/view?usp=sharing 
When crop_img is passed through tesseract, tesseract could not recognize each and every image . But when each image is passed to the tesseract individually, it could recognize them with...