L2CS-Net icon indicating copy to clipboard operation
L2CS-Net copied to clipboard

Default to empty result: Fixes Ahmednull/L2CS-Net#22

Open kbvatral opened this issue 2 years ago • 0 comments
trafficstars

Implemented a fix for issue #22, where modern versions of numpy would ValueError when trying to process a frame without any detected faces. The fix simply defaults the return value of the pipeline to an empty numpy array when there are no faces detected, and continues with the current logic if there are faces detected.

kbvatral avatar Sep 28 '23 16:09 kbvatral