Face Recognition package¶
Submodules¶
face_recognition_engine module¶
- class dronebuddylib.atoms.facerecognition.face_recognition_engine.FaceRecognitionEngine(algorithm: FaceRecognitionAlgorithm, config: EngineConfigurations)[source]¶
Bases:
object
The FaceRecognitionEngine class handles face recognition operations.
face_recognition_impl module¶
i_face_recognition module¶
- class dronebuddylib.atoms.facerecognition.i_face_recognition.IFaceRecognition(engine_configurations: EngineConfigurations)[source]¶
Bases:
IDBLFunction
Interface for face recognition functionality.
- abstract recognize_face(image) list [source]¶
Recognize faces in an image.
- Parameters:
image – The image containing faces to be recognized.
- Returns:
A list of recognized faces.
- Return type:
list
- abstract remember_face(image, name) bool [source]¶
Associate a name with a face in an image.
- Parameters:
image – The image containing the face to be associated with a name.
name (str) – The name to be associated with the face.
- Returns:
True if the association was successful, False otherwise.
- Return type:
bool