Closed SamarthGarg09 closed 3 years ago
Hi @SamarthGarg09 , I went through the changes, unfortunately a lot needs to be changed more. I have enumerated the points as follows. Alternatively @hs2361 suggests, you create issues for individual python ports of the functions, that way the task becomes easier and you get more PRs.
gitignore
, we don't usually push images into the GitHub repo since they are bulky.cpp
and python
from cpp_implementation
and python_implementation
_impl
from python files, make the names standard, Look at the C++ file names for reference.req_lib.txt
to requirements.txt
Hi @DebadityaPal sir, I have made all the changes which you have pointed out except for adding a python based CLI. Please review it and let me know if it requires any further changes and improvements.
LGTM, thanks for the PR!
This is the python implementation of the project. Implementation of various image processing functionalities like Image compression, seam carving, conversion of image from RGB to grayscale and horizontal and vertical flipping of images are provided. Most of these functionalities are coded from scratch. It also consist of K-means compressor algorithm from scratch as well as using scikit-learn library. All the libraries required for the projects are mentioned in the req_lib.txt file.
Original Image
The Persistence of Memory By Salvador Dali
Compressed Image
Horizontal as well as vertically seamed image
with horizontal and vertical scale ratio of 0.5 each
vertical seamed image
with vertical scale ratio of 0.5
Horizontally seamed image
with horizontal scale ratio of 0.5
Horizontally flipped image
Vertically flipped Image
Grayscale Image