Stage#
- class rapidtools.processing.Stage(value)[source]#
Bases:
IntEnumExecution order of pipeline steps (lower runs first).
- Variables:
DETECT – Discover assets in imagery (e.g. SAM 3 feature extraction).
EXTRACT_IMAGERY – Attach aerial or street-level images to assets.
REGULARIZE – Clean and regularize asset geometries.
SEGMENT – Segment the attached images (masks, boxes).
VERIFY – Confirm detections with a model and drop false positives; runs after imagery is attached and before analysis, so rejected objects are never sent to the (paid) analysis model.
ANALYZE – Run vision-language models over the images.
EXPORT – Reporters and exporters.
CUSTOM – Steps without a declared stage; run last.
Example
>>> Stage.DETECT < Stage.ANALYZE < Stage.CUSTOM True
Methods
conjugateReturns self, the complex conjugate of any int.
bit_lengthNumber of bits necessary to represent self in binary.
bit_countNumber of ones in the binary representation of the absolute value of self.
to_bytesReturn an array of bytes representing an integer.
from_bytesReturn the integer represented by the given array of bytes.
as_integer_ratioReturn integer ratio.