Imports gitlab.com/gomidi/midi/writer gitlab.com/gomidi/rtmididrv gocv.io/x/gocv Standard library imports flag fmt image image/color math math/rand net/http/pprof strconv time