Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chai2010/libfacedetection-go
libfacedetection binding for Go
https://github.com/chai2010/libfacedetection-go
cnn face-detection go golang
Last synced: about 2 months ago
JSON representation
libfacedetection binding for Go
- Host: GitHub
- URL: https://github.com/chai2010/libfacedetection-go
- Owner: chai2010
- License: bsd-3-clause
- Created: 2019-03-18T07:25:10.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-05T09:43:26.000Z (over 4 years ago)
- Last Synced: 2024-11-01T12:42:18.543Z (2 months ago)
- Topics: cnn, face-detection, go, golang
- Language: C++
- Homepage: http://godoc.org/github.com/chai2010/libfacedetection-go
- Size: 9.69 MB
- Stars: 32
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
- *Go语言QQ群: 102319854, 1055927514*
- *凹语言(凹读音“Wa”)(The Wa Programming Language): https://github.com/wa-lang/wa*----
# [libfacedetection](https://github.com/ShiqiYu/libfacedetection) binding for Go
- https://godoc.org/github.com/chai2010/libfacedetection-go
- https://github.com/ShiqiYu/libfacedetection## Example ([hello.go](hello.go))
```go
package mainimport (
"github.com/chai2010/libfacedetection-go"
)func main() {
m := GetImage("./libfacedetection/images/keliamoniz2.jpg")
rgb, w, h := libfacedetection.NewRGBImageFrom(m)faces := libfacedetection.DetectFaceRGB(rgb, w, h, w*3)
fmt.Printf("%#v\n", faces)
}// output:
// []libfacedetection.Face{
// libfacedetection.Face{X:183, Y:137, W:150, H:150, Neighbors:94, Angle:0}
// }
```![](keliamoniz2.out.png)