mirror of
https://github.com/LdDl/go-darknet.git
synced 2025-09-27 03:56:18 +08:00
remove sleep
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user