Giter Site home page Giter Site logo

myyerrol / woodbox-mobile-car Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 14.37 MB

:robot: The codes of embedded system for robotics experiment in summer school. It can implement the functions are: simple serial control, simple ultrasonic obstacle avoidance and following based on face recognition.

License: GNU General Public License v3.0

C++ 99.02% CMake 0.47% Makefile 0.51%

woodbox-mobile-car's Introduction

woodbox-mobile-car

woodbox_mobile_car_out

woodbox_mobile_car_inside

Description

The codes of embedded system for robotics experiment in summer school. It can implement the functions are: simple serial control, simple ultrasonic obstacle avoidance and following based on face recognition.

Arduino

1、woodbox_mobile_car_serial_control:
Control the car move by using serial port.

2、woodbox_mobile_car_obstacle_avoidance:
Make the car avoid obstacles by using ultrasonic sensor.

3、woodbox_mobile_car_follow_people:
Make the car follow people by using face recognition from jetson tk1.

Jetson TK1

1、face_capture:
Capture some face's pictures from camera, convert them to gray images and resize them to default size.

2、face_detection:
Detect faces by using opencv haar cascade classifier.

3、face_train:
Before starting to recognize face, use some face's pictures to train for generating face's model file.

4、face_recognition:
Load face's model file and receive specific faces to start face recognition.

Configure

Use following command to get woodbox-mobile-car sources:

$> cd ~/Desktop
$> git clone https://www.github.com/myyerrol/woodbox-mobile-car.git

Arduino

1、Move the arduino/WoodboxMobileCar floder to your Arduino/libraries. In linux, the default location of arduino libraries is ~/Arduino/libraries, if you change it, please use new path to replace under!

$> cp -r woodbox-mobile-car/arduino/WoodboxMobileCar ~/Arduino/libraries

2、Open the arduino software, and you can find three demo files in the File/Examples/WoodMobileCar option. You can load any of these to test their function.

Jeston TK1

1、face_capture:
This part of codes use cmake build system. If you want to use IDE to edit or improve these codes, you can start qtcreator and open CMakeLists.txt file to load this project. Of course, you also can build them in the terminal directly by using following command.

$> cd woodbox-mobile-car/jetson_tk1/face_capture
$> mkdir build
$> cd build
$> cmake ..
$> make
$> ./face_capture

2、face_detection:
This part of codes use cmake build system. If you want to use IDE to edit or improve these codes, you can start qtcreator and open CMakeLists.txt file to load this project. Of course, you also can build them in the terminal directly by using following command.

$> cd woodbox-mobile-car/jetson_tk1/face_detection
$> mkdir build
$> cd build
$> cmake ..
$> make
$> ./face_detection

3、face_recognition:
Before building, please replace the paths of face_train.txt to yours!

$> cd woodbox-mobile-car/jetson_tk1/face_recognition
$> make all
$> ./face_train face_train.txt
$> ./face_recognition

Summary

Though the time is limited, I still have learned some knowledges about how to use opencv to implement simple face detection and recognition in nvidia jetson tk1. I believe I can do better in the future!

woodbox-mobile-car's People

Contributors

myyerrol avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

laphiler andy521

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.