Recognizing artifacts from fragments