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

Example code #1

Open
yukimasano opened this issue Apr 22, 2022 · 1 comment
Open

Example code #1

yukimasano opened this issue Apr 22, 2022 · 1 comment

Comments

@yukimasano
Copy link

Hi,
I'm interested in using your repo, but am struggling a bit: I get that we can pass the image and the masks in pdci_main.cpp, but where would we provide the path to an image database? It'd be great if you could provide some sample commands! :) Thanks

@XrizZ
Copy link
Owner

XrizZ commented Apr 22, 2022

Hi there,

Its been a long time, since I looked at the code ;)

The path to the descriptor files was hard coded in bool CPDCIImage::OpenDescriptorFiles(), so you don't have to pass this as a parameter in pdci_main.cpp, instead, change the code in the load function. Note that the image filenames are stored in the m_gist object, the correct path to the image is written to the descriptor by the retrieval framework. The 3rd party dependency "Retrieval Framework" should be run on your Database beforehand to create the descriptor files.

Hope this helps.

Cheers,
Chris

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