CNN code for multimedia systems project.