Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running go-face locally gives an error #28

Closed
sukshifr opened this issue Mar 13, 2019 · 0 comments
Closed

running go-face locally gives an error #28

sukshifr opened this issue Mar 13, 2019 · 0 comments

Comments

@sukshifr
Copy link

I am using go-face locally instead of go-get "github.com/Kagami/go-face" I copied all the files in go-face to my project. It gives me below error

Facial Recognition System v0.01
Cannot initialize recognizer
Recognizer Initialized
panic: runtime error: invalid memory address or nil pointer dereference
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x40bd3d2]

goroutine 1 [running]:
go-face-recognition/goface.(*Recognizer).Close(0x0)
	/Users/reenath/Downloads/go-face-recognition/goface/face.go:185 +0x22
panic(0x41bee00, 0x42ebb50)
	/usr/local/Cellar/go/1.11.1/libexec/src/runtime/panic.go:513 +0x1b9
go-face-recognition/goface.(*Recognizer).recognize(0x0, 0xc0000d8000, 0x1f68e, 0x1fe00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/Users/reenath/Downloads/go-face-recognition/goface/face.go:69 +0x6a
go-face-recognition/goface.(*Recognizer).recognizeFile(0x0, 0xc000092030, 0xf, 0x0, 0xc0000a9470, 0x4091886, 0x5c88d47e, 0xc01fa59000, 0x2226e4ae)
	/Users/reenath/Downloads/go-face-recognition/goface/face.go:118 +0xdc
go-face-recognition/goface.(*Recognizer).RecognizeFile(0x0, 0xc000092030, 0xf, 0xc000092030, 0xf, 0x0, 0x0, 0x0)
	/Users/reenath/Downloads/go-face-recognition/goface/face.go:142 +0x48
main.main()
	/Users/reenath/Downloads/go-face-recognition/main.go:30 +0x1dd

Process finished with exit code 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant