The invention discloses a focus identification method and device based on a magnetic control
capsule endoscopy image, and relates to the technical field of medical detection assistance, and the method comprises the following steps: collecting the magnetic control
capsule endoscopy image, obtaining the movement position and speed of a
capsule in real time, and screening out the
endoscopy image in a high-speed movement time period as a target image set; reading gradient change data of the target
image based on a Sobel
algorithm, generating a saliency value, and obtaining a
motion blur score through global average
pooling to represent image definition; images which do not meet the definition requirement are screened out according to the scores, an image reconstruction device is constructed, the learning rate is dynamically adjusted, the image definition is enhanced, and an identification
endoscope image is obtained; inputting the recognition
endoscope image and the remaining image into the trained focus recognition model, and outputting an image containing a focus type and a region mark; the quality of the image finally input into the
lesion analysis model is ensured, and the
lesion identification accuracy is remarkably improved.