/Content-aware-resize

多媒體Final

Primary LanguagePython

Multimedia_Image_retargeting_project

Environment

1. Windows/Ubuntu/Mac OS

2. Python3, with opencv3/numpy

Command to use (in windows )

1. python [image path] [wanted width] [wanted height]

Directly modify the image, without addition typing commmand
Can't get a preview of image processing and select a protected mask

2. python [image path] --interactive (recommend using)

Select new size/mask range by mouse
Can see how seam carving modifies the whole image