mirror of
https://github.com/artegoser/image-pluser-webui.git
synced 2025-02-22 12:13:15 +03:00
feat: canny edge
This commit is contained in:
parent
26702d57f1
commit
3f1d13c1c0
3 changed files with 17 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
import ffmpeg
|
||||
import os
|
||||
from processing.utils import generate_name, get_date_text, generate_name_with_file_name
|
||||
from methods.bulk_methods import edge, sharpen
|
||||
from methods.bulk_methods import edge, sharpen, canny_edge
|
||||
|
||||
|
||||
def images_to_video(
|
||||
|
@ -33,7 +33,9 @@ def bulk_processing(directory, out_directory, method):
|
|||
date = get_date_text()
|
||||
if method == "Edge detection":
|
||||
run_bulk(edge, directory, out_directory, date)
|
||||
elif method == "sharpen":
|
||||
elif method == "Canny edge detection":
|
||||
run_bulk(canny_edge, directory, out_directory, date)
|
||||
elif method == "Sharpen":
|
||||
run_bulk(sharpen, directory, out_directory, date)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue