Note: This project is only tested on Ubuntu 16.04
Pipeline Info can be found here: https://suriyanitt.github.io/imageinpainting.html
Use the tag v1.3 for tested code
There are 5 scripts to aid installation
- install_deps.sh - installs dependencies listed down in the Dependencies section
- install_opencv.sh - installs opencv locally inside the project folder
- install_caffe_enet.sh - builds modified version of caffe for ENet
- install_application.sh - builds the challenge application
- install_all.sh - installs all the above
- The person of interest appears upright in the image.
- The scene is not too crowded so that there is sufficient gap between two person.
- Does not work with humans looking small ( this can be improved ).
- Does not work well with humans in scenes that are not street like.
The executable will be placed inside the bin folder. Navigate to bin folder and run the app as
./intelligent_inpainting ../test_imgs/sample5.jpg
Click on the human to be removed from the scene.
- Centrist: A Visual Descriptor for Scene Categorization: https://smartech.gatech.edu/bitstream/handle/1853/31468/09-05.pdf
- Real-time Human Detection using contour cues: http://c2inet.sce.ntu.edu.sg/Jianxin/paper/ICRA_final.pdf
- ENet: A Deep Neural Network Architecture for Real-time Semantic Segmentaion: https://arxiv.org/pdf/1606.02147.pdf
- Region filling and Object Removal by Exemplar-Based Image Inpainting: http://www.irisa.fr/vista/Papers/2004_ip_criminisi.pdf
- boost - sudo apt install libboost1.58-dev (change to the version that is already available to your package manager)
- boost-system - sudo apt install libboost-system1.58-dev (change to the version that is already available to your package manager)
- boost-thread - sudo apt install libboost-thread1.58-dev (change to the version that is already available to your package manager)
- boost-filesystem - sudo apt install libboost-filesystem1.58-dev (change to the version that is already available to your package manager)
- protobuf - sudo apt install libprotobuf-dev
- gflags - sudo apt install libgflags-dev
- glog - sudo apt install libgoogle-glog-dev
- protobuf-compiler - sudo apt install protobuf-compiler
- hdf5 - sudo apt install libhdf5-dev
- lmdb - sudo apt install liblmdb-dev
- LevelDB - sudo apt install libleveldb-dev
- snappy - sudo apt install libsnappy-dev
- atlas - sudo apt install libatlas-base-dev
- gtk2.0 - sudo apt install libgtk2.0-dev