arxyzan commited on
Commit
0a071ab
1 Parent(s): ff7342b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -24,8 +24,8 @@ from hezar.utils import draw_boxes
24
 
25
 
26
  model = Model.load("hezarai/CRAFT", device="cuda")
27
- outputs = model.predict("../assets/sample.png")
28
- image = cv2.imread("../assets/O1.png")
29
  result_image = draw_boxes(image, outputs[0]["boxes"])
30
  cv2.imwrite("detected.png", result_image)
31
  ```
 
24
 
25
 
26
  model = Model.load("hezarai/CRAFT", device="cuda")
27
+ outputs = model.predict("../assets/text_detection_example.png")
28
+ image = cv2.imread("../assets/text_detection_example.png")
29
  result_image = draw_boxes(image, outputs[0]["boxes"])
30
  cv2.imwrite("detected.png", result_image)
31
  ```