Giter VIP home page Giter VIP logo

optical-flow-filter's Issues

Error occuring in setup.py ,due to which ipython notebook is notworking

1.The error which is occurring again and again in the command sudo python setup.py install is
Traceback (most recent call last):

File "setup.py", line 17, in <module>
   from Cython.Build import cythonize
ImportError: No module named Cython.Build

2.Also the python setup.py build command is not installing or building actually. The command just gets executed within 2-3 seconds. So i guess it's not doing anything in actual. When the command was executed for the first time two warnings were printed several times ,

 warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \

and after executing that command again
It is printing following lines

running build
running build_py
running build_ext

The cuda version

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176

and the os is

Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.4 LTS
Release:	16.04
Codename:	xenial

So how to fix this ?
And is there any other method to achieve the same results for optical-flow-filter?

Question about paper's equation (17).

Hi Juan,

Sorry, can I ask some question about the paper here?
Why Equation (17) uses ^h\Delta\Phi rather than ^h\Phi ?
I have not traced your code yet but this has already perplexed me for a long time.

Your paper is great, and code work fine to me! Thanks for your help!

error: libflowfilter_gpu.so

when I run ./flowWebCam, errors occured.
./flowWebCam: error while loading shared libraries: libflowfilter_gpu.so: cannot open shared object file: No such file or directory
Any help?
Best,
Joy Yang

Optical flow always equals zero?

Hi Juan,

Thanks for sharing your code. I'm trying to incorporate your optical flow calculations in my project and have followed your webcam demo to calculate flow using OpenCV. I'm acquiring camera image frames from a pre-recorded video for my processing and always get a flow vector of zero magnitude. I also get the following message on my console:

DeltaFlowFilter::compute(): fisrt load
FlowFilter::compute(): fisrt load
DeltaFlowFilter::compute(): fisrt load
DeltaFlowFilter::compute(): fisrt load
FlowFilter::compute(): fisrt load

This message repeats itself throughout video processing. Do you have any advice? I get the feeling that only a single optical flow is being calculated for the initial frame and state propagation isn't taking place. Thanks for your help!

A problem during installation in python modules.

I was trying install the python module, but after I input "python setup.py install" I got an error: Unable to find vcvarsall.bat(seen in the picture). So how can I fix it. Any help will be appreciate.

1

How to calculate the backward flow?

Hi,
Really appreciate your sharing. I am now implementing this algorithm to calculate both the forward optical flow ((t-1)->t) and the backward optical flow (t->(t-1)). However, the code
"###filter.loadImage(hostImageGray);
###filter.compute();
###filter.downloadFlow(flowHostWrapper);"
I use can only calculate the forward optical flow ((t-1)->t). May I wonder how to calculate the backward optical flow based on your shared code?

Best,
Jiangtian

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.