https://github.com/darkksideyoda/remote-control-detection
The First Step of an Application to Run Based on the Detection and Analysis of Remote Control Devices. Created in Python Programming Language with Machine Learning, Image Processing and Computer Vision Techniques.
https://github.com/darkksideyoda/remote-control-detection
computer-vision deep-learning image-detection image-processing jupyter machine-learning python remote-control
Last synced: 3 months ago
JSON representation
The First Step of an Application to Run Based on the Detection and Analysis of Remote Control Devices. Created in Python Programming Language with Machine Learning, Image Processing and Computer Vision Techniques.
- Host: GitHub
- URL: https://github.com/darkksideyoda/remote-control-detection
- Owner: Darkksideyoda
- Created: 2022-09-18T15:14:52.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-18T22:08:36.000Z (over 2 years ago)
- Last Synced: 2025-01-13T07:26:20.694Z (5 months ago)
- Topics: computer-vision, deep-learning, image-detection, image-processing, jupyter, machine-learning, python, remote-control
- Language: Jupyter Notebook
- Homepage:
- Size: 402 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# remote-control-detection :control_knobs:
Remote Control Devices analysis and Detection with Image Processing and Computer Vision Techniques
### Goals
- Controlling Whether Users Send Remote Control or Another Image to the System in the Infrastructure to be Established in the Future.- If the Sent Image is a Remote Control, Detection Without Asking the User How Many Buttons There Are.
### Working Principle
- I ran and tested the project in Python 3.7.6 in Conda. :snake:
- In order to Run the Project, you must download the below file yolo.h5 and store it in the same directory as the script files https://github.com/OlafenwaMoses/ImageAI/releases/download/1.0/yolo.h5/
Imageai From here Thank you very much.
- An example of a remote that I photographed and its output are as follows.
![]()
- At this point, if the photo sent by the user is not a remote control or the probability of it being a remote control is below 40%, we block the photo to be sent from the beginning.
- As the next step, in order to prepare for basic image processing techniques, the texts on the control must be deleted. Otherwise, it may accept "O, Ö, C," or similar letters as buttons while scanning the buttons.
- The First Part of Image Processing is Using an Edge Detection Algorithm. The reason for this is that detecting buttons, etc. elements from the Raw Image will be more complex and erroneous, so we only need borders. There are multiple edge detection algorithms, but in my opinion, the most optimal algorithm in this project is sobel.
![]()
![]()
- The last step is to implement a circle finding algorithm on the image obtained with the sobel Operator. For this, we used the well-known "Hough Circle Transform". From the resulting image, we tried to estimate the total number of buttons to present to the User.
![]()
![]()