mirror of
https://github.com/esimov/pigo.git
synced 2025-10-07 00:52:49 +08:00
Renamed data folder to cascade
This commit is contained in:
@@ -73,7 +73,7 @@ func clusterDetection(pixels []uint8, rows, cols int) []pigo.Detection {
|
||||
}
|
||||
|
||||
if len(cascade) == 0 {
|
||||
cascade, err = ioutil.ReadFile("../../data/facefinder")
|
||||
cascade, err = ioutil.ReadFile("../../cascade/facefinder")
|
||||
if err != nil {
|
||||
log.Fatalf("Error reading the cascade file: %s", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user