Giter Site home page Giter Site logo

mttgdd / openfabmap-python3 Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 204 KB

Pybind11 and numpy array bindings to openFABMAP

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

CMake 4.62% C++ 88.62% Python 3.33% Dockerfile 3.43%
cpp numpy openfabmap pybind11 python robotics vision

openfabmap-python3's People

Contributors

jskinn avatar mttgdd avatar

Watchers

 avatar  avatar

openfabmap-python3's Issues

Compilation errors

Hi Matt,
I am trying to build this with OpenCV 3.4. I have cloned and built openCV 3.4 as well as opencv-contrib 3.4

There are a few issues building the repo:

  1. The sub-modules did not clone correctly. I had to manually clone them into the respective folders in your repo. I think there was an issue with how they are called. I also had to clone your repo itself, the terminal inputs in the readme.md threw up public key errors it also seems like the name of the repo changed? openfabmap-python to openfabmap-python3?

  2. Not using opencv built from the package installer [i.e sudo apt install libopencv-dev] results in line 3 of detectorsAndExtractors.cpp needing to be changed to point to nonfree.hpp in the contrib module [though this workaround never really worked on either repo so I have a suspicion that there is something amiss]

The complie then fails with the following error:

CMakeFiles/openfabmap_python3.dir/build.make:206: recipe for target 'CMakeFiles/openfabmap_python3.dir/src/detectorsAndExtractors.cpp.o' failed
make[2]: *** [CMakeFiles/openfabmap_python3.dir/src/detectorsAndExtractors.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/openfabmap_python3.dir/all' failed
make[1]: *** [CMakeFiles/openfabmap_python3.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

So I think there is something wrong here. Though when running just the cmake file of openFABMAP it finds openCV 3.4.14 and the non-free modules.

I have also have a dump of the whole terminal so that you can see that commands used, if this will help you.

I hope this makes sense to you.

Matt

example, seg-fault

Hi @mr-church, could you confirm that on a fresh pull of the docker image/clone of the repo/however you have it installed, that you now pass through this point in the example without seg-faulting:

use OpenCV cpp methods for image loading and feature extraction

My apologies for the error, it must have crept in when I was making changes to the API elsewhere. Just needed to pass explicit settings for OpenCV detector-extractors.

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.