11 lines
297 B
Python
11 lines
297 B
Python
import time
|
|
|
|
from paddle_detection import detector
|
|
from util import image_util
|
|
|
|
if __name__ == '__main__':
|
|
image = image_util.read("paddle_detection/docs/images/000000014439.jpg")
|
|
start = time.time()
|
|
images = detector.get_book_areas(image)
|
|
print(f"耗时:{time.time() - start}")
|