Page 1 of 1
how to pass frame ids from zm to mlapi on remote server?
Posted: Sat Oct 30, 2021 6:22 pm
by ranger21
The question is
how to pass frame ids to stream_sequence from zm to mlapi on remote server?
i have some logic on zm i need to pass to mlapi on remote server for each event...
Re: how to pass frame ids from zm to mlapi on remote server?
Posted: Sat Oct 30, 2021 6:44 pm
by tsp84
Add it to the stream options right before
m.set_ml_sequence
m.detect_stream
In zm_detect.py function of remote_detect()
Re: how to pass frame ids from zm to mlapi on remote server?
Posted: Sun Oct 31, 2021 1:17 pm
by ranger21
Turns out i had to remove stream_sequence from mlapiconfig.ini and then mlapi remote server uses stream_sequence from objectconfig.ini of ZM. I've already have script which generates unique objectconfig.ini for each event with desired frames to analyze.
Thanks!
It's kinda hacky solution for me, but it works
viewtopic.php?t=30232
Re: how to pass frame ids from zm to mlapi on remote server?
Posted: Sun Oct 31, 2021 4:22 pm
by tsp84
Oh yeah, I found that out the hard way too.
I didn't quite understand what you were meaning. I thought you ment programmatically in the python files.