Text overlay on video stream showing variable value from REST API
AnsweredHi,
How could I show a variable Text overlay on video stream showing value obtained from a REST API?
Example... get sensordata from sensor via REST API and display as text overlay on video stream.
-
Hello Harald,
You could develop an analytics plugin, by using Metadata SDK, which would display a bounding box with attributes.
One of the attributes could have a text value of sensor data. The bounding box coordinates could be set to make it look like a pixel-wide line.
0 -
In version 4.2 there will be improvement in the rule engine.
It will introduce a special syntax that would allow sending Event parameters in actions with customizable content (e.g., "Do http request", “Push notifications”, "Text overlay" actions)
E.g. syntax like this:
-
{event.source}
-
{event.caption}
-
{event.description}
-
{event.timestamp}
For your case would be possible to create a rule
On Generic Event -> Show text overlay
Then trigger generic event over API and provide sensor data in the event description field, for example
0 -
Please sign in to leave a comment.
Comments
2 comments