Open akamg opened 11 months ago
To Reproduce Generate videohash of a video directly from its path url1 = "C:\Users\PCNAME\Documents\myapp\static_media\vid1.mp4" videohash1 = VideoHash(url=url1)
url2 = "C:\Users\PCNAME\Documents\myapp\static_media\vid2.mp4" videohash2 = VideoHash(url=url2)
Expected behavior please I want to Generate videohash of these videos directly from their path. videohash1.is_similar(videohash2) False
Screenshots If applicable, add screenshots to help explain your problem.
Please complete the following information:
Additional context Add any other context about the problem here.
You're trying to feed a path string to the url parameter. Try using the path parameter instead. Like this:
url
path
path1 = "C:\Users\PCNAME\Documents\myapp\static_media\vid1.mp4" videohash1 = VideoHash(path=path1)
To Reproduce Generate videohash of a video directly from its path url1 = "C:\Users\PCNAME\Documents\myapp\static_media\vid1.mp4" videohash1 = VideoHash(url=url1)
url2 = "C:\Users\PCNAME\Documents\myapp\static_media\vid2.mp4" videohash2 = VideoHash(url=url2)
Expected behavior please I want to Generate videohash of these videos directly from their path. videohash1.is_similar(videohash2) False
Screenshots If applicable, add screenshots to help explain your problem.
Please complete the following information:
Additional context Add any other context about the problem here.