{"id":24142214,"url":"https://github.com/maliha-tasnim/image-subset-analyzer","last_synced_at":"2025-03-01T13:22:53.190Z","repository":{"id":197632215,"uuid":"158514678","full_name":"Maliha-Tasnim/image-subset-analyzer","owner":"Maliha-Tasnim","description":"A C++ project that analyzes JPEG images to identify subset images. Given a set of JPEG files, this tool detects if one image is a cropped version of another, helping to identify relationships among images by comparing structural and pixel data.","archived":false,"fork":false,"pushed_at":"2024-11-07T17:59:31.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-12T04:56:14.706Z","etag":null,"topics":["cpp","image-analysis","image-comparison","image-subset-detection","jpeg","libjpeg-turbo"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Maliha-Tasnim.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":"2018-11-21T08:23:31.000Z","updated_at":"2024-11-07T18:02:28.000Z","dependencies_parsed_at":"2025-01-12T04:56:16.621Z","dependency_job_id":"9495fb20-775e-4543-b551-61e7bf1ffdfa","html_url":"https://github.com/Maliha-Tasnim/image-subset-analyzer","commit_stats":null,"previous_names":["maliha-tasnim/analyze-images","maliha-tasnim/image-subset-analyzer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maliha-Tasnim%2Fimage-subset-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maliha-Tasnim%2Fimage-subset-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maliha-Tasnim%2Fimage-subset-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maliha-Tasnim%2Fimage-subset-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maliha-Tasnim","download_url":"https://codeload.github.com/Maliha-Tasnim/image-subset-analyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241369059,"owners_count":19951700,"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":["cpp","image-analysis","image-comparison","image-subset-detection","jpeg","libjpeg-turbo"],"created_at":"2025-01-12T04:56:25.511Z","updated_at":"2025-03-01T13:22:53.162Z","avatar_url":"https://github.com/Maliha-Tasnim.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nThis project analyzes JPEG images to determine if one image is a subset of another (e.g., a cropped version). It uses libjpeg-turbo for efficient JPEG handling, reducing the image size and removing color data for faster processing. The program outputs a table showing which images are subsets of others.\n\n\n## Features\n\n1. Subset Detection: Identifies cropped images within a set of JPEG files.\n\n2. Efficient Comparison: Reduces image size and color data to streamline analysis.\n\n3. JPEG Handling with libjpeg-turbo: Leverages the high-speed library for JPEG processing.\n\n\n## Prerequisites\n\nEnsure the following dependencies are installed:\n\n        C++ Compiler (e.g., GCC, Clang)\n\n        libjpeg-turbo: JPEG library for image handling and compression\n\n### Installing libjpeg-turbo\n\n▪️ Ubuntu/Debian:\n\n        sudo apt-get update\n        \n        sudo apt-get install libjpeg-turbo8-dev\n\n▪️ macOS (using Homebrew):\n\n        brew install jpeg-turbo\n\n▪️ Windows: Download and install from [libjpeg-turbo's official site](https://libjpeg-turbo.org/).\n\n\n\n## Getting Started\n\n1. Clone the Repository:\n\n        git clone https://github.com/Maliha-Tasnim/image-subset-analyzer\n                  \n        cd image-subset-analyzer\n\n2. Compile the Project: Use the provided Makefile to compile the code:\n\n        make\n\nThis will create an executable file (typically named main or image-analyzer-subset).\n\n3. In main.cpp:\n\n        BWString filepath = \"E:\\\\C++\\\\Images\";\n        \n        BWString ref_file = \"78771293.jpg\";\n\nindicate two separate elements:\n\na. `ref_file` as the Source Image: The `ref_file` (e.g., 78771293.jpg) serves as the reference or source image. This is the main image against which other images in the directory (filepath) are compared. \n    Replace the `ref_file` (source image) with desired one.\n\n\nb. `filepath` or Other Images as Potential Subsets: The program iterates through all other images within `filepath` and compares each one to `ref_file` (source image) to determine if any of them are subsets \n    or cropped versions of the source image. Replace the `filepath` with desired location containing the subset image's folder.\n\n\n\n4. Run the Program:\n\n        ./main\n\n\nThe program will output a table indicating which images are subsets of others.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaliha-tasnim%2Fimage-subset-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaliha-tasnim%2Fimage-subset-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaliha-tasnim%2Fimage-subset-analyzer/lists"}