Quick fix for face rec (#16226)

* Check both

* Fix api order
This commit is contained in:
Nicolas Mowen
2025-01-29 17:02:40 -07:00
committed by Blake Blackshear
parent 9236898a9d
commit fb316874ef
2 changed files with 28 additions and 28 deletions

View File

@@ -215,7 +215,7 @@ class FaceProcessor(RealTimeProcessorApi):
if not self.landmark_detector:
return None
if not self.recognizer:
if not self.label_map or not self.recognizer:
self.__build_classifier()
if not self.recognizer: