Exemple #1
0
def test_remove_border_unseen():
    v = VocXmlDetectAnnotation('data/voc-xml/000004.xml', 'data/voc-xml/')
    v1 = v.genRotatedAnnotation(True)
    v2 = v1.genCropResult()
    v3 = v2.genNoBoarderAndUnseenAnnotation()
Exemple #2
0
def test_flip_and_crop():
    v = VocXmlDetectAnnotation('data/voc-xml/000004.xml', 'data/voc-xml/')
    v1 = v.genRotatedAnnotation(True)
    v1.genCropResult()
Exemple #3
0
def test_xml_dump():
    v = VocXmlDetectAnnotation('data/voc-xml/000004.xml', 'data/voc-xml/')
    v2 = v.genRotatedAnnotation(True)
Exemple #4
0
def test_flip_anno():
    v = VocXmlDetectAnnotation('data/voc-xml/000004.xml', 'data/voc-xml/')
    v.genRotatedAnnotation(True)