python-imagesearch icon indicating copy to clipboard operation
python-imagesearch copied to clipboard

NameError: name 'imagesearch_from_folder' is not defined

Open akhilleusuggo opened this issue 1 year ago • 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

akhilleusuggo avatar Jan 19 '24 14:01 akhilleusuggo