Imports github.com/blackjack/webcam github.com/eclipse/paho.mqtt.golang github.com/gin-gonic/gin github.com/gorilla/websocket github.com/inconshreveable/log15 Standard library imports bytes context encoding/json fmt image image/color image/jpeg io/ioutil math/rand os sort strconv time