Distance Estimation based on Color-Block: A Simple Big-O Analysis

Budi Rahmani, Hugo Aprilianto, Heru Ismanto, Hamdani Hamdani


This paper explains how the process of reading the data object detection results with a certain color. In this case the object is an orange tennis ball. We use a Pixy CMUcam5 connecting to the Arduino Nano with microcontroler ATmega328-based. Then through the USB port, data from Arduino nano re-read and displayed. It’s to ensure weather an orange object is detected or not. By this process it will be exactly known how many blocks object detected, including the X and Y coordinates of the object. Finally, it will be explained the complexity of the algorithms used in the process of reading the results of the detection orange object.


arduino nano, big O, complexity, object detection, pixy cmucam5,

Full Text:


DOI: http://doi.org/10.11591/ijece.v7i4.pp2169-2175

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

International Journal of Electrical and Computer Engineering (IJECE)
p-ISSN 2088-8708, e-ISSN 2722-2578

This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).