Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.88 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.88 KB

Image Inpainting

The following repository presents an Image Inpainting project. The inpainting process employs the Fast Marching Method to produce distance maps of the points in a region from the boundary of that. To limit the scope of this project, it is only designed to eradicate yellow lines from images. Due to this constraint, image masks can be generated automatically to detect yellow lines to be inpainted over.

Dependencies Used

  • numpy
  • Pillow

[Python version used == 3.7]

Sample Results

Initial image Inpainted image

Instructions to Run

In order to access the API hosted as a serverless AWS Lambda Function, run the following command.

python api_access.py

In order to refer to the AWS Lambda Function, checkout lambda_function.py.

NOTE: Before running this file, do not forget to add the source and desitation path of raw image and inpainted image respectively (Images have to be in PNG format).