Object Detection based on HSV in OpenCV
Abstract
In the realm of computer vision and automation, the ability to identify and track objects in real time is critical for various applications, including robotics, surveillance, and machine control. This paper explores the process of controlling a Raspberry Pi computer equipped with a camera to detect and locate circular objects with a green color. By leveraging the power of open-source libraries and image processing techniques, the system performs real-time analysis of camera input to identify target objects based on color and shape. The research employs a literature review methodology, synthesizing information from relevant studies on computer vision, object recognition, and color filtering techniques. The paper focuses on the use of algorithms for color segmentation, contour detection, and shape recognition to achieve accurate object identification. Through this method, it examines the effectiveness and limitations of using a Raspberry Pi for object detection tasks in constrained environments. The findings indicate that Raspberry Pi, when coupled with optimized algorithms, provides a cost-effective solution for basic object detection tasks, though its performance is limited by processing power compared to more robust systems. This review emphasizes the significance of affordable solutions for educational and small-scale automation purposes, highlighting their potential impact on future applications in low-cost robotics and IoT devices.
References
- A. Whittaker, “Colour-based object tracking with Raspberry Pi - Raspberry Pi, ” Colour-based object tracking with Raspberry Pi, https://www.raspberrypi.com/news/colour-based-object-tracking-with-raspberry-pi/ (accessed Sep. 13, 2023).
- M. Aqib, “How to create object detection with opencv and Raspberry Pi: Raspberry pi, ” Maker Pro, https://maker.pro/raspberry-pi/tutorial/how-to-create-object-detection-with-opencv (accessed Oct. 28, 2024).
- S. Sural, Gang Qian and S. Pramanik, "Segmentation and histogram generation using the HSV color space for image retrieval, " Proceedings. International Conference on Image Processing, Rochester, NY, USA, 2002, pp. II-II, doi: 10.1109/ICIP.2002.1040019.
- S. Patil, U. Bhangale and N. More, "Comparative study of color iris recognition: DCT vs. vector quantization approaches in rgb and hsv color spaces, " 2017 International Conference on Advances in Computing, Communications and Informatics (ICACCI), Udupi, India, 2017, pp. 1600-1603, doi: 10.1109/ICACCI.2017.8126070.
- H. Zhu et al., "Computer Vision-Based Beef Grading for Marbling Beef Based on RGB-HSV Color Model and Python Software, " 2023 3rd International Signal Processing, Communications and Engineering Management Conference (ISPCEM), Montreal, QC, Canada, 2023, pp. 609-614, doi: 10.1109/ISPCEM60569.2023.00115.
- B. Muhammad and S. A. Rahman Abu-Bakar, "A hybrid skin color detection using HSV and YCgCr color space for face detection, " 2015 IEEE International Conference on Signal and Image Processing Applications (ICSIPA), Kuala Lumpur, Malaysia, 2015, pp. 95-98, doi: 10.1109/ICSIPA.2015.7412170.
- E. Susilowati, S. Madenda, S. Arief Sudiro and L. ETP, "Color Features Extraction Based on Min-Max Value from RGB, HSV, and HCL on Medan Oranges Image, " 2018 2nd East Indonesia Conference on Computer and Information Technology (EIConCIT), Makassar, Indonesia, 2018, pp. 312-317, doi: 10.1109/EIConCIT.2018.8878516.
- L. Feng, L. Xiaoyu and C. Yi, "An efficient detection method for rare colored capsule based on RGB and HSV color space, " 2014 IEEE International Conference on Granular Computing (GrC), Noboribetsu, Japan, 2014, pp. 175-178, doi: 10.1109/GRC.2014.6982830.