Image based deep learning in 12-lead ECG diagnosis