Stereo0001 commited on
Commit
7a24815
1 Parent(s): bc3d87a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ import cv2
79
  import numpy as np
80
  import tensorflow as tf
81
  from tensorflow import keras
82
- from tensorflow.keras_ocr import pipeline # 使用tf.keras_ocr
83
 
84
  def detect_and_draw_lines(img, rho=1, theta=np.pi/180):
85
  """Detect lines in the image and draw them."""
 
79
  import numpy as np
80
  import tensorflow as tf
81
  from tensorflow import keras
82
+ from keras_ocr import pipeline # 使用tf.keras_ocr
83
 
84
  def detect_and_draw_lines(img, rho=1, theta=np.pi/180):
85
  """Detect lines in the image and draw them."""