If you want to introduce an automatic peak picking, you may want to consider the automatic measurement of the SINO. Than you take peaks for extrema that are above&below 5xnoise level. I wrote a paper on a nice algorith to determine SINO automatically in 1D and 2D spectra https://onlinelibrary.wiley.com/doi/full/10.1002/mrc.4882
If you want to introduce an automatic peak picking, you may want to consider the automatic measurement of the SINO. Than you take peaks for extrema that are above&below 5xnoise level. I wrote a paper on a nice algorith to determine SINO automatically in 1D and 2D spectra https://onlinelibrary.wiley.com/doi/full/10.1002/mrc.4882