Intramuscular fat (IMF) content and distribution significantly contribute to the eating quality of pork. However, the current methods used for measuring these traits are complex, time‐consuming and costly. To simplify the measurement process, this study developed a smartphone application (App) called Pork IMF. This App serves as a rapid and portable phenotyping tool for acquiring pork images and extracting the image‐based IMF traits through embedded deep‐learning algorithms. Utilizing this App, we collected the IMF traits of the longissimus dorsi muscle in a crossbred population of Large White × Tongcheng pigs. Genome‐wide association studies detected 13 and 16 SNPs that were significantly associated with IMF content and distribution, respectively, highlighting NR2F2, MCTP2, MTLN, ST3GAL5, NDUFAB1 and PID1 as candidate genes. Our research introduces a user‐friendly digital phenotyping technology for quantifying IMF traits and suggests candidate genes and SNPs for genetic improvement of IMF traits in pigs.