Skip to content

Commit

Permalink
Fix: Added self-trained model
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed May 14, 2024
1 parent c8e1dda commit 8f58809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Character-Recognition/ocr.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def perform_ocr_on_image(image):
return ocr_result, annotated_image


def annotate_image(image, ocr_result):
def annotate_image(image):
boxes = pytesseract.image_to_boxes(image)
annotated_image = image.copy()
h, w = image.shape[:2]
Expand Down

0 comments on commit 8f58809

Please sign in to comment.