Image resizing is now done in DetectObject rather than Camera