| CPC G06V 10/765 (2022.01) [G06V 10/751 (2022.01)] | 8 Claims |

|
1. A method of segmenting objects in an image using artificial intelligence, comprising:
obtaining, by an analysis device, an image containing at least one object;
inputting the image acquired by the analysis device into a segmentation model; and
segmenting, by the analysis device, objects in the acquired image based on values output by the segmentation model,
wherein an image containing at least one object is used as learning data, the size of objects in the learning data is estimated as part of the learning process, different weightings are given to pixels of which the objects consist according to the estimated size of the objects, and the segmentation model is trained based on a loss function in which the given weightings are considered, a size-weighted loss function,
wherein the method of giving different weightings to pixels involves giving high weightings to pixels when the estimated relative size of the object is large and giving low weightings to pixels when the estimated relative size of the object is small.
|