The present application relates to an image block
recovery method, device,
computer equipment, and storage medium. The method includes: in the process of
video decoding, obtaining a target image block with decoding errors, and obtaining corresponding information of the target image block; determining the target
component type based on the component information, and determining the target prediction type based on the prediction type information; obtaining a target image block
recovery network corresponding to the target image block according to the target
component type and the target prediction type; obtaining surrounding image blocks corresponding to the target image block, and using the target image block and the surrounding image blocks as input image blocks; inputting the input image block into the target image block
recovery network to obtain an image block recovery result of the target image block. The method can automatically call the image block recovery network for different error conditions when
video decoding errors occur, and recover the image blocks with decoding errors to ensure normal video playback.