-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run ort with opencv #145
Comments
Sorry but this isn't anything ort can fix. See here: https://groups.google.com/g/protobuf/c/RZRCnOywdSk/m/s5QvifLCBgAJ It seems like OpenCV and ONNX Runtime are both using protobuf with reflection. I don't think it can be disabled in either library. |
Does it mean we won't be able to use both of these packages in a single project in the future? |
Probably not, unless you can compile either OpenCV or ONNX Runtime to disable the problematic protobufs. |
Hey, just heads-up, this is no longer true. I've managed to get it working on both Linux and Windows. |
Can't run ort 2.0.0-alpha.4 with opencv 0.88.7 on my linux machine (haven't tried win/mac). Here is the simplest set up for repro.
sample.rs
Cargo.toml
Compilation
The text was updated successfully, but these errors were encountered: