Thresholding - OpenCV with Python for Image and Video Analysis 6
sentdex
@sentdexAbout
Python Programming tutorials, going further than just the basics. Learn about machine learning, finance, data analysis, robotics, web development, game development and more. I have ~1000 videos, all of which do not fit on the front page. Try searching on the channel page, or via https://pythonprogramming.net. If you cannot find something, just ask! Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6 Paypal donations: [email protected]
Latest Posts
Video Description
Welcome to another OpenCV tutorial. In this tutorial, we'll be covering thresholding for image and video analysis. The idea of thresholding is to further-simplify visual data for analysis. First, you may convert to gray-scale, but then you have to consider that grayscale still has at least 255 values. What thresholding can do, at the most basic level, is convert everything to white or black, based on a threshold value. Let's say we want the threshold to be 125 (out of 255), then everything that was 125 and under would be converted to 0, or black, and everything above 125 would be converted to 255, or white. If you convert to grayscale as you normally will, you will get white and black. If you do not convert to grayscale, you will get thresholded pictures, but there will be color. While that sounds good enough, it often isn't. We will be covering multiple examples and different types of thresholding here to illustrate this. Sample code and text-based tutorial: https://pythonprogramming.net/thresholding-image-analysis-python-opencv-tutorial/ https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Boost Your Image Analysis Skills
AI-recommended products based on this video

acer Nitro V 15 Gaming Laptop, 15.6" 144Hz FHD Display, Intel 10-Core i7-13620H, NVIDIA GeForce RTX 4060, 64 GB DDR5 RAM, 4 TB SSD, Backlit Keyboard, Microsoft Office Lifetime License, Windows 11 Pro

acer Nitro V 15 Gaming Laptop, Microsoft Office Lifetime License & Windows 11 Pro, 15.6" 144Hz FHD Display, Intel 10-Core i7-13620H, NVIDIA GeForce RTX 4060, 64GB DDR5 RAM, 4TB SSD, Backlit Keyboard

acer Nitro V15 Gaming Laptop, Microsoft Office Lifetime License & Windows 11 Pro, Intel i9-13900H Processor, NVIDIA GeForce RTX 4060, 64 GB DDR5 RAM, 4 TB SSD, 15.6" FHD 144Hz Display, Backlit

Angetube Streaming 1080P HD Webcam Built in Adjustable Ring Light and Mic. Advanced autofocus AF Web Camera for Google Meet Gamer Facebook YouTube Streamer

EMEET 2024 Upgraded C960 Webcam for PC, Autofocus, 1080P HD, 73° View Angle, Computer Camera w/Privacy Cover and Microphone, Plug and Play USB Webcam for Video Calling/Zoom/Teams/Google Meet

COOWPS Switch Case for Nintendo Switch and Switch OLED Model, Portable Full Protection Carrying Travel Bag with 18 Game Cards Storage for Switch Console Pro Controller Accessories Black

Apple iPad 11-inch: A16 chip, 11-inch Model, Liquid Retina Display, 128GB, Wi-Fi 6, 12MP Front/12MP Back Camera, Touch ID, All-Day Battery Life — Blue EPEAT

DJI Mini 4K, Drone with 4K UHD Camera for Adults, Under 249 g, 3-Axis Gimbal Stabilization, 10km Video Transmission, Auto Return, Wind Resistance, 1 Battery for 31-Min Max Flight Time, Intelligent Flight
















