Coder Social home page Coder Social logo

kmansoo / persondetection Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 2.86 MB

This repository is based on OpenCV 3.x and Luna and is aiming at detecting a person.

License: MIT License

CMake 3.06% C++ 96.94%
opencv3 luna gcp-cloud-functions watson-visual-recognition cpp raspberry-pi-3 macosx win32 linux rtsp

persondetection's Introduction

PersonDetection

This repository is based on OpenCV 3.x and Luna and is aiming at detecting a person.

How to build

Build Steps

  • step1: build or install FFmpeg
  • step2: build or install OpenCV 3.x
  • step3: build Luna
  • step4: build PersonDetection

STEP1: Build FFmpeg

When you build FFmpeg you have to be careful. If your target board is 32-bits, you must add the --enable-pic option.

cd ~/git
git clone https://github.com/FFmpeg/FFmpeg.git
cd FFmpeg
  • For 32-bits processor like Raspberry Pi 2 or 3
./configure --enable-libfreetype --enable-gpl \
            --enable-nonfree --enable-libx264 --enable-shared --enable-pic
make
sudo make install
  • For 64-bits processor like macOS, Linux
./configure --enable-libfreetype --enable-gpl \
            --enable-nonfree --enable-libx264 --enable-shared --enable-pic
make
sudo make install

STEP2: Build OpenCV 3.x

cd ~/git
git clone https://github.com/opencv/opencv.git
cd opencv
mkdir build
cd build
cmake ..
make
sudo make install

STEP3: Build Luna

Luna needs curl and mbedTLS libraries because of supporting RESTful client using TLS. So you have to build those first before building Luna.

cd ~/git/PersonDetection
git submodule init
git submodule update
cd ./dependency/Luna
git submodule init
git submodule update
  • build curl and mbedTLS
cd ~/git/PersonDetection/dependency/Luna
git submodule init
git submodule update
cd dependency
mkdir build
cd build
cmake ..
make
  • build Luna
cd ~/git/PersonDetection/dependency/Luna
mkdir build
cd build
cmake ..
make

STEP4: Build PersonDetection

cd ~/git/PersonDetection
mkdir build
cd build
cmake ..
make

How to run

Under construction

Demo Videos

Demo Video1

Watch the video

Demo Video2

Watch the video

persondetection's People

Contributors

kmansoo avatar mansoo-of-oz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

chunimuni yfyf510

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.