|
@@ -147,10 +147,10 @@ def get_zero_degree_image(img):
|
|
|
|
|
|
def table_res(im, ROTATE=-1):
|
|
|
im = im.copy()
|
|
|
- cv2.imwrite('1.jpg', im)
|
|
|
+ cv2.imwrite('before-rotate.jpg', im)
|
|
|
# 获取正向图片
|
|
|
img = get_zero_degree_image(im)
|
|
|
- cv2.imwrite('2.jpg', img)
|
|
|
+ cv2.imwrite('after-rotate.jpg', img)
|
|
|
try:
|
|
|
table_engine_lock.acquire()
|
|
|
# cv2.imwrite('3.jpg', img)
|