This component can be used to stack together multiple ArUco Detector outputs by default. It uses a simple Python list to join all the outputs (which must have the same message format) and sends the whole list as a repeated field. It is therefore necessary to take into account the size of the message to send due to gRPC/system memory constraints.
This component can also be used with other messages by doing the following:
- Change the input and output messages in the
.protofile. - Compile the new
.protofile and copy the resulting files into thesrcfolder. - Change lines 35 and 36 in
src/main.pyto match the newly created message types in the.protofile.
The asset can be built with the following command:
$ docker build .and it can be deployed using the command:
$ docker run -p 8061:8061 QUEUE
The -p flag is used to expose the 8061 docker port according to AI4EU specs.