Is there a way to output raw detection results? Ideally, I would like to be able to produce a JSON that would include for each object class the count of detected objects and their share of the total image area - where should I start looking? Thanks.
What did you observe instead?
E.g.:
The command that you ran
PYTHONPATH environment variable: ?python --version output: ?You can create a new script based on infer_simple.py but instead of generating a PDF ( vis_utils.vis_one_image() ) you could just print the data you need to a file.
@sh0gg0th after an inference run a file detections.pkl is written to the output folder, which contains all the raw detections.
Hello there,
@kampelmuehler, is there a way to activate detections.pkl from infer_simple.py or I have to make my own script? By default, the infer_simple.py I have does not write a detections.pkl file.
detections.pkl is created automatically whenever you run inference. At least as of February 18.
detections.pklis created automatically whenever you run inference. At least as of February 18.
do you know where exactly? not found in tmp
Most helpful comment
@sh0gg0th after an inference run a file
detections.pklis written to the output folder, which contains all the raw detections.