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 I can run this app? #20

Open
albingit70 opened this issue Dec 1, 2019 · 0 comments
Open

How I can run this app? #20

albingit70 opened this issue Dec 1, 2019 · 0 comments

Comments

@albingit70
Copy link

Hi @cheind
I downloaded your code to my computer(Windows 10, Visual Studio 2015, OpenCV 4.1), and compiled successfully.
When i try to run inpaint_image_criminisi.exe, I couldn't see the final image.

After building you might want to try out inpaint_image_criminisi

Launch inpaint_image_criminisi <image>.
Use the sliders on top of the UI to adjust patch and stencil size. Patch size refers to the size of texels that will be used during inpainting. It should be roughly the size of minimum texture feature size you intend to inpaint. Stencil size refers to radius of the interactive drawing tools explained in the following 2 steps.
While holding your left mouse button pressed, move your mouse to mark the target area to be inpainted.
While holding your right mouse button pressed, move your mouse to mark the source area from which samples can be copied to target area. If you skip this step, the entire image without source region is used as source area.
Press e to toggle between editing / inpaint mode.
Press x to quit.

My steps:
1). Open command prompt and move to the folder which contain inpaint_image_criminisi.exe
2). Run inpaint_image_criminisi.exe test1.jpg
3). It showing an window. I select some region with mouse left click. Also select some region with mouse right click.
4). Press e key. But there is no any result or change.
image

What I am wrong?
Thank you

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

1 participant