mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
War on Whitespace, master edition: file endings.
This commit is contained in:
@@ -100,4 +100,4 @@ if __name__ == "__main__":
|
||||
fppi, miss_rate = sft.computeROC(confidenses, tp, nannotated, nframes, ignored)
|
||||
sft.plotLogLog(fppi, miss_rate, plot_colors[idx])
|
||||
|
||||
sft.showPlot(args.output, args.labels)
|
||||
sft.showPlot(args.output, args.labels)
|
||||
|
||||
@@ -139,4 +139,4 @@ if __name__ == "__main__":
|
||||
path, ext = os.path.splitext(each)
|
||||
path = path + ".seq"
|
||||
print path
|
||||
extractPositive(open(each), path, opath, options.octave, options.min_possible)
|
||||
extractPositive(open(each), path, opath, options.octave, options.min_possible)
|
||||
|
||||
@@ -136,4 +136,4 @@ if __name__ == "__main__":
|
||||
cv2.imwrite(os.path.join(cneg_path, out_name), img)
|
||||
idx = idx + 1
|
||||
print "." ,
|
||||
sys.stdout.flush()
|
||||
sys.stdout.flush()
|
||||
|
||||
@@ -278,4 +278,4 @@ def parse_caltech(f):
|
||||
for idx, (p, pv, oc) in enumerate(zip(*[pos, posv, occl])):
|
||||
annotations[start + idx].append((type, p, oc, pv))
|
||||
|
||||
return annotations
|
||||
return annotations
|
||||
|
||||
Reference in New Issue
Block a user