mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
Update image_utils.py
This commit is contained in:
parent
5fabb974ce
commit
3ad955abf9
@ -8,6 +8,8 @@ from pathlib import Path
|
||||
import cv2
|
||||
import base64
|
||||
import imagehash
|
||||
ImageFile.LOAD_TRUNCATED_IMAGES = True
|
||||
Image.MAX_IMAGE_PIXELS = None
|
||||
|
||||
|
||||
def compare_image_with_hash(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user