Real time object recognition using Raspberry Pi and OpenCV

SKU: PAN_RPI_004 Category:

Description

In this project we will dive deeper and look at various algorithms that can be used for real time object detection using raspberry pi and OpenCV. We will start with the algorithms belonging to RCNN family, i.e. RCNN, Fast RCNN and Faster RCNN. In the upcoming article of this series, we will cover more advanced algorithms like Mobile net, SSD, etc. For this approach, automatic classifier NN can be used for classification based on learning with some training samples of that category. This network uses the tangent sigmoid function as kernel function. Finally, the simulated result shows that a used network classifier provides minimum error during training and better accuracy in classification.

INTRODUCTION

The algorithm applies a neural network to an entire image. The network divides the image into an S x S grid and comes up with bounding boxes, which are boxes drawn around images and predicted probabilities for each of these regions.

The method used to come up with these probabilities is logistic regression. The bounding boxes are weighted by the associated probabilities. For class prediction, independent logistic classifiers are used.

In this article, I am going to demonstrate how to implement the YOLO algorithm with a pre-trained model.

First, we would need to install DarkNet. DarkNet is a neural network framework that is open source.


EXISTING SYSTEMS

  • Edge detection
  • Morphological filters
  • Svm classification

DISADVANTAGES

  • Not a real time application
  • Information of objects is very less
  • Accuracy of output is less

PROPOSED SYSTEM

  • Caffe model data set(Darknet)
  • Deep learning classification
  • Blob detection

ADVANTAGES

  • Maximum accuracy in classification
  • Real time achievement
  • Machine based prediction
  • Accuracy of output is increased

APPLICATIONS

  • Commercial applications
  • Forensic lab
  • Face recognition

BLOCK DIAGRAM

Real time object recognition using Raspberry Pi and OpenCV

HARDWARE BLOCK DIAGRAM

Real time object recognition using Raspberry Pi and OpenCV 1

CIRCUIT DIAGRAM

Real time object recognition using Raspberry Pi and OpenCV 2


HARDWARE REQUIREMENTS

  • Raspberry pi
  • Camera

SOFTWARE REQUIREMENTS

  • Raspberry pi OS
  • Python IDE
  • OpenCV library

REFERENCE

[1] X. Wu, D. Hong, J. Chanussot, Y. Xu, R. Tao, and Y. Wang, ??Fourier-based rotation-invariant feature boosting: An efficient framework for geospatial object detection,?? IEEE Geosci. Remote Sens. Lett., vol. 17, no. 2, pp. 302?306, Feb. 2020.

[2] X. Wu, D. Hong, J. Tian, J. Chanussot, W. Li, and R. Tao, ??ORSIm detector: A novel object detection framework in optical remote sensing imagery using spatial-frequency channel features,?? IEEE Trans. Geosci. Remote Sens., vol. 57, no. 7, pp. 5146?5158, Jul. 2019.

?[3] S. Ren, K. He, R. Girshick, and J. Sun, ??Faster R-CNN: Towards real time object detection with region proposal networks,?? IEEE Trans. Pattern Anal. Mach. Intell., vol. 39, no. 6, pp. 1137?1149, Jun. 2017.

[4] Y. Li, S. Li, C. Chen, A. Hao, and H. Qin, ??Accurate and robust video saliency detection via self-paced diffusion,?? IEEE Trans. Multimedia, vol. 22, no. 5, pp. 1153?1167, May 2020.

?[5] K. Kang, W. Ouyang, H. Li, and X. Wang, ??Object detection from video tubelets with convolutional neural networks,?? in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), Jun. 2016, pp. 817?825.

[6] C. Feichtenhofer, A. Pinz, and A. Zisserman, ??Detect to track and track to detect,?? in Proc. IEEE Int. Conf. Comput. Vis. (ICCV), Oct. 2017, pp. 3057?3065.

[7] C. Chen, G. Wang, C. Peng, X. Zhang, and H. Qin, ??Improved robust video saliency detection based on long-term spatial-temporal information,?? IEEE Trans. Image Process., vol. 29, pp. 1090?1100, 2020.

[8] C. Chen, J. Song, C. Peng, G. Wang, and Y. Fang, ??A novel video salient object detection method via semi-supervised motion quality perception,?? 2020, arXiv:2008.02966. [Online]. Available: http://arxiv.org/abs/2008.02966

?[9] Y. Li, S. Li, C. Chen, A. Hao, and H. Qin, ??A plug-and-play scheme to adapt image saliency deep model for video data,?? IEEE Trans. Circuits Syst. Video Technol., early access, Sep. 10, 2020, doi: 10.1109/TCSVT.2020.3023080. [10] C. Mu, J. Liu, Y. Liu, and Y. Liu, ??Hyperspectral image classification based on active learning and spectral-spatial feature fusion using spatial coordinates,?? IEEE Access, vol. 8, pp. 6768?6781, 2020.

[11] X. Wu, W. Li, D. Hong, J. Tian, R. Tao, and Q. Du, ??Vehicle detection of multi-source remote sensing data using active fine-tuning network,?? ISPRS J. Photogramm. Remote Sens., vol. 167, pp. 39?53, Sep. 2020.


 

Customer Reviews

There are no reviews yet.

Be the first to review “Real time object recognition using Raspberry Pi and OpenCV”

Your email address will not be published. Required fields are marked *