MarioPrzBasto commited on
Commit
4381896
·
verified ·
1 Parent(s): efa17f4

Update similarity.py

Browse files
Files changed (1) hide show
  1. similarity.py +1 -1
similarity.py CHANGED
@@ -73,7 +73,7 @@ def ssim_sim(img1, img2):
73
  return (s + 1) * 50
74
 
75
 
76
- def load_image(source, assetCode, contentType=None, ffmpeg_path='ffmpeg', frame_time=1):
77
  Image.MAX_IMAGE_PIXELS = None
78
 
79
  def extract_frame_from_video(video_path_or_url, time_sec):
 
73
  return (s + 1) * 50
74
 
75
 
76
+ def load_image_url(source, assetCode, contentType=None, ffmpeg_path='ffmpeg', frame_time=1):
77
  Image.MAX_IMAGE_PIXELS = None
78
 
79
  def extract_frame_from_video(video_path_or_url, time_sec):