Closed NatureViski closed 2 years ago
Hi,
The batch option requires to download and optimize an AI model (like any object detection model) at first launch. It is not very well handled in the Unity plugin and it looks like a freeze/crash. I would recommend to run the object detection bird view sample (with the Batching option enabled : https://github.com/stereolabs/zed-examples/blob/master/object%20detection/birds%20eye%20viewer/cpp/src/main.cpp#L40 ) once. It will download and optimize the model while printing without looking like a crash (you have some infos the console explaining you what is going on).
Best regards, Benjamin Vallon
I have run all the samples and have the AI models in the stereolabs/resources folder and their optimized versions. This is not the problem
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days
Preliminary Checks
Description
Enabling batch parameters in sl.dll_ObjectDetectionParameters at start causes Unity to freeze and a memory leak
Steps to Reproduce
Expected Result
Object Detection to start
Actual Result
Unity Freezes and has a memory leak
ZED Camera model
ZED2
Environment
Anything else?
No response