mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
359 B
18 lines
359 B
12 years ago
|
#!/usr/bin/env python
|
||
|
|
||
|
import argparse
|
||
|
import sft
|
||
|
|
||
|
import sys, os, os.path, glob, math, cv2, re
|
||
|
from datetime import datetime
|
||
|
import numpy
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
path = "/home/kellan/datasets/caltech/set00/V000.txt"
|
||
|
# open annotation file
|
||
|
f = open(path)
|
||
12 years ago
|
annotations = sft.parse_caltech(f)
|
||
12 years ago
|
|
||
|
for each in annotations:
|
||
|
print each
|