Skip to main content

No project description provided

Project description

slide captcha

介绍

一个尝试使用opencv识别滑动验证码缺口的python库

免责声明

  1. 本算法仅供学术和研究目的使用。作者和发布者明确禁止使用此算法进行任何非法活动或违反任何网站、服务或应用的服务条款或政策。
  2. 使用此算法的任何人都应自行确保他们的行为是合法的,并遵循所有相关的法律和道德标准。
  3. 作者和发布者对因使用此算法而造成的任何直接或间接损害或后果不承担任何责任。用户自行承担所有风险。
  4. 本免责声明的解释权归作者和发布者所有。

安装

pip install captchahub-slide-captcha
```·
## 使用
```python
from slide_captcha import slide_match

with open('background.png', 'rb') as f:
    background = f.read()

with open('target.png', 'rb') as f:
    target = f.read()

result = slide_match(background, target)

print(result)
# {'target': [192, 111, 272, 191]}

target为缺口的左上角和右下角的坐标

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

captchahub_slide_captcha-1.0.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

captchahub_slide_captcha-1.0.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file captchahub_slide_captcha-1.0.0.tar.gz.

File metadata

  • Download URL: captchahub_slide_captcha-1.0.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.18 Linux/6.2.0-1011-azure

File hashes

Hashes for captchahub_slide_captcha-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5e9023263cccf7dd9efc0d802e9d6f5226bfa5b5e54dd70ab61c7649224c5a8c
MD5 51c926d37380a333c90ccebd6fa453b5
BLAKE2b-256 9670396f815fd7ea6c32cb654bd10a0404decea7225483a80e3807850f3ea719

See more details on using hashes here.

File details

Details for the file captchahub_slide_captcha-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for captchahub_slide_captcha-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d37b62cf52f453418ea766403cf0fbd1d7fb4eec40cb05d616b4b4248d76d9b
MD5 f250eb54564296a131d9dc4f803cdc2b
BLAKE2b-256 1aa36519464fddb811f460aa3716ada0513ea649620dc6556998dc9dcd04a15b

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