go-face-recognition-tutorial icon indicating copy to clipboard operation
go-face-recognition-tutorial copied to clipboard

Segfault after face.NewRecognizer(dataDir) failed

Open tzzed opened this issue 5 years ago • 0 comments

When rec, err := face.NewRecognizer(dataDir) fails, we get a segfault due to call defer rec.Close

should return statement if err != nil

tzzed avatar Sep 04 '20 01:09 tzzed