To provide a nail printing device, an operation control method of a nail printing device, and an operation control program of a nail printing device capable of accurately detecting a substrate formation area, eliminating erroneous detection in detecting the substrate formation area.SOLUTION: A nail printing device 10 includes: an image acquisition part 46 for acquiring an image taken of a finger including a nail; a light source 46a for applying light to the finger including the nail in taking an image; and an analysis part 62 that, on the basis of each luminance value and hue of a plurality of pixels of the nail 11 in the image, analyzes and determines which of a pixel part with halation, a toe pixel part, a substrate formation pixel part, and a pixel part that does not correspond to any of them each pixel is applicable to.SELECTED DRAWING: Figure 3
展开▼