{"id":20027957,"url":"https://github.com/mohamedelareeg/imageautomaticcroppingwatcher","last_synced_at":"2026-04-30T12:31:23.733Z","repository":{"id":272168862,"uuid":"672517432","full_name":"mohamedelareeg/ImageAutomaticCroppingWatcher","owner":"mohamedelareeg","description":"Image Automatic Cropping Watcher: A tool that automatically detects PDF files, converts them to images, corrects perspective distortion, and compiles them back into PDFs.","archived":false,"fork":false,"pushed_at":"2024-02-29T17:35:45.000Z","size":1194,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T17:27:31.306Z","etag":null,"topics":["ai","autoskew","itextsharp","json","opencv","pdf","pdf-generation","pdf-processing"],"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/mohamedelareeg.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":"2023-07-30T11:05:21.000Z","updated_at":"2024-12-16T10:28:39.000Z","dependencies_parsed_at":"2025-01-12T17:28:27.393Z","dependency_job_id":"dc39b525-1589-4e26-95fd-f91ed9bd725c","html_url":"https://github.com/mohamedelareeg/ImageAutomaticCroppingWatcher","commit_stats":null,"previous_names":["mohamedelareeg/imageautomaticcroppingwatcher"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamedelareeg%2FImageAutomaticCroppingWatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamedelareeg%2FImageAutomaticCroppingWatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamedelareeg%2FImageAutomaticCroppingWatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamedelareeg%2FImageAutomaticCroppingWatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohamedelareeg","download_url":"https://codeload.github.com/mohamedelareeg/ImageAutomaticCroppingWatcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460042,"owners_count":19966516,"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":["ai","autoskew","itextsharp","json","opencv","pdf","pdf-generation","pdf-processing"],"created_at":"2024-11-13T09:12:40.795Z","updated_at":"2026-04-30T12:31:18.697Z","avatar_url":"https://github.com/mohamedelareeg.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"The Image Automatic Cropping Watcher is a tool designed to automatically detect\nPDF files, convert them to images, perform automatic skew correction, and then\nrecompile the corrected images back into a PDF file. This process is fully\nautomated and can be used to enhance the quality of scanned documents or images\nwith perspective distortion.\n\n-------------------------------------------------------------------------------\n\nFunctionality\n-------------\n\nThe main functionalities of the Image Automatic Cropping Watcher include:\n\n1. **PDF Detection**: The application monitors a specified directory for incoming\n   PDF files.\n\n2. **PDF to Image Conversion**: Upon detecting a PDF file, the application\n   converts each page of the PDF into an image.\n\n3. **Automatic Perspective Correction**: The images extracted from the PDF are\n   automatically processed to correct any perspective distortion or skew.\n\n4. **Compilation into PDF**: Finally, the corrected images are compiled into a\n   new PDF file, resulting in a document with improved image quality.\n-------------------------------------------------------------------------------\n\nUsage\n-----\n\nTo utilize the Image Automatic Cropping Watcher:\n\n1. **Clone the Repository**: Clone the repository to your local machine using\n   the following command:\n\n   git clone https://github.com/mohamedelareeg/ImageAutomaticCroppingWatcher.git\n\n2. **Build the Solution**: Open the solution in Visual Studio or your preferred\nIDE and build it to compile the project.\n\n3. **Install Dependencies**: Ensure that the necessary dependencies are\ninstalled and configured. This project relies on the following dependencies:\n- iTextSharp: Used for handling PDF files and compilation of corrected images\n  into a PDF.\n- OpenCVSharp: Used for image processing tasks such as perspective correction\n  and skew detection.\n- Newtonsoft.Json: Used for JSON serialization and deserialization.\n\n4. **Run the Application**: Start the application. It will begin monitoring the\nspecified directory for incoming PDF files.\n\n5. **Monitor Process**: Once a PDF file is detected, the application will\nautomatically convert its pages to images, correct any perspective distortion,\nand compile the corrected images into a new PDF file.\n\n-------------------------------------------------------------------------------\n\nDependencies\n------------\n\nThe Image Automatic Cropping Watcher relies on the following dependencies:\n\n- **iTextSharp**: Used for handling PDF files and compilation of corrected images\ninto a PDF.\n- **OpenCVSharp**: Used for image processing tasks such as perspective correction\nand skew detection.\n- **Newtonsoft.Json**: Used for JSON serialization and deserialization.\n\nEnsure that these dependencies are installed and properly configured in your\ndevelopment environment before running the application.\n\n-------------------------------------------------------------------------------\n\nContributing\n------------\n\nContributions are welcome! If you'd like to contribute to the Image Automatic\nCropping Watcher, feel free to open a pull request or submit an issue on the\nGitHub repository.\n\n-------------------------------------------------------------------------------\n\nLicense\n-------\n\nThis project is licensed under the MIT License - see the LICENSE file for\ndetails.\n\n-------------------------------------------------------------------------------\n\nAcknowledgments\n---------------\n\n- iTextSharp: For PDF handling functionality.\n- OpenCVSharp: For image processing capabilities.\n- Newtonsoft.Json: For JSON serialization and deserialization.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamedelareeg%2Fimageautomaticcroppingwatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohamedelareeg%2Fimageautomaticcroppingwatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamedelareeg%2Fimageautomaticcroppingwatcher/lists"}