Update analyze.py
This commit is contained in:
+3
-1
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
|
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
|
||||||
os.environ['CUDA_VISIBLE_DEVICES'] = ''
|
os.environ['CUDA_VISIBLE_DEVICES'] = ''
|
||||||
@@ -218,6 +217,9 @@ def main():
|
|||||||
# Write detections to output file
|
# Write detections to output file
|
||||||
min_conf = max(0.01, min(args.min_conf, 0.99))
|
min_conf = max(0.01, min(args.min_conf, 0.99))
|
||||||
writeResultsToFile(detections, min_conf, args.o)
|
writeResultsToFile(detections, min_conf, args.o)
|
||||||
|
for i in detections:
|
||||||
|
print("\n", detections[i][0],"\n")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user