Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2016-03-27 20:45:48.318 DEBUG [main] Capturing frame #23...
- 2016-03-27 20:45:48.319 DEBUG [main] Got frame #23: shape=(480, 640, 3)
- 2016-03-27 20:45:48.319 DEBUG [main] Saving frame #23 as 'images/frame_0023.png'
- 2016-03-27 20:45:48.335 DEBUG [main] Processing frame #23...
- 2016-03-27 20:45:48.335 DEBUG [process_frame] Resized frame: shape=(240, 320, 3)
- 2016-03-27 20:45:48.335 DEBUG [process_frame] Detecting faces...
- 2016-03-27 20:45:48.349 DEBUG [process_frame] Got 1 matches.
- 2016-03-27 20:45:48.349 DEBUG [process_frame] Match #0: pos=(x=72, y=76) size=(w=144, h=144)
- 2016-03-27 20:45:48.349 DEBUG [process_frame] Scaled bounding box: pos=(x=72, y=61) size=(w=144, h=201)
- 2016-03-27 20:45:48.349 DEBUG [process_frame] Frame ROI: shape=(179, 144, 3)
- 2016-03-27 20:45:48.351 DEBUG [process_frame] Resized face mask: shape=(201, 144, 3)
- OpenCV Error: Assertion failed (mask.size == src1.size) in cv::binary_op, file ..\..\..\modules\core\src\arithm.cpp, line 1036
- Traceback (most recent call last):
- File "face.py", line 185, in <module>
- main()
- File "face.py", line 159, in main
- processed = process_frame(frame_number, frame, face_cascade, face_mask, SCALING_FACTOR)
- File "face.py", line 108, in process_frame
- masked_frame = cv2.bitwise_and(frame_roi, frame_roi, mask=mask_inv)
- cv2.error: ..\..\..\modules\core\src\arithm.cpp:1036: error: (-215) mask.size == src1.size in function cv::binary_op
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement