Coder Social home page Coder Social logo

krips89 / opendetection Goto Github PK

View Code? Open in Web Editor NEW
102.0 102.0 60.0 6.73 MB

OpenDetection is a standalone open source project for object detection and recognition in images and 3D point clouds.

Home Page: http://www.opendetection.com

License: BSD 3-Clause "New" or "Revised" License

CMake 4.87% C++ 95.13%

opendetection's People

Contributors

ishankgulati avatar krips89 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opendetection's Issues

trouble in building opendetection

I tried building opendetection, but everytime it use to get stuck at

# include dir: include/od-1.0/od
include dir: share/doc/od-1.0/doxygen
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11")

You can look here, to see how cmake goes:
http://pastebin.com/HH5vZxv3

Mismatching delete

3rdparty\SiftGPU\src\SiftGPU\GLTexImage.cpp line 1186

should be: delete [] data;

Build errors in exmples

While building the examples in opendetection I got the following errors,

cp: cannot create regular file ‘/home/sarkar/libs/bin/’: No such file or directory
make[2]: *** [examples/apps/odcadrecog_test_single_model] Error 1
make[1]: *** [examples/apps/CMakeFiles/odcadrecog_test_single_model.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I think it's due to a mistake here
I am not sure but path should be either
/usr/bin/
or
/usr/libs/bin

Better Installation instructions

Installation instructions on opendetection homepage is a bit lacking.

OpenNI is an optional dependency in PCL and OpenCV but opendetection doesn't build without it as it requires BUILD_apps_3d_rec_framework=ON. It should be listed as an additional dependency.

Also, in my case I had to use BUILD_TESTS=ON in VTK 6.3 which is not listed in installation instructions.

Lastly, I am not sure about this one but it also requires VTK and OpenCV to be build with QT.

Compilation for only CPU mode

I want to compile the library for a plain CPU . Installation asks for Opencv_contrib with CUDA support.

Scanning dependencies of target od_common
[ 30%] [ 32%] [ 34%] Building CXX object common/CMakeFiles/od_common.dir/pipeline/ObjectDetector.cpp.o
[ 36%] Building CXX object common/CMakeFiles/od_common.dir/pipeline/ODScene.cpp.o
Building CXX object common/CMakeFiles/od_common.dir/utils/utils.cpp.o
Building CXX object common/CMakeFiles/od_common.dir/utils/ODFeatureDetector2D.cpp.o
In file included from
open_detection/opendetection/common/utils/ODFeatureDetector2D.cpp:6:0:
open_detection/opendetection/common/utils/ODFeatureDetector2D.h:16:38: fatal error: opencv2/cudafeatures2d.hpp: No such file or directory
#include <opencv2/cudafeatures2d.hpp>
^
compilation terminated.
make[2]: *** [common/CMakeFiles/od_common.dir/utils/ODFeatureDetector2D.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [common/CMakeFiles/od_common.dir/all] Error 2
make: *** [all] Error 2

Any hack around this ?

Hey everybody, having a little trouble with the installation process

Hey everyone, I have a few questions. 1) I downloaded and extracted SVMLight for Linux 64bit to opendetection/3rdparty/svmlight, and in the installation instructions it says I should have files like svm_common.c and svm_learn.c in the directory, but instead I have LICENSE.txt, svm_classify, and svm_learn. Is this OK?

Also, under installing PCL 1.8 or above, at this line:
3d_rec_framework - for ESF, ESF etc recognition pipeline. To build with this setting you need to install OpenNI as well, which is the mandatory dependency for this app. Please refer to the PCL website for the version information.

Additional CMAKE options: BUILD_apps=ON, BUILD_apps_3d_rec_framework=ON

  1. I am seriously confused on how exactly to build with the 3d_rec_framework setting, while installing OpenNI, and enabling the CMAKE options at the bottom.
  2. For installing OpenNI, is this the right website?
    http://robotica.unileon.es/index.php/PCL/OpenNI_tutorial_1:_Installing_and_testing

Thanks everyone!

Problem in compilation

Hello krips89,

First of all, Thanks for opendetection project.
I am using this project to detect 3D object. For that, I have started following the Installation Guide and I have installed everything. But, while compiling opendetection code , I am having this issue:

Boost version: 1.54.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- date_time
-- iostreams
-- serialization
-- chrono
-- Could NOT find DAVIDSDK (missing: DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR)
** WARNING ** io features related to davidSDK will be disabled
-- Could NOT find DSSDK (missing: _DSSDK_LIBRARIES)
** WARNING ** io features related to dssdk will be disabled
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
-- The imported target "vtkWrapTcl" references the file
"/usr/bin/vtkWrapTcl"
but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained
    "/usr/lib/vtk-5.8/VTKTargets.cmake"
    but not all the files it references.

-- The imported target "vtkWrapTclInit" references the file
"/usr/bin/vtkWrapTclInit"
but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained
    "/usr/lib/vtk-5.8/VTKTargets.cmake"
    but not all the files it references.

Can you please help me to figure out this.

Thanks.

Trouble with compiling

Hi,

I am a new to opencv. I have compiled opencv, VTK, PCL and all other dependencies. but when I try to compile opendetection, I get the following error:

In file included from /opt/opendetection/common/utils/ODFeatureDetector2D.cpp:6:0:
/opt/opendetection/common/utils/ODFeatureDetector2D.h:16:38: fatal error: opencv2/cudafeatures2d.hpp: No such file or directory
#include <opencv2/cudafeatures2d.hpp>
^
compilation terminated.

I checked the file is there in opencv2 folder.

Could you please suggest a solution?

Thank you.

Regards,
Hiren.

Problems while building opendetection on windows platform

I am trying to build opendetection in Microsoft Visual Studio 2012. Here are the issues:

  1. missing header files glob.h, sys/time.h and sys/cdefs.h in windows.
    These header files are availble in ubuntu so it will not generate an error while building opendetection on ubuntu.

  2. Error: typename cannot be used outside a template declaration in ODDetection.h

Errors while running examples

I am on Ubuntu 14.04. I am trying to run examples but I am facing some problems

I was running od_image_hog_files and od_cascade_files and I received

winSize: [64 x 128]
blockSize: [16 x 16]
blockStride: [8 x 8]
cellSize: [8 x 8]
hitThreshold: 0.98114
init done 
opengl support available 
Segmentation fault (core dumped)

od_multihog_app also crashes

HOG TYPE: OpenCV Default People
winSize: [64 x 128]
blockSize: [16 x 16]
blockStride: [8 x 8]
cellSize: [8 x 8]
hitThreshold: 0
HOG TYPE: OpenCV Daimler People
winSize: [64 x 128]
blockSize: [16 x 16]
blockStride: [8 x 8]
cellSize: [8 x 8]
hitThreshold: 1.2
HOG TYPE: Custom HOG features loaded from: /home/ishank/Workspace/opendetection/opendetection_data/trained_data/TD_HOG/odtrained.hog.xml
winSize: [64 x 128]
blockSize: [16 x 16]
blockStride: [8 x 8]
cellSize: [8 x 8]
hitThreshold: 0.98114
GStreamer: Error opening bin: Unrecoverable syntax error while parsing pipeline TownCentre.avi
CvCapture_OpenNI::CvCapture_OpenNI : Failed to open input file (TownCentre.avi): Bad file extension
init done 
opengl support available 
Segmentation fault (core dumped)

I think it's probably some unmet dependency. Any idea how to resolve?

Build error due to cout

In file included from /home/ishank/Workspace/opendetection/common/utils/utils.cpp:4:0:
/home/ishank/Workspace/opendetection/common/utils/utils.h: In function ‘void od::printListIn(std::vector<_Tp>, int)’:
/home/ishank/Workspace/opendetection/common/utils/utils.h:169:7: error: ‘cout’ is not a member of ‘std’
       std::cout << (Ptype) list[i] << " ";
       ^
/home/ishank/Workspace/opendetection/common/utils/utils.h:170:5: error: ‘cout’ is not a member of ‘std’
     std::cout << std::endl;
     ^
/home/ishank/Workspace/opendetection/common/utils/utils.h: In function ‘void od::printList(std::vector<_Tp>)’:
/home/ishank/Workspace/opendetection/common/utils/utils.h:177:7: error: ‘cout’ is not a member of ‘std’
       std::cout << list[i] << " ";
       ^
/home/ishank/Workspace/opendetection/common/utils/utils.h:178:5: error: ‘cout’ is not a member of ‘std’
     std::cout << std::endl;
     ^
/home/ishank/Workspace/opendetection/common/utils/utils.h: In static member function ‘static std::string od::FileUtils::getFirstFile(std::string, std::string)’:
/home/ishank/Workspace/opendetection/common/utils/utils.h:200:9: error: ‘cout’ is not a member of ‘std’
         std::cout << "No file with extension " << extension << " present!\nReturning NULL";

I am getting these errors while building opendetection on Ubuntu 14.04. I think utils.h is probably missing iostream. If this is the problem I can raise a PR?

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.