drov0/python-imagesearch

NameError: name 'imagesearch_from_folder' is not defined

Opened this issue · 0 comments

I'm not sure if I'm doing something wrong, but all example on the documentations works (https://brokencode.io/how-to-easily-image-search-with-python/) as expected, with the exception of the last one (imagesearch_from_folder)

from python_imagesearch.imagesearch import imagesearch_count

results = str(imagesearch_from_folder('./', 0.8))
print(results)

The output is the following:

python test.py
Traceback (most recent call last):
  File "C:\Users\blank\****\test.py", line 3, in <module>
    results = str(imagesearch_from_folder('./', 0.8))
NameError: name 'imagesearch_from_folder' is not defined