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.
- numpy
- Pillow
[Python version used == 3.7]
Initial image | Inpainted image |
---|---|
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).