At first, I was going to take a passive stance on this feature, since we do have similar automatic Q&A quality mechanisms maintained by the community. One could consider building a bot of your own that does just that to incoming questions.
However, there are multiple concerns here that should step us away from even trying.
As already suggested in the comments, most of the questions with images of code are correlated with question authors who don't know how to ask very well, and as such, images with code will not be the only problem in the question. For one, a question where the code was provided as an image will not have actual code segments. In combination with other heuristics over purely textual information, one can already assess the quality of the question without looking at the contents of the image, with just about as much precision as we could get from image analysis.
Another major concern is that there would be nearly unavoidable false positives when the OP wants to show syntax highlighting or other forms of colored output in the question. In this case, an MCVE would have to include a screenshot of the IDE, terminal, or whatever canvas where the user is showing the obtained outcome. In this case, the image is an output of the program, not the program itself.
This third reason is a bit farfetched, but I'm including it anyway: if it was implemented using a neural network, that could also become a playground for adversarial attacks, leading to someone stubborn enough to try multiple, slightly perturbed images of that code until it's accepted. If this was integrated into Stack Overflow (preventing the question from ever showing up if such an image is detected), it would throttle the system until the question was in. Therefore, this is no longer as simple as building and training a neural network. Defending against adversarial attacks is a heavily researched subject to this day.
As much as I would like to see some magic barriers to keep poor questions away, this approach would not work so well.
Neural network application
very easy to develop
Pick one.