Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

11.8: Computer Vision: Improved Blob Detection - Processing Tutorial

41.7K views
•
July 13, 2016
by
The Coding Train
YouTube video player
11.8: Computer Vision: Improved Blob Detection - Processing Tutorial

TL;DR

In this video, the content creator explores different ways to improve blob tracking by adjusting the distance threshold and calculating the shortest distance between pixels.

Transcript

welcome to a follow-up blob tracking video now in this video I'm going to look at a comment that came in on YouTube from quack quack which says I think you could obtain a better result which a much lower threshold and a different way to calculate the distance between a pixel and a blob you need to calculate the shortest distance between any pixel o... Read More

Key Insights

  • 💐 Lowering the distance threshold improves the accuracy of blob tracking by merging separate blobs when they are within a certain proximity.
  • 🍰 Calculating the shortest distance between pixels helps avoid the detection of additional small blobs next to a larger blob.
  • 😚 Clamping the new pixel to the closest edge of the blob helps accurately determine which side of the rectangle the pixel belongs to.
  • 🦔 The initial approach of finding the shortest distance to any pixel within a blob may result in slower performance compared to the edge-based approach.
  • 😑 The content creator suggests considering pre-existing libraries like OpenCV for optimized blob detection algorithms.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the main issue the content creator is trying to address in this video?

The content creator is trying to address the problem of separate blobs being detected for closely located objects in blob tracking.

Q: What is the purpose of adjusting the distance threshold?

Adjusting the distance threshold helps determine when separate blobs should be merged into one based on proximity.

Q: How does the content creator calculate the shortest distance between pixels?

The content creator creates an array list of P Vector objects to store all the pixels of a blob and calculates the distance between a new pixel and each existing pixel to find the shortest distance.

Q: What are the two optimization approaches explored by the content creator?

The content creator explores the approaches of calculating distance to the closest edge of a blob and determining the shortest distance between a new pixel and any pixel of an existing blob.

Summary & Key Takeaways

  • The content creator receives a comment suggesting a better result can be achieved by lowering the threshold and calculating the shortest distance between pixels.

  • The content creator demonstrates the issue of separate blobs being detected for closely located objects and explains the distance threshold concept.

  • The content creator explores two approaches to optimize blob tracking: calculating distance to the closest edge and finding the shortest distance between a new pixel and any pixel of an existing blob.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from The Coding Train 📚

9.6: Genetic Algorithm: Improved Fitness Function - The Nature of Code thumbnail
9.6: Genetic Algorithm: Improved Fitness Function - The Nature of Code
The Coding Train
Coding Challenge #99: Neural Network Color Predictor thumbnail
Coding Challenge #99: Neural Network Color Predictor
The Coding Train
Live Stream #135: May 4th Challenge + TensorFlow.js Continued thumbnail
Live Stream #135: May 4th Challenge + TensorFlow.js Continued
The Coding Train
Coding Challenge #4: Purple Rain in Processing thumbnail
Coding Challenge #4: Purple Rain in Processing
The Coding Train
Coding Challenge #100: Neuroevolution Flappy Bird - Part 4 thumbnail
Coding Challenge #100: Neuroevolution Flappy Bird - Part 4
The Coding Train
How to Train a Pose Recognition Model with PoseNet and ML5.js thumbnail
How to Train a Pose Recognition Model with PoseNet and ML5.js
The Coding Train

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.