I tried using the zoo model text-detection-0004 after running it trough the blob converter (default parameters).
I started by just trying to get the model set up (no other nodes) and already there I get an error about memory usage.
I read about reducing memory, but I don't seem to get lower than this. Are there more things to tweak or the model simply is too big?
[2.14] [105.592] [NeuralNetwork(3)] [error] Tried to allocate '178972736'B out of '104154623'B available.
[2.14] [105.592] [NeuralNetwork(3)] [error] Neural network executor '0' out of '2' error: OUT_OF_MEMORY
[2.14] [106.246] [system] [info] Memory Usage - DDR: 241.60 / 340.93 MiB, CMX: 2.18 / 2.50 MiB, LeonOS Heap: 22.20 / 77.58 MiB, LeonRT Heap: 6.84 / 41.37 MiB
Snippet for the cam setup (OAK-D)
colorCam->setPreviewSize(1280, 768);
colorCam->setResolution(dai::ColorCameraProperties::SensorResolution::THE_1080_P);
colorCam->setInterleaved(false);
colorCam->setBoardSocket(dai::CameraBoardSocket::RGB);
colorCam->setPreviewKeepAspectRatio(false);
colorCam->setColorOrder(dai::ColorCameraProperties::ColorOrder::BGR);