Deep learning for fast quality assessment