Skip to content

hardcodedjoy/live-camera-sobel-filter-iototoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Live Camera Sobel Filter (made in IoToToy)

A real-time edge detection pipeline built using the IoToToy visual programming app for Android.

Visual diagram of the Sobel filter pipeline

Overview

This project demonstrates real-time Computer Vision on a mobile device. It captures a live video feed and applies a Sobel Operator to highlight edges in the image, displaying both the original source and the processed output simultaneously.

Signal Chain

The logic is defined in live-camera-sobel-filter.json and follows this flow:

  1. Constants (Resolution): A value of 256 sets the camera width and height to ensure efficient real-time processing.
  2. Camera: Captures the live video feed based on the input resolution.
  3. Original Display: One output branch sends the raw frames directly to a display block.
  4. Sobel Filter: The second branch passes frames through the image_filter_sobel block.
  5. Constant (Kernel): A value of 5 defines the Sobel kernel size, adjusting the edge detection sensitivity.
  6. Processed Display: Renders the final black-and-white edge map to a larger on-screen display.

How to Use

  1. Install IoToToy from the Google Play Store.
  2. Download the live-camera-sobel-filter.json file from this repository.
  3. Open IoToToy, then go to FILE -> OPEN and select the JSON file.
  4. Run the diagram and point your camera at high-contrast objects to see the edge detection in action.

Requirements

  • Android device with camera access.
  • IoToToy app (v1.0.5 or newer).

About

Live feed from phone's camera passed through a Sobel filter (useful for edge detection)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors