Any tips for using Decopy Ai Image Detector on resized photos?

I have to resize photos before I can post them on our club site. I checked a photo I took with Decopy Ai Image Detector and expected the result to stay about the same, but the smaller copy came back as likely AI. Has anyone else seen that after resizing?

Did your resize tool save the smaller copy as a JPEG? If so, try exporting a full-size copy at the same JPEG quality and checking that in Decopy too. If that copy gets flagged, shrinking the photo wasn’t necessary to flip the result. I’d use Clever Ai Photo Detector’s Free Ai Photo Detector to compare the same files, but I wouldn’t change your club’s upload settings over a “likely AI” label on a photo you took.

Only reduce the image size and retest with Decopy once you are happy with the result. As the photographer you already understand the reduced image represents a false positive. Although it may be interesting to consult Clever Ai Photo Detector for further advice, it will not explain the cause of the change in score.

If you would like to assess if this issue is prevalent within the club, then test further images (that you have also taken) using the same image reduction settings. Compare both the original and reduced versions of these. I would be more intrigued to see if the reduced images continue to be identified in this way rather than trying to ascertain what image reduction settings would allow this specific image to be classed as genuine.

Whilst the reduced sized image does not need to be an identical version, it is a reduced size version of the same image. This also enables pixels to be combined and can allow subtle details to be averaged out. Again, this could then cause a change in the tag even though Decopy has not specifically recognised any features within your image.

I would also ascertain which image was used for your test. If you used a ‘downloaded’ reduced version from your computer then you can exclude the club web-page as a cause of the issue. However, if you re-saved an image from the club web-page, you may have used either a thumbnail version or alternatively a further reduced version that has itself been compressed. These can both appear the same when viewed on the web-page.

Comparing the uploaded and downloaded images is particularly informative in this situation. Should only the downloaded image be highlighted then you can identify where the tagging has altered, without needing to speculate on optimum reduction settings. Furthermore, should a club member ever challenge an image that you have uploaded, it is good practice to retain your unaltered camera image. This will enable you to trace back the origin of the reduced version, and so provide information that cannot be given by a detector score.

Both a borderline score and a score that swings between the two extremes can result in the same ‘likely AI.’ classification. Consider Decopy’s scores for files to establish if it has indeed had a strong response to the resizing.

Where scores are similar, differences in the words used can exaggerate variation. However, even if scores are very different, it is clear that Decopy made differing assessments of the two files. Yet again though, the scores do not reveal the reason for these differences. As only classifications are provided, it is not possible to distinguish between situations.

This is as far as I would analyse the image. Further export manipulation can be used to reverse the classification so that you can identify which copy the analysis tool favoured. As the image was taken by you, select the version of the image which appears most suitable at the club’s displayed size.

Often it is not simply the size that causes an issue. Many resizing tools also have an auto-sharpen function that is used when reducing the size of an image. This can sometimes create faint halos around edges and patterns which can be recognised by some as being “too perfect” or even artificial. Take a genuine photograph and resize it; the tool will automatically enhance it and Decopy then becomes AI based. De-activate any auto-sharpen or enhance features on your resizing tool and re-size the image again (without making any further changes). Altering this one aspect has a greater effect than changing the number of pixels.

@smartlab5798 is right that averaging pixels smooths detail, but I’d put the blame more on the re-encode than the downscale. Every JPEG save throws away high frequency detail and adds its own blocky pattern. Save the same photo twice at a low quality setting and the second copy drifts on these detectors even at full size. That tracks with what @stealth_script suggested about exporting a full-size copy at the same quality, which is honestly the cleanest test in this whole thread.

In relation to the Clever Ai Photo Detector, my approach would be different to those mentioned above. Firstly, it does not actually tell us why something has been detected. Nor will any detectors. And it is also not simply for comparing 2 files. Its real function is to help decide between differing opinions. Should another (unrelated) model agree or ignore the detection of a photo that you have taken yourself then you can conclude that Decopy is simply oversensitive for that particular export type; so stop messing with settings. However, if both models detect it then something within your resizing process is definitely leaving behind a detectable trace – and this needs attention.

My recommended approach would be to disable auto-sharpening, set the JPEG quality to match, and then re-test. Should it continue to detect, then it is the compression that is to blame. Nobody viewing the image at full screen will ever be affected by this, so put your unaltered camera image away and proceed.

Export a second time having run the same source file through Decopy. Again do not open and re-save, but select it from the same folder. This therefore enables you to compare exports, and ensures that the image has not been modified.

Should the same tag be produced for an identical source file, you cannot then be sure that the initial tagging was a consequence of resizing. Should the outcome be duplicated then you have learnt that Decopy has tagged this specific source file identically on two occasions. However, Decopy still has not informed you as to whether the tagging was a result of sharpening or JPEG compression.

I would question the suggestion that if a second tagger also tags a source file in a certain way then your export should be altered. As the photographer, if both taggers tag a source file as being AI then they are both incorrect. Within the club this is a good point to remember in case people suggest that a source file should be excluded based on a tagger’s rating.