Got object drawing working in detector, kinda messy for now