harmoni_opensmile.opensmile_service
Module Contents
Classes
Face expression recognition detector based off of FaceChannels |
Functions
|
- class harmoni_opensmile.opensmile_service.OpenSmileDetector(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.
- _opensmile_process(data)
- detect_callback(data)
Uses audio to detect and publish that the opensmile has processed the audio file info. :param data: String from the opensmile :type data: data
- harmoni_opensmile.opensmile_service.main()