Add an init to set the detection model
Add an init to set the detection model