Philmod / clarifai-go-webcam

Stream webcam images from the browser (webRTC) to a server that detects tags using Clarifai API
https://clarifai-go-webcam.herokuapp.com
9 stars 3 forks source link

Installation #1

Open rubenohayon opened 8 years ago

rubenohayon commented 8 years ago

Hi Can you give me more explanation about how to install Please

Philmod commented 8 years ago

Sure, I'd be happy to help. Tell me where you got stuck in the install?

rubenohayon commented 8 years ago

I create a clarifai app and I have my Client Id and Client Secret. When i run go run main.go i have this error

main.go:4:2: cannot find package "github.com/Sirupsen/logrus" in any of: /usr/local/go/src/github.com/Sirupsen/logrus (from $GOROOT) ($GOPATH not set) main.go:5:2: cannot find package "github.com/gorilla/websocket" in any of: /usr/local/go/src/github.com/gorilla/websocket (from $GOROOT) ($GOPATH not set) main.go:6:2: cannot find package "github.com/philmod/clarifai-go" in any of: /usr/local/go/src/github.com/philmod/clarifai-go (from $GOROOT) ($GOPATH not set)

Philmod commented 8 years ago

Did you set up your $GOPATH? This is part of golang installation. https://golang.org/doc/code.html#GOPATH

rubenohayon commented 8 years ago

Thanks i set up the $GOPATH so no error when i type the command : go run main.go nothing happen in the terminal

Philmod commented 8 years ago

Visit "localhost:8080" in your browser: https://github.com/Philmod/clarifai-go-webcam/blob/master/main.go#L123