Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/drewrwilson/stencilvalidator

a design tool for determining if a given design is a valid stencil
https://github.com/drewrwilson/stencilvalidator

Last synced: about 2 months ago
JSON representation

a design tool for determining if a given design is a valid stencil

Awesome Lists containing this project

README

        

# Stencil Validator [![Build Status](https://travis-ci.org/drewrwilson/stencilvalidator.svg)](https://travis-ci.org/drewrwilson/stencilvalidator)

A tool for checking whether a design is a valid stencil or not.

This is a work in progress. Alpha at best.

## Setup

For osx.

* Get homebrew!
* Install python! `brew install python`
* Give you homebrew the power of science! `brew tap homebrew/science`
* Install opencv `brew install opencv`

## Testing

There are a number of example stencils in the `test-stencils` directory. The
filename indicates whether or not the stencil is valid
(eg `valid-black-lives-matter` vs `invalid-black-lives-matter`).
The invalid ones are just modified versions of the valid ones that include
mistakes like shapes inside of shapes or letters that have sections without
bridges.

To run the tests:
`python test_stencil_validator.py`