GithubHelp home page GithubHelp logo

drawseal's Introduction

drawseal 印章绘制算法

需求

需求的详细内容见demand文件夹 算法的核心难点是椭圆印章的绘制,该印章需求可见ellipse ##环境配置(ubuntu) 将项目拉下来后,到该项目文件夹下运行 ./install.sh 即可完成环境配置 ##算法的实现 核心算法分为前台和后端 ###后台 后台使用django建立一个app来专门绘制印章,也方便以后迁移到项目中,算法核心涉及根据字数算出文字的长和宽,文字的坐标,文字旋转的角度,最后将结果以json字符串的形式发送给前台。 其中会涉及的核心技术主要是scipy和django,请使用前阅读以下文档:

###前台 前台使用canvas绘制,根据后台传来的json字符串,将印章绘制到页面上,canvas使用demo可见template文件夹下的demo.html

drawseal's People

Contributors

zwwangoo avatar youjiajia avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Forkers

youjiajia

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.