Welcome to my Computer Vision repository! This project documents my journey and development in Python and OpenCV, ranging from fundamental image processing techniques to advanced applications for autonomous vehicle systems like Lane Detection and Sensor Fusion.
The repository is organized into learning modules and project implementations:
├── opencv/
│ ├── python_oops/ # Object-Oriented Programming concepts in Python
│ ├── Vedio_recording_using_cameras.py # Script for accessing and handling camera feeds
│ ├── fusion_system.py # Data fusion logic (likely multi-camera or sensor integration)
│ ├── Lane_detection_using_Standby_vedio.py
│ └── ...
├── 1_readimg_photos/ # Resources (Images/Videos) for testing
├── 1_read.py # Basics: Reading images and video streams
├── 2_reshape.py # Basics: Resizing and rescaling frames
├── 3_draw.py # Basics: Drawing shapes and putting text on images
├── 4_draw_multiple_innerboxes.py # Logic:exercise for drawing in cv
└── .gitignore # Configuration to ignore virtual environments/cache
- Image & Video Processing: Scripts to read, display, and manipulate media formats (
1_read.py). - Frame Transformation: Logic for resizing, rescaling, and cropping video frames to different resolutions (
2_reshape.py). - Geometric Annotation: drawing shapes (rectangles, circles, lines) and overlaying text on images (
3_draw.py). - Algorithmic Logic: Exercises like
4_draw_multiple_innerboxes.pydemonstrate how to control coordinate systems and loops within a visual context.
- Sensor Fusion: The
fusion_system.pymodule contains logic for integrating data, designed for applications like multi-camera setups or combining sensor inputs for vehicle perception. - Camera Integration:
cameracode.pyhandles real-time video capture and stream management. - Lane Detection: (In progress) Algorithms for identifying road boundaries and lanes for self-driving car simulations.
- The
python_oops/directory demonstrates how to structure computer vision code using classes and objects, making the system modular and scalable.
- Language: Python 3.12.11
- Core Libraries:
opencv-python(cv2) - For all image processing tasks.numpy- For matrix operations and array handling.
- Clone the repository:
git clone [https://github.com/Navya/Python_projects.git](https://github.com/Navya/Python_projects.git)
- Install dependencies:
Ensure you have Python installed, then run:
pip install opencv-python numpy
- Run a script:
To test the basic drawing logic:
To run the fusion system logic:
python 4_draw_multiple_innerboxes.py
python opencv/fusion_system.py
- Advanced Lane Finding: Implementing curved lane detection using perspective transformation.
- Object Detection: Integrating YOLO or SSD models for real-time obstacle detection.
- Hardware Integration: Testing the fusion system on Raspberry Pi or Jetson Nano with physical cameras.
Maintained by Navya