Skip to content

raybrad/image2gds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install requirement

In order to use opencv-python,gdspy package, add following in .bashrc/.zshrc etc:

export PYTHONPATH=$PYTHONPATH:/gpfs/users/yinhuang/.local/lib/python2.7/site-packages/cv2 export PYTHONPATH=$PYTHONPATH:/gpfs/users/yinhuang/.local/lib/python2.7/site-packages/gdspy-1.2.1-py2.7-linux-x86_64.egg

Usage

  • Manual:

    1. Get edges with vertice number in foo.png python image2gds.py -i target.png
    2. Manual input polygon seq based on foo.png and output gds python image2gds.py -i target.png -s seq -o out.gds
  • Auto(Only for HV mode with clear separation edge):

    python image2gds.py -i target.png -o out.gds

  • image2gds_v2.py use opencv to do contour extraction

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published