Skip to content

Commit

Permalink
[WIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed Jun 18, 2024
1 parent 1cb8da2 commit b6b32ce
Show file tree
Hide file tree
Showing 30 changed files with 49 additions and 33 deletions.
64 changes: 49 additions & 15 deletions share/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,49 @@
# Copyright: 2019 UC3M
# Author: Juan G Victores
# CopyPolicy: Released under the terms of the GNU LGPL v2.1.

yarp_install(FILES applications/ymanager.ini
applications/example_rgbDetection.xml
applications/example_rgbdDetection.xml
applications/visionFakeSensors.xml
applications/visionSensors.xml
applications/visionTools.xml
DESTINATION ${ROBOTICSLAB-VISION_APPLICATIONS_INSTALL_DIR})
if(ENABLE_DnnDetector)
yarp_install(FILES contexts/DnnDetector/DnnDetector.ini
contexts/DnnDetector/coco-object-categories.txt
contexts/DnnDetector/object_detection_classes_yolov3_sharon.txt
DESTINATION ${ROBOTICSLAB-VISION_CONTEXTS_INSTALL_DIR}/DnnDetector)

### Go through single applications
if(DOWNLOAD_MODELS)
yarp_install(DIRECTORY ${CMAKE_SOURCE_DIR}/models/yolov3-tiny
DESTINATION ${ROBOTICSLAB-VISION_CONTEXTS_INSTALL_DIR}/DnnDetector)
endif()

if(ENABLE_DnnDetector)
add_subdirectory(DnnDetector)
if(ENABLE_tests)
yarp_install(FILES contexts/teddy-bear.ppm
DESTINATION ${ROBOTICSLAB-VISION_CONTEXTS_INSTALL_DIR}/DnnDetector/tests)
endif()
endif()

if(ENABLE_HaarDetector)
add_subdirectory(HaarDetector)
yarp_install(FILES contexts/HaarDetector/haarcascade_cocacola_can.xml
contexts/HaarDetector/haarcascade_frontalface_alt.xml
contexts/HaarDetector/haarcascade_car.xml
contexts/HaarDetector/haarcascade_coke.xml
contexts/HaarDetector/haarcascade_lemon.xml
contexts/HaarDetector/haarcascade_sofa.xml
contexts/HaarDetector/haarcascade_chair.xml
contexts/HaarDetector/haarcascade_clock.xml
contexts/HaarDetector/haarcascade_cup.xml
contexts/HaarDetector/haarcascade_mouse.xml
contexts/HaarDetector/haarcascade_table.xml
contexts/HaarDetector/haarcascade_cutlery.xml
contexts/HaarDetector/haarcascade_keyboard.xml
contexts/HaarDetector/haarcascade_pal_logo.xml
contexts/HaarDetector/haarcascade_tv.xml
contexts/HaarDetector/haarcascade_dog.xml
contexts/HaarDetector/haarcascade_lamp.xml
DESTINATION ${ROBOTICSLAB-VISION_CONTEXTS_INSTALL_DIR}/HaarDetector)

if(DOWNLOAD_MODELS)
yarp_install(DIRECTORY ${CMAKE_SOURCE_DIR}/models/lbfmodel
DESTINATION ${ROBOTICSLAB-VISION_CONTEXTS_INSTALL_DIR}/HaarDetector)
endif()

if(ENABLE_tests)
yarp_install(FILES contexts/face-nc.pgm
DESTINATION ${ROBOTICSLAB-VISION_CONTEXTS_INSTALL_DIR}/HaarDetector/tests)
endif()
endif()

if(ENABLE_QrDetector)
Expand All @@ -29,3 +55,11 @@ if(ENABLE_sceneReconstruction)
endif()

add_subdirectory(sensors)

yarp_install(FILES applications/ymanager.ini
applications/example_rgbDetection.xml
applications/example_rgbdDetection.xml
applications/visionFakeSensors.xml
applications/visionSensors.xml
applications/visionTools.xml
DESTINATION ${ROBOTICSLAB-VISION_APPLICATIONS_INSTALL_DIR})
18 changes: 0 additions & 18 deletions share/DnnDetector/CMakeLists.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b6b32ce

Please sign in to comment.