Skip to content
Snippets Groups Projects
Yifan Zhao's avatar
Yifan Zhao authored
fee00e55
History
Name Last commit Last update
..
datasets
src
Makefile
README.md

Edge Detection Pipeline

HPVM benchmark performing edge detection on a stream of input images.

Dependencies

Edge detection pipeline depends on OpenCV==2.4. To use OpenCV 3.4, go to line 13 in src/main.cc and replace

#include "opencv2/ocl/ocl.hpp"

with

#include "opencv2/core/ocl.hpp"

Edge detection pipeline is not tested with other versions of OpenCV.

How to Build and Test

make TARGET={seq, gpu}
./pipeline-{seq, gpu} datasets/formula1_scaled.mp4