FaceMaskDetection
FaceMaskDetection copied to clipboard
sample code for opencv dnn with caffe model
sample code for opencv dnn with caffe model
it is not working.
it works with this
def getOutputsNames(net):
layersNames = net.getLayerNames()
# return [layersNames[i[0] - 1] for i in net.getUnconnectedOutLayersNames()]
return ["loc_branch_concat", "cls_branch_concat"]