diff --git a/example/README.md b/example/README.md index 1ee92a2..ecb7078 100644 --- a/example/README.md +++ b/example/README.md @@ -5,11 +5,11 @@ This is an example Go application which uses go-darknet. ## Install ```shell -go get github.com/gyonluks/go-darknet -go install github.com/gyonluks/go-darknet/example +go get github.com/LdDl/go-darknet +go install github.com/LdDl/go-darknet/example # Alternatively -go build github.com/gyonluks/go-darknet/example +go build github.com/LdDl/go-darknet/example ``` An executable named `example` should be in your `$GOPATH/bin`, if using diff --git a/example/main b/example/main new file mode 100755 index 0000000..b430c54 Binary files /dev/null and b/example/main differ diff --git a/example/main.go b/example/main.go index e0ab75e..8391063 100644 --- a/example/main.go +++ b/example/main.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - darknet "github.com/gyonluks/go-darknet" + darknet "github.com/LdDl/go-darknet" ) var dataConfigFile = flag.String("dataConfigFile", "", @@ -43,6 +43,7 @@ func main() { } defer n.Close() + log.Println("we are here") img, err := darknet.ImageFromPath(*imageFile) if err != nil { printError(err) @@ -55,7 +56,7 @@ func main() { printError(err) return } - + log.Println("we are here 2") log.Println("Network-only time taken:", dr.NetworkOnlyTimeTaken) log.Println("Overall time taken:", dr.OverallTimeTaken) for _, d := range dr.Detections {