By Leo Rudberg (ljr@google.com). Written for the Spring 2018 CUNY Hackathon.
Link to this: https://bit.ly/2vTeHy1.
Follow me on GitHub!
(I will likely schmooze about myself here...)
By Leo Rudberg (ljr@google.com). Written for the Spring 2018 CUNY Hackathon.
Link to this: https://bit.ly/2vTeHy1.
Follow me on GitHub!
(I will likely schmooze about myself here...)
| package main | |
| // Usage: | |
| // ./petanque -img=/path/to/input.png -colors="ABCDEF,123456,00F001" | |
| import ( | |
| "flag" | |
| "fmt" | |
| "image" | |
| "image/color" |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "image" | |
| "image/color" | |
| "image/png" | |
| "log" | |
| "math/rand" |
| package test | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "testing" | |
| "github.com/golang/protobuf/jsonpb" | |
| structpb "github.com/golang/protobuf/ptypes/struct" | |
| "github.com/google/cel-go/cel" |