测试代码

This commit is contained in:
2024-06-21 10:16:12 +08:00
parent 738642f932
commit ebb7873c0a
2 changed files with 7 additions and 2 deletions

View File

@@ -2,7 +2,6 @@ import json
import logging
import math
import os
import pdb
import sys
import tempfile
import time
@@ -97,7 +96,6 @@ def information_extraction(ie, phrecs):
for phrec in phrecs:
pic_path = ucloud.get_private_url(phrec.cfjaddress)
if pic_path:
pdb.set_trace()
split_result = split_image(pic_path)
for img in split_result:
with tempfile.NamedTemporaryFile(delete=False, suffix=".jpg") as temp_file: