Coder Social home page Coder Social logo

facedetectionserver's Introduction

FaceDetectionServer

基于 SeetaFace 的高性能人脸识别服务, 使用 Golang 与 CPP 混合开发.

Face

Requirements

$ yum install cmake3
$ yum install opencv opencv-devel
$ yum install jsoncpp-devel

Build and Usage

$ make seeta    # 下载 SeetaFace 源码到 /src, 切换到指定版本并进行编译, 该过程需要 cmake3 支持.
$ make faced    # 编译胶水部分 c++ 代码, 提供可供 golang 使用的 c 语法 lib.
$ make goserver # 混合编译 golang/c++ 服务到单独二进制文件
$ ./server                                         # 启动 HTTP 服务
$ http POST :8080/image/bin/detection < ./face.jpg # 对服务进行命令行测试
HTTP/1.1 200 OK
Content-Length: 70
Content-Type: application/json
Date: Wed, 12 Oct 2016 02:47:09 GMT

{
    "face": [
        {
            "Y": 167,
            "height": 287,
            "width": 287,
            "x": 103
        }
    ],
    "size": [
        500,
        650
    ]
}

Issues

  1. 我不想将 SeetaFace 源码下载/编译到 /src 下?

需要手动修改 https://github.com/mohanson/FaceDetectionServer/blob/master/libfaced/faced.cpp#L18https://github.com/mohanson/FaceDetectionServer/blob/master/Makefile#L1 两处.

facedetectionserver's People

Contributors

mohanson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.