OroChippw / SegmentAnything-OnnxRunner

SegmentAnything-OnnxRunner is an example using Meta AI Research's SAM onnx model in C++.The encoder and decoder of SAM are decoupled in this repository.
MIT License
97 stars 19 forks source link

The imported project "C:\Users\temp_local\Downloads\OpencvProps\OpenCVd.props" was not found. Confirm that the expression in the Import declaration "..\..\..\OpencvProps\OpenCVd.props" is correct, and that the file exists on disk. #13

Open tempdeltavalue opened 1 year ago

tempdeltavalue commented 1 year ago

Hi.. I tried to run your project and got this...

tempdeltavalue commented 1 year ago

Cannot open include file: '../SAMWrapper/SAM.h': No such file or directory

OroChippw commented 1 year ago

Cannot open include file: '../SAMWrapper/SAM.h': No such file or directory nice to see your isuue

  1. OpenCVd.props is a property table that I use myself. You can use any onnxruntime property table instead. I use version 1.14.1
  2. sam.cpp is not actually used in the project and can be eliminated,You can directly look at these three files,SAMOnnxRunner.cpp 、 SAMOnnxRunner.h 、main.cpp
  3. This is the first week for me to learn to use Cpp language and use Cpp to run the onnxruntime. I will continue to improve it in the future. I am very glad that you can help me point out the problem Thanks again😃