ITADN

Update face_preprocess.py

#620Pull RequestYash-2707 创建于 2024-10-27
Y
Yash-2707commented
Utility Function read_image: Centralizes the image reading and mode/layout handling logic. Added type hints for better code clarity and type checking. Added dynamic image size handling. Error Handling: Improved error handling and assertions for robustness. Added comments for better understanding of the code.
合并状态:未合并 0 条评论