{"id":20399988,"url":"https://github.com/kitware/generated-image-detection","last_synced_at":"2025-04-12T13:50:33.341Z","repository":{"id":137029894,"uuid":"419478098","full_name":"Kitware/generated-image-detection","owner":"Kitware","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-06T17:34:04.000Z","size":476,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-26T08:23:05.865Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kitware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-20T20:19:52.000Z","updated_at":"2025-03-03T10:53:46.000Z","dependencies_parsed_at":"2024-11-15T05:30:35.283Z","dependency_job_id":null,"html_url":"https://github.com/Kitware/generated-image-detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2Fgenerated-image-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2Fgenerated-image-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2Fgenerated-image-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2Fgenerated-image-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kitware","download_url":"https://codeload.github.com/Kitware/generated-image-detection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248575466,"owners_count":21127193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T04:35:50.001Z","updated_at":"2025-04-12T13:50:33.318Z","avatar_url":"https://github.com/Kitware.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kitware Generated Image Detector\n\n## Overview\n\nThis repository contains software to detect computer-generated images, such as those created by Generative Adversarial Network (GAN) algorithms, distinguishing them from typical photos captured by cameras. A computer generated image is a strong indication that the content is fabricated, which is vital to ascertain for digital image forensics. \n\nThe [slides](doc/kitware_SG3_generated.pdf) provide an overview of the approach and the detection results on NVIDIA's [StyleGAN3 image generator](https://github.com/NVlabs/stylegan3). This algorithm was one of the detectors evaluated on StyleGAN3 images, see the details [here](https://github.com/NVlabs/stylegan3-detector#results). Overall, this detector was able to achieve a strong performance of **0.92** Area Under the ROC Curve (AUC) metric (1.0 being the perfect score) on this test data.\n\nThe model file (resnet101_v3.pt) is available at\nhttps://drive.google.com/file/d/1iWjIj_2YEVCHDcE3uPw7c09hz7jRX5un/view?usp=sharing\n\nCommand line example:\n\npython ./generated_image_detection/common/generated_image_classification.py --run_test --tile=224 --test_dir $pdata --model_arch resnet101 --batch_size 1 --use_gpu --test_model_name ./models/resnet101_v3.pt --mean 0.485,0.456,0.406 --std 0.229,0.224,0.225\n\n\nFor further information please contact Dr. Arslan Basharat (\u003carslan.basharat@kitware.com\u003e).\n\n## License\nThis software is provided the uses a permissive [BSD License](LICENSE).\n\n## Acknowledgements\nThis research was developed with funding from the Defense Advanced Research Projects Agency (DARPA) under Contract No. HR001120C0123. The views, opinions and/or findings expressed are those of the authors and should not be interpreted as representing the official views or policies of the Department of Defense or the U.S. Government.\n\nDistribution A: Approved for public release: distribution unlimited.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitware%2Fgenerated-image-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitware%2Fgenerated-image-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitware%2Fgenerated-image-detection/lists"}