akamhy / videohash

Near Duplicate Video Detection (Perceptual Video Hashing) - Get a 64-bit comparable hash-value for any video.
https://pypi.org/project/videohash
MIT License
264 stars 41 forks source link

created a module videoduration with func video_duration, videoduratio… #72

Closed akamhy closed 2 years ago

akamhy commented 2 years ago

…n attr now in VideoHash class instances and video_duration func can also be accesed directly as videohash.video_duration also added tests for the new module

akamhy commented 2 years ago

this closes #67

codecov[bot] commented 2 years ago

Codecov Report

Merging #72 (e91b2cc) into main (a73bda2) will increase coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #72      +/-   ##
==========================================
+ Coverage   99.08%   99.13%   +0.04%     
==========================================
  Files           8        9       +1     
  Lines         328      346      +18     
==========================================
+ Hits          325      343      +18     
  Misses          3        3              
Impacted Files Coverage Δ
videohash/__init__.py 100.00% <100.00%> (ø)
videohash/__version__.py 100.00% <100.00%> (ø)
videohash/videoduration.py 100.00% <100.00%> (ø)
videohash/videohash.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a73bda2...e91b2cc. Read the comment docs.