Skip to content

bubbleshark/Zedboard-face-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Zedboard-face-detection  

Run face detection algorithm with hardware acceleration on the Zedboard.
The code is modified from https://github.com/cornell-zhang/facedetect-fpga.  

Develope Environment: Windows SDSoC 2016.2

SDCard image for Zedboard

Simply pull all of the things under sdcard_image folder to the SDCard.

How to Build

  1. Open SDSoc -> create new SDSoC project -> enter project name, set Target Platform as zed. -> choose Empty Application and click Finish.

  2. Right click the 'src' folder under the newly create project -> Choose Import -> File System -> Browse to this project's src folder and import all of the file into the project.

  3. Right click the icon 'left' next to haar.cpp and it will show the funcitons in the haar.cpp -> left click detectFaces and toggle it as HW function.

  4. Click the navigation bar on the top and choose Build Project.

  5. After building finished, it will generate the sd_card folder under the SDDebug.Pull all of the things under SDCard_image to your SDCard. And boot the Zedboard form the SDCard.

Usage

cd /mnt

./face_detect_baseline_plus.elf 192x144_pgmfile(there are five test pgm files to use)
The program will create new file to store the result.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages