{"id":26905899,"url":"https://github.com/renan-siqueira/python-x-ray-effect-tool","last_synced_at":"2025-08-01T18:08:10.768Z","repository":{"id":207263833,"uuid":"718819080","full_name":"renan-siqueira/python-x-ray-effect-tool","owner":"renan-siqueira","description":"A useful tool for creating datasets with characteristics of x-ray images","archived":false,"fork":false,"pushed_at":"2023-11-14T22:11:09.000Z","size":5,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T10:59:11.239Z","etag":null,"topics":["data-science","image-transformations","mit-license","pillow","python","x-ray","x-ray-images","x-ray-simulation"],"latest_commit_sha":null,"homepage":"","language":"Python","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/renan-siqueira.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}},"created_at":"2023-11-14T21:32:54.000Z","updated_at":"2023-11-14T22:25:59.000Z","dependencies_parsed_at":"2023-11-14T23:24:24.940Z","dependency_job_id":"7e0efc3b-4dcc-4860-97fe-a10c974ceae1","html_url":"https://github.com/renan-siqueira/python-x-ray-effect-tool","commit_stats":null,"previous_names":["renan-siqueira/python-x-ray-converter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/renan-siqueira/python-x-ray-effect-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renan-siqueira%2Fpython-x-ray-effect-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renan-siqueira%2Fpython-x-ray-effect-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renan-siqueira%2Fpython-x-ray-effect-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renan-siqueira%2Fpython-x-ray-effect-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renan-siqueira","download_url":"https://codeload.github.com/renan-siqueira/python-x-ray-effect-tool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renan-siqueira%2Fpython-x-ray-effect-tool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268272737,"owners_count":24223785,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["data-science","image-transformations","mit-license","pillow","python","x-ray","x-ray-images","x-ray-simulation"],"created_at":"2025-04-01T10:59:13.863Z","updated_at":"2025-08-01T18:08:10.737Z","avatar_url":"https://github.com/renan-siqueira.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# X-ray Image Effect Project\n\nThis project applies an X-ray effect to images using Python and the Python Imaging Library (PIL). It is a useful tool for creating datasets with characteristics of x-ray images.\n\n---\n\n## Environment Setup\n\n### Prerequisites\n\n- Python 3.x\n- pip (Python package manager)\n\n### Setting Up a Virtual Environment\n\n1. **Create a Virtual Environment**:\n\nIn your terminal, navigate to your project directory and run:\n\n```bash\npython -m venv .venv\n```\n\nThis will create a virtual environment named `.venv` in your project directory.\n\n2. **Activate the Virtual Environment**:\n- On Windows, run:\n  ```\n  .\\venv\\Scripts\\activate\n  ```\n- On Linux or macOS, run:\n  ```\n  source venv/bin/activate\n  ```\n\n### Installing Dependencies\n\nWith the virtual environment activated, install the necessary dependencies by running:\n\n```bash\npip install -r requirements.txt\n```\n\n## Project Configuration\n\n1. **Application Settings**:\n\nConfigure the input and output paths in the `src/config.py` file. For example:\n```python\nAPP_PATH_INPUT_IMAGES = 'path/to/input/images/directory'\nAPP_PATH_OUTPUT_IMAGES = 'path/to/output/images/directory'\n```\n\n---\n\n## Usage\n\nTo use the application, ensure the virtual environment is activated. In the root directory of the project, run:\n\n```bash\npython main.py\n```\n\nThis will process all images in the specified input directory and save the X-ray effect images to the output directory.\n\n---\n\n## Additional Notes\n\n- Ensure the input directory contains images in supported formats (`.png`, `.jpg`, `.jpeg`, `.webp`).\n- The script will create the output directory if it does not exist.\n\n---\n\n## License\n\nThis project is open-sourced and available to everyone under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenan-siqueira%2Fpython-x-ray-effect-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenan-siqueira%2Fpython-x-ray-effect-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenan-siqueira%2Fpython-x-ray-effect-tool/lists"}