Home > other > Python code how to implement the adjacent images or continuously the comparison of the picture? Seek
Python code how to implement the adjacent images or continuously the comparison of the picture? Seek
Time:12-05
Python [/code] code implementation judge of adjacent images or continuous picture A total of 500 images, there is a TXT documents, document is inside the picture information but not all image contains only part of the information, For no image TXT document information you need to determine the current image quality, Known every two images must have a is good For example: 5,6,8,9,5689 is the number of the picture, zhang no 7 TXT documents information then this is a good 3 and 7, 3 and 7 is the picture name, between 3 and 7, no. 4 and 6 images without TXT message, so there must be some good just didn't save in the 4 and 6 information, so you need to determine which is a good 4 and 6?
CodePudding user response:
Sensory information is less, the basis of a judge pictures only of adjacent images, good or bad? Every two images must have a is good, that means at least one is good, can't be bad for two, but the first case, you did not show the stand or fall of 6 and 8 information is directly decided that 7 is good, if 6 and 8 are good, then 7 is bad also no problem still accord with what you say every two images must have a is good, and so to you the proposed conditions will appear a lot of kinds of situation, can not only determine the stand or fall of image,