Code Monkey home page Code Monkey logo

optical_flow_gpu_opencv3's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

optical_flow_gpu_opencv3's Issues

Docker image

Thanks for the good work! Are there plans for a Dockerfile?

opencv2/cudaoptflow.hpp: No such file or directory

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

Error when running compute_flow: no CUDA-capable device is detected

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?

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.