Ecglib is an automatic ECG analysis algorithm library, which is mainly used for automatic analysis of resting ECG, age and gender, which can be regarded as a diagnostic factor to ensure the accuracy of diagnosis. Through the CSE ECG database evaluation of automatic ECG analysis algorithm (ecglib), in order to achieve better results.