Skip to content

Commit

Permalink
Clarified README instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
cabreraalex committed Jun 12, 2018
1 parent d1baa40 commit 7e0997a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ yarn start

## Advanced Inpainting

The following steps are needed to set up PatchMatch inpainting:
The following steps are needed to set up PatchMatch inpainting, which currently only works on Linux:

1. Clone the [Resynthesizer](https://github.com/bootchk/resynthesizer) repository and follow the instructions for building the project
2. Find the `libresynthesizer.a` shared library in the `lib` folder and copy it to the `inpaint` folder in this repository
3. Run `gcc resynth.c -L. -lresynthesizer -lm -lglib-2.0 -o prog` (may have to install glib2.0 first) to generate the prog executable
4. You can now run `python3 inpaint_server.py` and PatchMatch will be used as the inpainting algorithm.
1. Clone the [Resynthesizer](https://github.com/bootchk/resynthesizer) repository and follow the instructions for building the project (stop after running `make`)
2. Find the `libresynthesizer.a` shared library in the generated `lib` folder and copy it to the `inpaint` folder in this repository
3. Run `gcc resynth.c -L. -lresynthesizer -lm -lglib-2.0 -o prog` (may have to install glib2.0 first) to generate the `prog` executable
4. You can now run `python3 inpaint_server.py` and PatchMatch will be used as the inpainting algorithm when running the React application with `yarn start`.

## Citation

Expand Down Expand Up @@ -83,4 +83,4 @@ For questions or support [open an issue][issues].
[polo]: http://www.cc.gatech.edu/~dchau/ "Polo Chau"
[issues]: https://github.com/poloclub/interactive-classification/issues "Issues"
[cvpr18]: http://cvpr2018.thecvf.com
[poloclub]: https://poloclub.github.io
[poloclub]: https://poloclub.github.io
Binary file added inpaint/libresynthesizer.a
Binary file not shown.
Binary file added inpaint/prog
Binary file not shown.

0 comments on commit 7e0997a

Please sign in to comment.