UFO.visualize_detection_results¶
- UFO.visualize_detection_results(interactive=True, save_frames=False, frame_output='./{}.png')[source]¶
This method visualizes detection results, overlaying them on the images themselves.
The detections are filtered based off of quality code using
visual_inspection_quality_code_minimum
.They are then plotted on the images. The plots can either be saved to file (if
save_frames
is set toTrue
), displayed interactively (ifinteractive
is set toTrue
) or displayed all at once (ifsave_frames
andframe_output
are both set toFalse
). Note that this last option can make a lot of figures, therefore we encourage you to use theinteractive
option instead.For more details refer to the
show_detections()
function.- Parameters:
interactive (bool) – Generate an interactive GUI for flipping through the frames
save_frames (bool) – Save all frames to a file and don’t display them on the screen
frame_output (str) – The location to save all of the frames. Should include a format specifier {} which will be replaced with the name of the image.