Research of microstructure and permeability evolution of coal following LN2 treatment elucidate the process of cryogenic fracturing due to environmentally friendly behavior in comparison with conventional hydraulic fracturing. The evolution of the 2D microstructure of bituminous coal before and after LN2 treatment was examined using a high-resolution camera. The image processing was implemented using functions from the OpenCV Python library that are sequentially applied to digital images of original coal samples. The images were converted into binary pixel matrices to identify cracks and to evaluate the number of cracks, crack density, total crack area, and average crack length. Results were visualized using Seaborn and Matplotlib Python libraries. There were calculations of total crack area (TCA), total number of cracks (TNC), crack density (CD), the average length of cracks (Q2), first (Q1) and third (Q3) quartiles in fracture length statistics. Our findings demonstrate a progressive increase in the Total Crack Area (δTCA) with longer freezing times and an increased number of freezing–thawing cycles. In contrast, the change in crack density (δCD) was generally unaffected by freezing time alone but exhibited a significant increase after several freezing–thawing cycles. Among the freezing times investigated, the highest crack density (CD) value of 300 m−1 was achieved in FT60, while the lowest CD value of 31.25 m−1 was observed in FT90 after liquid nitrogen (LN2) treatment. Additionally, the FTC4 process resulted in a 50% augmentation in the number of cracks, whereas the FTC5 process tripled the number of small cracks.