2022-01-13 03:21:41 +08:00
|
|
|
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
|
2020-12-17 23:54:34 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2022-03-18 07:42:07 +08:00
|
|
|
from spack.pkg.builtin.boost import Boost
|
|
|
|
|
2020-12-17 23:54:34 +08:00
|
|
|
|
|
|
|
class Dbow2(CMakePackage):
|
|
|
|
"""DBoW2 is an improved version of the DBow library, an open source C++
|
|
|
|
library for indexing and converting images into a bag-of-word
|
|
|
|
representation."""
|
|
|
|
|
|
|
|
homepage = "https://github.com/dorian3d/DBoW2"
|
|
|
|
git = "https://github.com/dorian3d/DBoW2.git"
|
|
|
|
|
|
|
|
version('master', branch='master')
|
|
|
|
version('shinsumicco', git='https://github.com/shinsumicco/DBoW2.git', branch='master')
|
|
|
|
|
|
|
|
depends_on('cmake@3.0:', type='build')
|
2022-03-18 07:42:07 +08:00
|
|
|
# TODO: replace this with an explicit list of components of Boost,
|
|
|
|
# for instance depends_on('boost +filesystem')
|
|
|
|
# See https://github.com/spack/spack/pull/22303 for reference
|
|
|
|
depends_on(Boost.with_default_variants)
|
2022-02-01 11:24:03 +08:00
|
|
|
depends_on('opencv+calib3d+features2d+highgui+imgproc')
|
2020-12-17 23:54:34 +08:00
|
|
|
depends_on('dlib')
|
2021-02-26 17:19:03 +08:00
|
|
|
depends_on('eigen', type='link')
|