Giter VIP home page Giter VIP logo

crack_slider's Introduction

滑块缺口识别

战绩

-w458 -w452 -w456 -w454

准确度:没测试过

接口说明

1. 请求滑块缺口中心点

请求方式: GET(HTTP)

请求地址: http://127.0.0.1:5001/slider/get_gap_center_point

请求包体:

{
    "bg": "xxx",
    "slider": "xxx",
    "show": 1
}

请求示例

http://127.0.0.1:5001/slider/get_gap_center_point?bg=https%3A%2F%2Fstatic.datayes.com%2Fslide%2F1ff5a31d677ba39ccdd9b5d8abe5873.png&slider=https%3A%2F%2Fstatic.datayes.com%2Fslide%2F613a2afcbd53a7cfff29ef3aadf2ef3f.png&show=1

或者使用本地图片

http://127.0.0.1:5001/slider/get_gap_center_point?bg=img%2Fbg.png&slider=img%2Fslider.png&show=0

参数说明:

参数 必须 说明
bg 背景缺口图网络地址或者本地路径
slider 小滑块网络地址或者本地路径
show 是否显示识别后的位置,即战绩里边的图片

返回结果:

{
    "code":200,
    "data":{
        "center_point": [75, 66]
    }
    "msg":"请求成功"
}

参数说明:

参数 说明
code 返回码 (200 为成功, 非200出错)
data 返回的数据体
center_point 缺口滑块的中心点 [x,y]
msg 对返回码的文本描述内容

技术交流

若大家有什么疑问或指教,可加qq群,一起讨论问题。请备注滑块

crack_slider's People

Contributors

boris-code avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.