forked from thodan/bop_toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
32 lines (21 loc) · 900 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Author: Tomas Hodan (hodantom@cmp.felk.cvut.cz)
# Center for Machine Perception, Czech Technical University in Prague
"""Configuration of the BOP Toolkit."""
import os
######## Basic ########
# Folder with the BOP datasets.
if "BOP_PATH" in os.environ:
datasets_path = os.environ["BOP_PATH"]
else:
datasets_path = r"./data"
# Folder with pose results to be evaluated.
results_path = r"./"
# Folder for the calculated pose errors and performance scores.
eval_path = r"./scripts/scenereplica_scripts/results"
######## Extended ########
# Folder for outputs (e.g. visualizations).
output_path = r"./scripts/scenereplica_scripts/results"
# For offscreen C++ rendering: Path to the build folder of bop_renderer (github.com/thodan/bop_renderer).
bop_renderer_path = r"/path/to/bop_renderer/build"
# Executable of the MeshLab server.
meshlab_server_path = r"/path/to/meshlabserver.exe"