ReUseX
0.0.1
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
annotate.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2025 Povl Filip Sonne-Frederiksen
2
//
3
// SPDX-License-Identifier: GPL-3.0-or-later
4
5
#pragma once
6
#include "
global-params.hpp
"
7
8
#include <CLI/CLI.hpp>
9
#include <filesystem>
10
#include <string>
11
12
namespace
fs = std::filesystem;
13
14
struct
SubcommandAnnotateOptions
{
15
16
fs::path
database_path_in
;
17
fs::path
net_path
= fs::current_path() /
"yolov8x-seg.torchscript"
;
18
19
bool
isCuda
{
false
};
20
};
21
22
// Function declarations.
23
void
setup_subcommand_annotate
(CLI::App &app);
24
int
run_subcommand_annotate
(
SubcommandAnnotateOptions
const
&opt);
run_subcommand_annotate
int run_subcommand_annotate(SubcommandAnnotateOptions const &opt)
setup_subcommand_annotate
void setup_subcommand_annotate(CLI::App &app)
global-params.hpp
SubcommandAnnotateOptions
Definition
annotate.hpp:14
SubcommandAnnotateOptions::net_path
fs::path net_path
Definition
annotate.hpp:17
SubcommandAnnotateOptions::database_path_in
fs::path database_path_in
Definition
annotate.hpp:16
SubcommandAnnotateOptions::isCuda
bool isCuda
Definition
annotate.hpp:19
apps
rux
include
annotate.hpp
Generated by
1.16.1