Coder Social home page Coder Social logo

opticalflow's Introduction

Run with: g++ optical_flow.cpp -o opencv pkg-config --cflags --libs opencv

opticalflow's People

Contributors

deshanadesai avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

opticalflow's Issues

OpenCV Error: Gpu API call (no kernel image is available for execution on the device)

Hi, I encountered an error while running your code. The compile was good. The full log is

(py35) ddeng@ddeng-System-Product-Name:/newdisk/OpticalFlow$ ./opencv 
Usage : ./opencv <frame0> <frame1>
OpenCV Error: Gpu API call (no kernel image is available for execution on the device) in call, file /newdisk/opencv-3.1.0/modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp, line 318
terminate called after throwing an instance of 'cv::Exception'
  what():  /newdisk/opencv-3.1.0/modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp:318: error: (-217) no kernel image is available for execution on the device in function call

Aborted (core dumped)

My PC info:
OS: Ubuntu 16.04
GPU: NVIDIA GTX1080TI
CUDA: 10.0
OpenCV: 3.1.0, which is installed in this directory: /newdisk/opencv-3.1.0/

Do you think this problem is caused by the compilation of OpenCV with CUDA? Hope I can get some hints from you.

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.