readNetFromONNX possibly broken? (ofxCv/ofxOpenCV)

Author: sourya-senCreated Sep 4, 2026Updated Sep 9, 2026

Cannot confirm, but multiple ONNX files I tried to load (from different years in case of architectural changes) are leading to SIGABRT.

libc++abi: terminating due to uncaught exception of type cv::Exception: OpenCV(4.11.0) /Users/runner/work/apothecary/apothecary/build/opencv/modules/dnn/src/onnx/onnx_importer.cpp:278: error: (-5:Bad argument) Can't read ONNX file: (pah/to/file) in function 'ONNXImporter'

File exists in the bin/data folder.

Source: openframeworks/openFrameworks