CNN-based image quality assessment of consumer photographs