Skip to main content

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)

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.

Release history Release notifications | RSS feed

This release

1.6 This release

1 file

1.5

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page