1
0
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:
Roman Donchenko
2013-08-27 14:23:26 +04:00
parent 9b92545ce6
commit 9ed475cf52
56 changed files with 33 additions and 66 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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()
+1 -1
View File
@@ -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