A federal judge in Chicago has ruled that immigration agents must begin wearing body cameras to record their actions during enforcement operations.