L2CS-Net
L2CS-Net copied to clipboard
Default to empty result: Fixes Ahmednull/L2CS-Net#22
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.