Giter Club home page Giter Club logo

font_ocr's Introduction

font_ocr

css字体反混淆一键部署方案

git图片显示有问题 可以看这 链接

提供api - url 反混淆文本使用的woff 链接 - content 需要反混淆的文本

api
curl -X POST \
  http://119.29.27.234:8088/ocr \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'postman-token: a4bb25a3-15a1-50d0-612a-8f804df49c14' \
  -d '{"url": "https://vfile.meituan.net/colorstone/f0a30a4dda64b4f8f344858115f54fc92296.woff", "content": ""}'

配置阿里镜像源

sudo mkdir -p /etc/docker

sudo tee /etc/docker/daemon.json <<-'EOF'

{

  "registry-mirrors": ["https://uxk0ognt.mirror.aliyuncs.com"]

}

EOF

sudo systemctl daemon-reload

sudo systemctl restart docker

本地部署

# 安装docker 
# 安装docker-compose
# pip3 install docker-compose
# 进入docker-compose.yaml所在目录
# 本地化部署
docker-compose up -d

案例

提取混淆文字  猫眼电影 提取字体url //vfile.meituan.net/colorstone/f0a30a4dda64b4f8f344858115f54fc92296.woff 猫眼字体

测试

url : http://119.29.27.234:8088/ocr
jsonData:
    - content: 
    - url: https://vfile.meituan.net/colorstone/f0a30a4dda64b4f8f344858115f54fc92296.woff

curl 测试

curl -X POST \
  http://119.29.27.234:8088/ocr \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'postman-token: a4bb25a3-15a1-50d0-612a-8f804df49c14' \
  -d '{"url": "https://vfile.meituan.net/colorstone/f0a30a4dda64b4f8f344858115f54fc92296.woff", "content": ""}'

识别结果

font_ocr's People

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.