You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can follow the pseudo-code:
def occulsion_exists_in_face(bboxes):
# a and b in bboxes, interArea is intersection
return interArea(a, b) > thres
bboxes = yolofacev2.detect(img)
test = occulsion_exists_in_face(bboxes)
Hello,
What is the same code to do the following:
bool test = occulsion_exists_in_face(img)
I simply want to pass an image of a face and determine whether there exists an occlusion or not.
Thanks!
The text was updated successfully, but these errors were encountered: