AxisCommunications / acap3-examples

Example code for APIs and features in AXIS Camera Application Platform (ACAP) version 3
Apache License 2.0
55 stars 20 forks source link

How to display filtered video frames in ACAP application? #198

Closed WilfR closed 1 year ago

WilfR commented 1 year ago

Issue description

I am interested in writing an ACAP application that would operate roughly as follows: Incoming video frames would be "filtered" in some manner (that is, by applying some convolution filter or similar operation, NOT "filtered" in the sense of selecting only frames that meet some criterion) and then the ACAP would display the filtered video frames to the user. To fix ideas, the "acap3-examples/using-opencv" is a useful prototype to demonstrate how to to the filtering operation on incoming video. However that example does not attempt to display the filtered output video, but instead writes a syslog message for each filtered frame. Is it possible to amend the example to illustrate how to have the ACAP display the filtered output video rather than the original input video? If it is not realistic to update the example, can you tell me if what I am trying to do is possible, and if so, point me in the right direction? Thanks!