kt27-a / optical_flow_gpu_opencv3 Goto Github PK
View Code? Open in Web Editor NEWExtracting optical flow based on GPU in Opencv3
Extracting optical flow based on GPU in Opencv3
Thanks for the good work! Are there plans for a Dockerfile?
Hi, the make command returns me the following error so I was hoping to get some help in resolving it.
[ 25%] Automatic MOC for target compute_flow
[ 25%] Built target compute_flow_autogen
Scanning dependencies of target compute_flow
[ 50%] Building CXX object CMakeFiles/compute_flow.dir/compute_flow.o
/home/haziq/Downloads/Optical_Flow_GPU_Opencv3/compute_flow.cpp:38:35: fatal error: opencv2/cudaoptflow.hpp: No such file or directory
compilation terminated.
CMakeFiles/compute_flow.dir/build.make:62: recipe for target 'CMakeFiles/compute_flow.dir/compute_flow.o' failed
make[2]: *** [CMakeFiles/compute_flow.dir/compute_flow.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/compute_flow.dir/all' failed
make[1]: *** [CMakeFiles/compute_flow.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
I am able to build successfully using OpenCV 3.4.3. However, when I run the program
./compute_flow --gpuID=0 --type=1 --vid_path=../data/ --vid_path=../data/flow/ --stride=2
I get the following error:
start_vid:1gpuID:0flow method: 1 frameSkip: 1 vid_path: ../data/flow/ out_path./ jpegs: .//rgb/
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.3) /data/models/Optical_Flow_GPU_Opencv3/opencv/opencv-3.4.3/modules/core/src/cuda_info.cpp:73: error: (-217:Gpu API call) no CUDA-capable device is detected in function 'setDevice'
Aborted (core dumped)
How to solve this issue? If there is no way to resolve this error, how do I run this program on CPU?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.