- Must install numba using conda: by run "conda install numba" from terminal.
- Must install pandas using conda: by run "conda install pandas" or "sudo pip install numba" if you don't have conda, from terminal.
- Required libraries that I assume are alraedy installed: numpy, opencv, and matplotlib, these can be directly imported.
- The operations are run from "experiment.py", all functions required are defined in "seam.py", and are imported to "experiment.py".
- All original images and maps must be placed in a subfolder named "images", all output images will be saved in a subfolder "output".
- T.csv and S.csv are the transport and step maps saved in csv format, if the script find both these two files in the folder, then it will use them, otherwise it will re-calculate those two maps. Note: this is the most time-consuming step in this whole project.
-
Notifications
You must be signed in to change notification settings - Fork 0
rchen19/SeamCarving
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Seam Carving for Content-Aware Image Resizing
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published