sketchkit.ordering.LineDrawer package

Subpackages

Module contents

class sketchkit.ordering.LineDrawer.LineDrawer(method='CNNVE', device='cpu')[source]

Bases: Orderer

Wrapper class for LineDrawer animation, matching vectorization structure.

_abc_impl = <_abc._abc_data object>
run(img: ndarray, ref_video_path: str) Sketch[source]

Run LineDrawer animation.

Parameters:
  • img (numpy.ndarray) – PIL image array

  • ref_video (str) – Path to reference video

  • inner_frames (int) – Ignored by LineDrawer

Returns:

List of frames

Return type:

list