did a bunch of debugging on the detection image capabilities