ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::vision::AnnotationConfig Struct Reference

Configuration for ML annotation inference and data loading. More...

#include <annotate.hpp>

Collaboration diagram for reusex::vision::AnnotationConfig:

Public Attributes

bool use_cuda = false
 Force CUDA acceleration.
size_t batch_size = 16
 Batch size for inference (recommended: 8-64).
bool shuffle = false
 Shuffle dataset before processing.
size_t num_workers = 4
 Number of worker threads (recommended: 2-4).
size_t prefetch_batches
 Batches to prefetch (recommended: 2-3x workers).
bool skip_annotated = false
 Skip frames that already have segmentation.
float confidence = 0.5f
 Detection confidence threshold [0,1].
std::vector< std::string > prompts
 Concept/class prompts (empty = model default).
std::optional< uint32_t > seed
 Shuffle RNG seed (fixed=deterministic, nullopt=entropy).
bool video = false
 Use the stateful video-tracker path (SAM 3.1).

Detailed Description

Configuration for ML annotation inference and data loading.

Definition at line 15 of file annotate.hpp.

Member Data Documentation

◆ batch_size

size_t reusex::vision::AnnotationConfig::batch_size = 16

Batch size for inference (recommended: 8-64).

Definition at line 17 of file annotate.hpp.

◆ confidence

float reusex::vision::AnnotationConfig::confidence = 0.5f

Detection confidence threshold [0,1].

Definition at line 23 of file annotate.hpp.

◆ num_workers

size_t reusex::vision::AnnotationConfig::num_workers = 4

Number of worker threads (recommended: 2-4).

Definition at line 19 of file annotate.hpp.

◆ prefetch_batches

size_t reusex::vision::AnnotationConfig::prefetch_batches
Initial value:
=
8

Batches to prefetch (recommended: 2-3x workers).

Definition at line 20 of file annotate.hpp.

◆ prompts

std::vector<std::string> reusex::vision::AnnotationConfig::prompts

Concept/class prompts (empty = model default).

Definition at line 25 of file annotate.hpp.

◆ seed

std::optional<uint32_t> reusex::vision::AnnotationConfig::seed
Initial value:
=
42

Shuffle RNG seed (fixed=deterministic, nullopt=entropy).

Definition at line 26 of file annotate.hpp.

◆ shuffle

bool reusex::vision::AnnotationConfig::shuffle = false

Shuffle dataset before processing.

Definition at line 18 of file annotate.hpp.

◆ skip_annotated

bool reusex::vision::AnnotationConfig::skip_annotated = false

Skip frames that already have segmentation.

Definition at line 22 of file annotate.hpp.

◆ use_cuda

bool reusex::vision::AnnotationConfig::use_cuda = false

Force CUDA acceleration.

Definition at line 16 of file annotate.hpp.

◆ video

bool reusex::vision::AnnotationConfig::video = false

Use the stateful video-tracker path (SAM 3.1).

Frames are processed in temporal order on a single thread; the shuffled Dataloader is bypassed.

Definition at line 28 of file annotate.hpp.


The documentation for this struct was generated from the following file: