Giter VIP home page Giter VIP logo

turtle_draw's Introduction

turtle_draw

python将图片进行边缘检测和轮廓提取进行turtle绘画

  1. 你需要安装opencv,在cmd中输入:pip3 install opencv-python

  2. 要使用需要将图片放置在和py文件同一个文件夹下,接着修改下面的pic后的参数为图片名字。

    if __name__ == "__main__":
     	pic = "image.jpg"
     	xy = array_pic(pic)
    	 draw(xy)
    
  3. 效果如下图所示

变成

2313S1

turtle_draw's People

Contributors

hongcyu avatar

Stargazers

frihu avatar  avatar  avatar  avatar  avatar  avatar 7sunarni avatar  avatar  avatar  avatar  avatar GodLeaveMe avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Rui XUE avatar Liu Zhanqiang avatar  avatar littleLuck avatar 近空 avatar YiNing Zhao avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar WilhelmO_o avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar zhizao avatar hello world avatar  avatar  avatar Damon Nico avatar Liqingzeng avatar Wenzheng Liu avatar  avatar Ly4hm avatar

Watchers

James Cloos avatar  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.