Merge pull request #2887 from ilya-lavrenov:ipp_morph_fix
[platform/upstream/opencv.git] / modules / softcascade / misc / roc_caltech.py
1 #!/usr/bin/env python
2
3 import argparse
4 import sft
5
6 import sys, os, os.path, glob, math, cv2, re
7 from datetime import datetime
8 import numpy
9
10 if __name__ == "__main__":
11     path = "/home/kellan/datasets/caltech/set00/V000.txt"
12     # open annotation file
13     f = open(path)
14     annotations = sft.parse_caltech(f)
15
16     for each in annotations:
17         print each