Comments (12)
building opencv3 from scratch enabling ffmpeg and gtk finally did the trick.
from fmo-cpp-demo.
Hi,
You must choose the type of visualization, e.g. --demo or --utiademo. One example would be "fmo-desktop --camera 0 --demo". What parameters did you use?
from fmo-cpp-demo.
sorry for the late reply, i was offline for some time. i chose every possible parameter (as in the README), everytime the application gets stuck at the same line shown above. im on ubuntu 18.04.
the pre-compiled demo for windows does work though with the same parameters/run configs.
from fmo-cpp-demo.
Can you please provide the exact command line which you used for running this demo?
from fmo-cpp-demo.
Can you please provide the exact command line which you used for running this demo?
i tried all possibilities as mentioned in the README.
here is a list of some of those commands:
/usr/local/bin/fmo-desktop --camera 0 --demo
/usr/local/bin/fmo-desktop --camera 0 --utiademo
/usr/local/bin/fmo-desktop --input ~/Downloads/17150385_rally1_out.mp4 --debug
/usr/local/bin/fmo-desktop --input ~/Downloads/17150385_rally1_out.mp4 --tutdemo
/usr/local/bin/fmo-desktop --input ~/Downloads/17150385_rally1_out.mp4 --demo
and many many more.
for every command the program is stuck at the same place, it's never returning from aglorithm make.
from fmo-cpp-demo.
I've just tried downloading the git repository, compiling and running the commands you should above, and everything was working (also on Ubuntu 18.04). Which OpenCV version did you use? I recommend 3.4.0. Also, please try running from your build directory: "desktop/fmo-desktop --input ...".
It's quite difficult to guess why the demo is stuck at that line, as it shouldn't be stuck there, it's essentially just a constructor. Do you see a GUI window at least?
from fmo-cpp-demo.
no gui window. i have to admit i'm using opencv 4.0. will try 3.4 and then report again if that worked. thx.
from fmo-cpp-demo.
i had success by going back to opencv 3 (im using conda and didnt want to compile opencv again, so i rather changed the code to work with 4.x but somehow it got stuck). for people using conda who don't want to compile, try: "conda install -c menpo opencv3".
i'm almost there, the command
fmo-desktop --camera 0 --demo
works but not when i use a .mp4 video as input. then i get a error: std::exception
while opening that file. any idea about that?
from fmo-cpp-demo.
Thanks for your feedback.
I'm not sure. Maybe try some videos from our dataset, e.g. [ http://cmp.felk.cvut.cz/fmo/files/sequences/ping_pong_paint.mov ]. It works for this sequence for me.
from fmo-cpp-demo.
I'm not sure. Maybe try some videos from our dataset, e.g. [ http://cmp.felk.cvut.cz/fmo/files/sequences/ping_pong_paint.mov ]. It works for this sequence for me.
same problem.
maybe the opencv3 version was not compiled with ffmpeg?
from fmo-cpp-demo.
That's possible. Make sure that OpenCV is compiled and compatible with ffmpeg.
from fmo-cpp-demo.
ok. i just checked the buildinformation of that opencv3 build and got following:
Video I/O: DC1394 1.x: NO DC1394 2.x: NO FFMPEG: NO codec: NO format: NO util: NO swscale: NO resample: NO gentoo-style: NO GStreamer: NO OpenNI: NO OpenNI PrimeSensor Modules: NO OpenNI2: NO PvAPI: NO GigEVisionSDK: NO UniCap: NO UniCap ucil: NO V4L/V4L2: NO/YES XIMEA: NO Xine: NO gPhoto2: NO
so, i guess i will have to compile myself to get a proper opencv3 version :) thx
from fmo-cpp-demo.
Related Issues (5)
- Error while loading shared libraries HOT 2
- Build error HOT 3
- Output not getting written HOT 2
- settings for small ball HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmo-cpp-demo.