{"id":25020870,"url":"https://github.com/abhigyan126/drishyavastu","last_synced_at":"2026-02-16T10:35:17.946Z","repository":{"id":232567060,"uuid":"784632110","full_name":"Abhigyan126/DrishyaVastu","owner":"Abhigyan126","description":"Itis a Python image processing library that integrates with C++ for high-performance operations. Note: C++ binaries are not included and need to be compiled.","archived":false,"fork":false,"pushed_at":"2025-03-28T16:30:28.000Z","size":186,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-28T14:48:54.614Z","etag":null,"topics":["c","crop-image","from-scratch","image-display","image-processing","python","python-extension"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Abhigyan126.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,"zenodo":null}},"created_at":"2024-04-10T08:34:32.000Z","updated_at":"2025-03-28T16:30:32.000Z","dependencies_parsed_at":"2024-04-12T15:01:01.411Z","dependency_job_id":"ad0dc6ba-d3da-4cd7-9102-0e55f6a38842","html_url":"https://github.com/Abhigyan126/DrishyaVastu","commit_stats":null,"previous_names":["abhigyan126/drishyavastu"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Abhigyan126/DrishyaVastu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhigyan126%2FDrishyaVastu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhigyan126%2FDrishyaVastu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhigyan126%2FDrishyaVastu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhigyan126%2FDrishyaVastu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Abhigyan126","download_url":"https://codeload.github.com/Abhigyan126/DrishyaVastu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhigyan126%2FDrishyaVastu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29506148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["c","crop-image","from-scratch","image-display","image-processing","python","python-extension"],"created_at":"2025-02-05T12:18:02.640Z","updated_at":"2026-02-16T10:35:17.733Z","avatar_url":"https://github.com/Abhigyan126.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drishya_vastu - ImageEngine\n\n**ImageEngine** is a Python image processing library that integrates with C++ for high-performance operations. Note: C++ binaries are not included and need to be compiled.\n\n## Features\n\n- **Grayscale Conversion:** Convert RGB images to grayscale.\n- **Brightness Adjustment:** Adjust brightness for red, green, and blue channels.\n- **Contrast Adjustment:** Enhance or reduce contrast.\n- **Channel Extraction:** Extract specific color channels (Red, Green, Blue).\n- **Maximum Channel Preservation:** Preserve the maximum intensity channel.\n- **Sobel Edge Detection:** Detect edges using the Sobel operator.\n- **Image Display:** Display images directly.\n- **Image Rotation:** Rotate images by specified degrees.\n- **Image Cropping:** Crop images to specified dimensions.\n\n## Installation\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/yourusername/ImageEngine.git\n    ```\n\n2. Compile the C++ binaries in the `utility` directory:\n\n    ```bash\n    g++ -shared -o rbg2grey.so rbg2grey.cpp\n    g++ -shared -o brighten.so brighten.cpp\n    g++ -shared -o contrast.so contrast.cpp\n    g++ -shared -o channel_extraction.so channel_extraction.cpp\n    g++ -shared -o keepmaxchannel.so keepmaxchannel.cpp\n    g++ -shared -o sobel_edge.so sobel_edge.cpp\n    g++ -shared -o rotate.so rotate.cpp\n    g++ -shared -o crop.so crop.cpp\n    ```\n\n3. Install dependencies:\n\n    ```bash\n    pip install numpy\n    ```\n\n## Usage\n\nImport and use ImageEngine in your Python scripts:\n\n```python\nfrom imageengine import ImageEngine\n\nengine = ImageEngine()\ngrey_image = engine.grey_scale(image_data, height, width)\n```\n\nThe name is derived from sanskrit where:\u003cbr\u003e\n-\u003e drishya is translated as image\u003cbr\u003e\n-\u003e vaastu is translated as architecture\n\n\n\n\u003cp align=\"center\"\u003e\n  \n![3](https://github.com/user-attachments/assets/d461c858-02ac-4437-87b2-03e5f8f9cb49)\n\u003cbr\u003e\n\u003cbr\u003e\n![Untitled-2](https://github.com/user-attachments/assets/ecd71eb9-03cc-40b1-8807-eb68bc5508d3)\n\n\u003c/p\u003e\n\n### note: \n- for mac/linux -\u003e .so\n- for windows   -\u003e .pyd\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhigyan126%2Fdrishyavastu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhigyan126%2Fdrishyavastu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhigyan126%2Fdrishyavastu/lists"}