Skip to content
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

How to use? #14

Open
SonwYang opened this issue May 15, 2023 · 1 comment
Open

How to use? #14

SonwYang opened this issue May 15, 2023 · 1 comment

Comments

@SonwYang
Copy link

Does this repo support bbox prompt to saliency detection?

@OroChippw
Copy link
Owner

OroChippw commented May 15, 2023

Does this repo support bbox prompt to saliency detection?

0、Support bbox prompt to saliency detection ,you can see it in

BoxInfo boxinfo(773, 187, 1465, 896);

and
float inputPointsValues[] = {(float)applyCoords.pt.x, (float)applyCoords.pt.y ,\

If you meet some wrong:
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
sam.cpp is not actually used in the project and can be eliminated,You can directly look at these three files ,copy it to rebuild,SAMOnnxRunner.cpp 、 SAMOnnxRunner.h 、main.cpp
2、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😃

@OroChippw OroChippw reopened this Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants