Paakhi Maheshwari
Paakhi Maheshwari
Hi, thanks so much for replying! Replaced the `gvapython` code to ``` def process_frame(frame: VideoFrame): return frame ``` and the resultant fps is around `46 fps`. It seems that a...
Thank you for your advice! I did do that, simplified the processing a bit and managed to bring the `~14 fps` speed to around `30 fps`. For my use case,...
Hi! Thank you so much for replying. Tried this: `gvapython module=/home/dlstreamer/config/scripts/zone_detection.py class=FrameProcessor kwarg={\\"zone_config\\":\\"$ZONE_JSON\\"} ! \` The same issue is showing up (see attached screenshot in my previous comment).
`Zone JSON: "{\"licenses\": [{\"name\": \"\", \"id\": 0, \"url\": \"\"}], \"info\": {\"contributor\": \"\", \"date_created\": \"2025-04-24T11:03:29.957Z\", \"description\": \"Zone Graph Points\", \"url\": \"\", \"version\": \"1.0\", \"year\": \"2025\"}, \"categories\": [{\"id\": 1, \"name\": \"no_entry_zone\", \"supercategory\":...
You're right, double-escaping shpuld resolve this since I need the whole JSON-string. Right now, I've found a workaround by storing the zone json files temporarily and sending the file path...