exi / libism

library for implicit shape model based scene recognition
3 stars 2 forks source link

How is the usage of libism in python? #1

Open sara-eb opened 6 years ago

sara-eb commented 6 years ago

Hi,

could you please how to use the library for implicit shape model based scene recognition in python? I only want to use the implicit shape model for segmentation task, could you please guide?

Thanks

sara-eb commented 6 years ago

Hi I tried to compile the code, I created a build directory in the root and then

mkdir build
cd build
cmake ..

However, I am getting the following error

/libism/build$ cmake ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   filesystem
CMake Error at ISM/CMakeLists.txt:19 (add_subdirectory):
  add_subdirectory given source "soci/src" which is not an existing
  directory.

-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   program_options
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)
  (Required is at least version "2.91.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  ISM/cmake/Modules/FindEigen3.cmake:76 (find_package_handle_standard_args)
  ISM/CMakeLists.txt:24 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/user/workspace/libism/build/CMakeFiles/CMakeOutput.log".

Could you please guide how can i compile and use it in python? Thanks