golang-face-detector

command module
v0.0.0-...-7ccf9f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2019 License: BSD-2-Clause Imports: 6 Imported by: 0

README

golang-face-detector

A simple and fast face detector using gocv and har cascade classifier.

Usage

Need to install opencv and gocv in your machine

  • install gocv and open cv using the following commands.

    go get -u -d gocv.io/x/gocv

    cd $GOPATH/src/gocv.io/x/gocv

    make install

  • If it works correctly, at the end of the entire process, the following message should be displayed:

    gocv version: 0.17.0

    opencv lib version: 4.0.0

  • Install gtk and gtk3 modules.

    sudo apt install libcanberra-gtk-module libcanberra-gtk3-module


  • To run the program

    go run main.go -image input/image.jpg

Output

Output image

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL