Preventing fluid penetration poses a challenging reliability concern in the context of power electronics, which is usually caused by unforeseen microfractures along the sealing joints. A better and more reliable product design heavily depends on the understanding of the dynamic wetting processes happening inside these complex microfractures, i.e. microchannels. A novel automated image processing procedure is proposed in this work for analyzing the moving interface and the dynamic contact angle in microchannels. In particular, the developed method is advantageous for experiments involving non-transparent samples, where extracting the fluid interface geometry poses a significant challenge. The developed method is validated with theoretical values and manual measurements and exhibits high accuracy. The implementation is made publicly available. The developed method is validated and applied to experimental investigations of forced wetting with two working fluids (water and 50 wt% glycerin/water mixture) in four distinct microchannels characterized by different dimensions and curvature. The comparison between the experimental results and molecular kinetic theory (MKT) reveals that the dynamic wetting behavior can be described well by MKT, even in highly curved microchannels. The dynamic wetting behavior shows a strong dependency on the channel geometry and curvature.