Function voc_perturb::bbox_modify [] [src]

pub fn bbox_modify<F>(
    input_xml: &Path,
    output_xml: &Path,
    modifier: F
) -> Result<(), Box<Error>> where
    F: Fn(&ParserState, i32) -> i32

Modify an input xml annotation via a custom modifier function, write to the output xml file.