harmoni_detcustom.detcustom_service
Module Contents
Classes
Face expression recognition detector based off of FaceChannels |
Functions
|
- class harmoni_detcustom.detcustom_service.CustomDetector(name, param)
Bases:
harmoni_common_lib.service_manager.HarmoniServiceManagerFace expression recognition detector based off of FaceChannels :param detector_threshold: Confidence threshold for faces. Positive values
will return fewer detections, and negative values more detections. This value can be changed at any time with no major side-effects.
- start(rate='')
- Parameters:
rate (int) – How often the detector should run per second (Hz). Note that this rate should be limited by subscribed camera framerate. TODO: actually use this rate. Rate currently matches camera publish rate regardless of this setting
- stop()
Will interrupt the long running action
- Raises:
NotImplementedError – To be used, this function should be overwritten by the child class.
- pause()
Will interrupt the long running action, preventing it from continuing until start is called again.
- Raises:
NotImplementedError – To be used, this function should be overwritten by the child class.
- audio_detect_callback(data)
Uses image to detect and publish face info. :param data: String from the openface :type data: data
- detect_callback(data)
Uses image to detect and publish face info. :param data: String from the openface :type data: data
- harmoni_detcustom.detcustom_service.main()