{"id":25939098,"url":"https://github.com/nicolashaubricht/opencv-course","last_synced_at":"2026-05-16T22:07:23.261Z","repository":{"id":280516406,"uuid":"942263292","full_name":"NicolasHaubricht/OpenCV-Course","owner":"NicolasHaubricht","description":"This repository contains Python scripts for basic image processing using OpenCV. The scripts were developed as part of a free OpenCV course, and the repository will be updated as I progress through the modules.","archived":false,"fork":false,"pushed_at":"2025-03-04T16:56:22.000Z","size":2108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T23:36:29.757Z","etag":null,"topics":["computer-vision","image-processing","opencv","python"],"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/NicolasHaubricht.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-03T20:46:36.000Z","updated_at":"2025-03-04T16:56:25.000Z","dependencies_parsed_at":"2025-03-03T21:44:51.578Z","dependency_job_id":null,"html_url":"https://github.com/NicolasHaubricht/OpenCV-Course","commit_stats":null,"previous_names":["nicolashaubricht/opencv-bootcamp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NicolasHaubricht/OpenCV-Course","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasHaubricht%2FOpenCV-Course","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasHaubricht%2FOpenCV-Course/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasHaubricht%2FOpenCV-Course/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasHaubricht%2FOpenCV-Course/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NicolasHaubricht","download_url":"https://codeload.github.com/NicolasHaubricht/OpenCV-Course/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasHaubricht%2FOpenCV-Course/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266602820,"owners_count":23954696,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["computer-vision","image-processing","opencv","python"],"created_at":"2025-03-04T04:15:42.747Z","updated_at":"2026-05-16T22:07:23.197Z","avatar_url":"https://github.com/NicolasHaubricht.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCV Course\n\n[![OpenCV](https://img.shields.io/badge/OpenCV-5.0-%235C3EE8?logo=opencv)](https://opencv.org/)\n[![Python](https://img.shields.io/badge/Python-3.8%2B-blue?logo=python)](https://www.python.org/)\n\nThis repository contains Python scripts for basic image processing using OpenCV. The scripts were developed as part of a free OpenCV course, and the repository will be updated as I progress through the modules.  \n\n## 🛠 Technologies Used  \n- **Python 3.8+** - Core programming language\n- **OpenCV (cv2)** - Computer vision operations\n- **NumPy** - Array manipulations and mathematical operations\n- **Matplotlib** - Image visualization and plotting\n\n## 📌 Topics Covered  \n\nThe `main.py` file is organized into sections, each focusing on a specific OpenCV concept I studied. Below is an overview of the topics:\n\n1. **Basic Image Loading and Display**\n   - Loading grayscale and color images using `cv2.imread()`.\n   - Inspecting image properties (shape, data type) with NumPy.\n   - Displaying images using Matplotlib with proper color mapping.\n\n2. **Working with Color Images**\n   - Handling BGR vs. RGB color formats and converting between them.\n   - Reversing color channels for proper visualization.\n\n3. **Splitting and Merging Color Channels**\n   - Splitting an image into its Red, Green, and Blue channels using `cv2.split()`.\n   - Merging channels back into a full-color image with `cv2.merge()`.\n\n4. **Converting Color Spaces**\n   - Exploring grayscale and binary image manipulation.\n   - Modifying pixel values and visualizing changes.\n\n5. **Cropping Images**\n   - Extracting regions of interest (ROI) from images using array slicing.\n\n6. **Resizing Images**\n   - Scaling images with different methods:\n     - Using scaling factors (`fx`, `fy`) with `cv2.resize()`.\n     - Specifying exact dimensions (with potential aspect ratio issues).\n     - Maintaining aspect ratio for better quality.\n\n7. **Saving Images**\n   - Writing processed images to disk using `cv2.imwrite()`.\n\n8. **Flipping Images**\n   - Applying horizontal, vertical, and combined flips with `cv2.flip()`.\n\n9. **Drawing Shapes**\n   - Drawing lines with `cv2.line()`.\n   - Drawing circles with `cv2.circle()`.\n   - Drawing rectangles with `cv2.rectangle()`.\n\n10. **Adding Text**\n    - Overlaying text on images using `cv2.putText()` with customizable fonts, sizes, and colors.\n\n11. **Combining Shapes and Text**\n    - Integrating rectangles and text for annotations on images.\n\n\n## 📂 Repository Structure  \n```bash\nopencv-course/\n├── class/\n├   ├── script.py\n├── imports.py\n├── main.py\n└── README.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolashaubricht%2Fopencv-course","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolashaubricht%2Fopencv-course","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolashaubricht%2Fopencv-course/lists"}