Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _image_locate(origin_file, query_file, threshold=0.3):
'''
image match
'''
log.debug('search image(%s) from(%s)', query_file, origin_file)
pts = image.locate_image(origin_file, query_file, threshold=threshold)
return pts
def _image_locate(origin_file, query_file):
'''
image match
'''
log.debug('search image(%s) from(%s)', query_file, origin_file)
pts = image.locate_image(origin_file, query_file)
return pts