Fixed bug introduced in train_real_detector.py

Added stuff for plotting P/R curves above an images too.