remove sleep

This commit is contained in:
Dimitrii
2021-01-28 14:26:52 +03:00
parent 29e4d0d8bb
commit 13a0697585

View File

@@ -9,7 +9,6 @@ import (
"log" "log"
"math" "math"
"os" "os"
"time"
darknet "github.com/LdDl/go-darknet" darknet "github.com/LdDl/go-darknet"
"github.com/disintegration/imaging" "github.com/disintegration/imaging"
) )
@@ -92,7 +91,6 @@ func main() {
// } // }
} }
} }
time.Sleep(100*time.Millisecond)
} }
func imageToBytes(img image.Image) ([]byte, error) { func imageToBytes(img image.Image) ([]byte, error) {