How to send dynamic message from plugin to NX meta and show it as overlay message on screen?

In Progress

Comments

3 comments

  • Avatar
    Ichiro

    Hi Sunny,

    Thanks for the question. But can you help to elaborate what the issue is regarding to “dynamic message” ?

    What are the user scenarios?
    Thanks.

    0
    Comment actions Permalink
  • Avatar
    Sunny

    Hi Ichiro,

    Thank you for your prompt reply.

    I am currently working on adding an image captioning function to a plugin. The idea is for the plugin to analyze an image and return a dynamically sized caption (as a string), which could vary in length. For example:

    • "There are three people."
    • "There are four cars and two motorcycles."

    Could you please let me know if it is possible for the plugin to return such captioning strings to NX Meta and display them as subtitle messages on the screen?

    Thank you for your guidance!

    Best regards,
    Sunny

    0
    Comment actions Permalink
  • Avatar
    Ichiro

    Hi Sunny,

    I think this is a possible by using the text overlay.
    However, I am not sure how to you generate the text, as a result, we can only provide the feature introduction.

    In the SDK sample, STUB:event, you can trigger the generic event according to the analytics result, then you may bring the text your desired accordingly to the action. And this would be likely fit your requirements. i.e. 
    On desktop client, you will see the event from the plugins, and then choose the action : Show text overlay.

     

    Please try to implement this to see if that fits. thanks.

    0
    Comment actions Permalink

Please sign in to leave a comment.