GithubHelp home page GithubHelp logo

rozumden / fmo-cpp-demo Goto Github PK

View Code? Open in Web Editor NEW
56.0 2.0 13.0 115.26 MB

Fast Moving Objects Detection (demo version)

Home Page: http://cmp.felk.cvut.cz/fmo/

License: MIT License

CMake 0.93% C++ 99.07%
fast-moving-objects fmo-detection real-time-object-detection camera object-detection mobile-app

fmo-cpp-demo's Issues

demo stuck

not sure why but the demo is stuck at the following line

return it->second(config, format, dims);

am i missing a parameter? i've tried with camera and file, it never goes further this point in code.

edit: im on Ubuntu 18.04.

Build error

Hi,

Thank you for publishing such a great work. It is very informative.

I am trying to build your code on MacOS. When i run the 'make' command, am getting the following error.

Can you please look into it? I am not able to figure out how to fix this issue. Thank you in advance.

Note: In the below error messages i had to remove few of the 'tilda' symbols as the github markup was treating it as a strikethrough. But it shouldn't effect your understanding of the error.

--------Error details--------
[ 66%] Building CXX object fmo/taxonomy-v1/CMakeFiles/fmo-taxonomy-v1.dir/algorithm-taxonomy.cpp.o
In file included from /Users/fmo_build/fmo-cpp-demo/fmo/taxonomy-v1/algorithm-taxonomy.cpp:1:
In file included from /Users/fmo_build/fmo-cpp-demo/fmo/taxonomy-v1/algorithm-taxonomy.hpp:4:
In file included from /Users/fmo_build/fmo-cpp-demo/fmo/../include/fmo/agglomerator.hpp:6:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:270:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__bit_reference:15:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:644:
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:58: error: destructor called on non-final 'fmo::TaxonomyV1::Component' that has virtual functions but
non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
_LIBCPP_INLINE_VISIBILITY void destroy(pointer __p) {__p->_Tp();}
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1742:18: note: in instantiation of member function 'std::__1::allocatorfmo::TaxonomyV1::Component::destroy'
requested here
{__a.destroy(__p);}
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization
'std::__1::allocator_traits<std::__1::allocatorfmo::TaxonomyV1::Component >::__destroyfmo::TaxonomyV1::Component' requested here
{__destroy(__has_destroy<allocator_type, _Tp*>(), __a, __p);}
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/vector:421:25: note: in instantiation of function template specialization
'std::__1::allocator_traits<std::__1::allocatorfmo::TaxonomyV1::Component >::destroyfmo::TaxonomyV1::Component' requested here
__alloc_traits::destroy(__alloc(), _VSTD::__to_raw_pointer(--__soon_to_be_end));
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/vector:364:29: note: in instantiation of member function 'std::__1::__vector_base<fmo::TaxonomyV1::Component,
std::__1::allocatorfmo::TaxonomyV1::Component >::__destruct_at_end' requested here
void clear() _NOEXCEPT {__destruct_at_end(_begin);}
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/vector:458:9: note: in instantiation of member function 'std::__1::__vector_base<fmo::TaxonomyV1::Component,
std::__1::allocatorfmo::TaxonomyV1::Component >::clear' requested here
clear();
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iterator:1427:74: note: in instantiation of member function 'std::__1::__vector_base<fmo::TaxonomyV1::Component,
std::__1::allocatorfmo::TaxonomyV1::Component >::__vector_base' requested here
template <class _Tp, class _Alloc> friend class _LIBCPP_TEMPLATE_VIS vector;
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:64: note: qualify call to silence this warning
_LIBCPP_INLINE_VISIBILITY void destroy(pointer __p) {__p->_Tp();}
^
1 error generated.
make[2]: *** [fmo/taxonomy-v1/CMakeFiles/fmo-taxonomy-v1.dir/algorithm-taxonomy.cpp.o] Error 1
make[1]: *** [fmo/taxonomy-v1/CMakeFiles/fmo-taxonomy-v1.dir/all] Error 2
make: *** [all] Error 2

python version

I am not very familiar with cpp, does python version of this algorithm exist? Thx for your help, looking forward to your response.

Error while loading shared libraries

Hello there,
I am a Ubuntu 18.04 user and was trying out your application but couldn't run the application due to following error

command::: fmo-desktop --camera 0 --utiademo

Result:-
fmo-desktop: error while loading shared libraries: libopencv_highgui.so.3.1: cannot open shared

Output not getting written

Hi Denys,

When i am running the program on one of the videos available on your website (in MacOS), the output file is not getting written. I have made the folder and specified the --record-dir flag too. What could i be missing? Here's the command being run.

$ fmo-desktop --input ping_pong_paint.mov --demo --dfactor 0.45 --record-dir output_fmo

settings for small ball

what radius and dfactor would you recommend for videos with following views:

image

so far it couldn't detect anything yet

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.