Collagen fibers play an important role in the progression of liver diseases. The formation and progression of liver fibrosis is a dynamic pathological process accompanied by morphological changes in collagen fibers. In this study, we used multiphoton microscopy for label-free imaging of liver tissues, allowing direct detection of various components including collagen fibers, tumors, blood vessels, and lymphocytes. Then, we developed a deep learning classification model to automatically identify tumor regions, and the accuracy reaches 0.998. We introduced an automated image processing method to extract eight collagen morphological features from various stages of liver diseases. Statistical analysis showed significant differences between them, indicating the potential use of these quantitative features for monitoring fibrotic changes during the progression of liver diseases. Therefore, multiphoton imaging combined with automatic image processing method would hold a promising future in rapid and label-free diagnosis of liver diseases.