I apologize for such a naive comment, as I don't have experience in this field, but I've seen OpenAI do some pretty impressive image recognition tasks (multimodal LLMs). Have you tried uploading some images of successful injection castings and some of unsuccessful injection castings (they don't even have to be of the same mold), telling it "These are examples of success" "these are examples of failures, e.g. flashing, blemish, scratch, etc" and feeding it picture(s) of the casted object?
It'd be interesting to hear how effective that is.