Skip to main content

search a sub image from a parent image

Project description

find a sub image from a parent image and calculate the center point (X,Y) coordinate

usage:

depend:

sudo apt-get install python-opencv

sudo apt-get install python-numpy

>>> from imglib.imgcomparison import isMatch, getMatchedCenterOffset
>>> isMatch(path_of_subimg, path_of_parentimg, threshold=0.01)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imglib-1.6.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file imglib-1.6.tar.gz.

File metadata

  • Download URL: imglib-1.6.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for imglib-1.6.tar.gz
Algorithm Hash digest
SHA256 7b5aadb6b4b8c0f78ae722904d35a06e80c7e9b414d09ad91bc41a7652876f2b
MD5 3feba9b570937de01084589bc183aeb4
BLAKE2b-256 93cbfcf6de2f45d8ad46823313b62d9803c0feaefba747490f9cd80b4737b919

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page