#pragma once #include #include #include #include #include namespace cms { struct DoorMaskAnnotationOptions { std::filesystem::path output_json; std::filesystem::path reference_image; bool overwrite{}; std::optional source_video; std::optional source_frame_index; }; // Returns false when the user cancels without writing any annotation files. bool annotateDoorMask(cv::Mat const& image, DoorMaskAnnotationOptions const& options); }