.. _node-detection-events: ``DetectionEvents`` =================== :bdg-primary:`processing` :bdg-secondary-line:`extra: detection-events` Turn the detections attached to frames into small JSON events, with at most one event per class every ``interval`` seconds. :Node type: ``DetectionEvents`` :Input: ``ImagePayload`` with ``meta['detections']`` :Output: ``ObjectPayload`` :Extra: ``detection-events`` .. code-block:: console $ pip install "juturna-nodes[detection-events]" The node README describes the input it reads, the events it emits, and the limits of the node. How it works ------------ .. include:: detection_events.readme0.inc :parser: myst_parser.sphinx_ Arguments --------- .. include:: detection_events.readme1.inc :parser: myst_parser.sphinx_ Input message ------------- .. include:: detection_events.readme2.inc :parser: myst_parser.sphinx_ Output message -------------- .. include:: detection_events.readme3.inc :parser: myst_parser.sphinx_ Limits ------ .. include:: detection_events.readme4.inc :parser: myst_parser.sphinx_ License ------- .. include:: detection_events.readme5.inc :parser: myst_parser.sphinx_ Configuration ------------- Default node arguments, as defined in the node ``config.toml`` file. Any of them can be overridden in the node ``configuration`` of a pipeline. .. literalinclude:: ../../../../juturna_nodes/src/juturna/nodes/_detection_events/config.toml :language: toml Pipeline usage -------------- .. code-block:: json { "name": "events", "type": "DetectionEvents", "configuration": { "interval": 2.0 } } Reference --------- .. autoclass:: juturna.nodes._detection_events.detection_events.DetectionEvents :no-index: