Ezsynth

An Implementation of Ebsynth for video stylization, and the original ebsynth for image stylization as an importable python library!

AGPL-3.0 License

Stars
107
Ezsynth - v2.1.01 Latest Release

Published by Trentonom0r3 10 months ago

Small bug fixes--
Single Style image now works properly.
Still no luck with linux.

Ezsynth - v2.1.0

Published by Trentonom0r3 10 months ago

What's Changed

Full Changelog: https://github.com/Trentonom0r3/Ezsynth/compare/2.0.3...2.1.0

Ezsynth - v2.0.3

Published by Trentonom0r3 10 months ago

Significant Refactoring of the Library. (In My opinion, easier to follow).
Various Refactorings, separations, etc to classes.
Utilization of opencv for warping vs using torch.
Improved computation time, down to ~4 minutes. (Still not great, but much better than previously ~10 minutes).
Implemented multithreading in Ezsynth, ImageSynth remains the same.
Added logic for usage of .so with Linux. If someone can build and contribute the .so, would be much appreciated.
Went back to .dll usage over .pyd.
Perhaps it was how I was setting up the .pyd, perhaps its was something else, but using the .dll and utilizing multithreading leads to huge performance gains I can't ignore, so I scrapped the .pyd.
Upload new version to pypi.

Ezsynth - MINOR UPDATE [v1.2.1.1]

Published by Trentonom0r3 about 1 year ago

Minor Update. Passing outputpath to ezsynth.run results in not only the final images being saved, but the inbetween images as well.

from ezsynth import Ezsynth


STYLE_PATHS = [
    "output000.jpg",
    "output099.jpg",
]

IMAGE_FOLDER = "C:/Input"
OUTPUT_FOLDER = "C:/Output"

ez = Ezsynth(styles=STYLE_PATHS, imgsequence=IMAGE_FOLDER, flow_model='sintel')

ez.set_guides().stylize(output_path=OUTPUT_FOLDER) # Saves in-between imgs AND final imgs.

# results = ez.set_guides().stylize() # returns a list of images as numpy arrays
Ezsynth - v1.2.1.0

Published by Trentonom0r3 about 1 year ago

Updated to pybind11 wrapper, ImageSynth Class, and new Ezsynth class for video stylization!

Ezsynth - 1.0.2.1

Published by Trentonom0r3 about 1 year ago

Few small updates, changed backend to auto (you can still explicitly set backend if you'd like), changed votemode to weighted for sharper results.
Added some extra comments to give better detail.

Ezsynth - 1.0.1

Published by Trentonom0r3 about 1 year ago

Few small updates since initial commit.
Use file paths and/or numpy arrays.

Please use the most updated version [1.0.1]

pip install --upgrade ezsynth

or

pip install ezsynth
Related Projects