Add data to draw mask in deepstream

don’t understand your question, can you please provide detailed informantion?
For exmaple,

I like to add in data ==> what kind of data?

How can I populate mask infos during run time and during initialization? ==> seriously depends on what you want to add?

Any sample for that? ==> the ask is not clear, not sure what we should provide. And, did you try to do it by yourself? Any difficulty did you meet?