{"id":26668310,"url":"https://github.com/ncdev2015/python-stitching-algorithm","last_synced_at":"2025-03-25T20:41:38.315Z","repository":{"id":283590122,"uuid":"952233027","full_name":"ncdev2015/python-stitching-algorithm","owner":"ncdev2015","description":"Stitching algorithm in python","archived":false,"fork":false,"pushed_at":"2025-03-21T03:25:15.000Z","size":1116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T03:26:26.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ncdev2015.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-03-21T00:19:22.000Z","updated_at":"2025-03-21T03:25:18.000Z","dependencies_parsed_at":"2025-03-21T03:36:34.003Z","dependency_job_id":null,"html_url":"https://github.com/ncdev2015/python-stitching-algorithm","commit_stats":null,"previous_names":["ncdev2015/python-stitching-algorithm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncdev2015%2Fpython-stitching-algorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncdev2015%2Fpython-stitching-algorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncdev2015%2Fpython-stitching-algorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncdev2015%2Fpython-stitching-algorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ncdev2015","download_url":"https://codeload.github.com/ncdev2015/python-stitching-algorithm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245542134,"owners_count":20632436,"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":"2025-03-25T20:41:37.577Z","updated_at":"2025-03-25T20:41:38.252Z","avatar_url":"https://github.com/ncdev2015.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Stitching Algorithm\n\nThis project demonstrates an image stitching algorithm using OpenCV to create a panorama from multiple images.\n\n## Project Structure\n\n```\nmain.py\nimages/\n    image1.jpg\n    image2.jpg\n    image3.jpg\n    image4.jpg\n    image5.jpg\n    image6.jpg\n    image7.jpg\n    panorama.jpg\n```\n\n- **`main.py`**: The main script that reads images, stitches them into a panorama, and displays the result.\n- **`images/`**: Directory containing the input images and the output panorama.\n\n## Requirements\n\n- Python 3.6+\n- OpenCV\n- NumPy\n- Matplotlib\n\nInstall the required Python packages using:\n\n```sh\npip install opencv-python-headless numpy matplotlib\n```\n\n## Usage\n\n1. Place the images you want to stitch in the `images/` directory.\n2. Update the `image_files` list in `main.py` with the filenames of the images to be stitched.\n3. Run the script:\n\n```sh\npython main.py\n```\n\n4. The resulting panorama will be saved as `images/panorama.jpg` and displayed along with the original images.\n\n## Error Handling\n\nThe script handles the following errors:\n- Missing or unreadable images.\n- Insufficient images for stitching.\n- Homography estimation failure.\n- Camera parameter adjustment failure.\n\nIf an error occurs, it will be printed to the console.\n\n## Example Output\n\nAfter running the script, the stitched panorama will look like this (example):\n\n![Panorama Example](images/panorama.jpg)\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncdev2015%2Fpython-stitching-algorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncdev2015%2Fpython-stitching-algorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncdev2015%2Fpython-stitching-algorithm/lists"}