-
Notifications
You must be signed in to change notification settings - Fork 142
Description
Traceback (most recent call last):
File "/home/greon/.local/bin/deface", line 8, in
sys.exit(main())
File "/home/greon/.local/lib/python3.8/site-packages/deface/deface.py", line 383, in main
image_detect(
File "/home/greon/.local/lib/python3.8/site-packages/deface/deface.py", line 191, in image_detect
anonymize_frame(
File "/home/greon/.local/lib/python3.8/site-packages/deface/deface.py", line 82, in anonymize_frame
draw_det(
File "/home/greon/.local/lib/python3.8/site-packages/deface/deface.py", line 42, in draw_det
blurred_box = cv2.blur(
cv2.error: OpenCV(4.7.0) /io/opencv/modules/imgproc/src/box_filter.dispatch.cpp:446: error: (-215:Assertion failed) !_src.empty() in function 'boxFilter'
In addition to the error, there is a problem that the position of the blur does not settle properly on the face if it is not a 4:3 ratio image. How can I solve this?