Commit c720a4ae authored by 赵威's avatar 赵威

update name

parent 22ae3621
......@@ -60,8 +60,8 @@ def save_diary_image_info(save_file, face_to_vec_f):
with open(save_file, "w") as f:
for item in results:
diary_id = item["_id"]
# before_cover_url = item["_source"]["before_ocver_url"] + "-w"
after_cover_url = item["_source"]["after_ocver_url"] + "-w"
# before_cover_url = item["_source"]["before_cover_url"] + "-w"
after_cover_url = item["_source"]["after_cover_url"] + "-w"
print("count: " + str(count) + " " + str(diary_id))
img = url_to_ndarray(after_cover_url)
if img.any():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment