capture2text uses tesseract 4.0 build at 2017 (at the moment 7 years ago!) Check how many commits where made https://github.com/tesseract-ocr/tesseract/commits/main/. Non of them are relevant to you? e.g. speed improvements? Official trainnedata did not changed, but you can do custom fine tuning for you case.
fix build with leptonica 1.70
add option '--dissable-rpath'
remove undeclared function/ old code to fix issue #37
remove unnecesary code, fix code and name style
Correction in condition for checking if the representant is existing and removed also one duplicate code inside method for unifying symbols
option to use autoThresholding. Improved version from bachelor thesis JBIG2 compression http://is.muni.cz/th/208155/fi_b/.
improve configure script for testing of all posible leptonica dependencies