Skip to content

Commit

Permalink
chore: remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrinux committed Jun 13, 2023
1 parent cd6132a commit d45d7a1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ func detectFace(deviceID int, xmlFile string, retryTime int, debug bool, display
}

// loop to detect faces, we loop retryTime time
for i := range make([]int, retryTime) {
fmt.Println(i)

for range make([]int, retryTime) {
if ok := webcam.Read(&img); !ok {
fmt.Printf("cannot read device %d\n", deviceID)
break
Expand Down

0 comments on commit d45d7a1

Please sign in to comment.