Member-only story

Object detection via color-based image segmentation using python

A tutorial on contouring using python & OpenCV.

Salma Ghoneim
Towards Data Science
7 min readApr 1, 2019

--

Photo by rawpixel.com from Pexels

Getting started

If you already have jupyter notebook or an IDE with which you can run python & OpenCV installed, just skip to Execution.

Tools

Our hero today is Anaconda. a free open-source distribution that helps with installing different packages & sorts out their messes into isolated environments.

What Wikipedia’s telling us about Anaconda

Anaconda is a free and open-source distribution of the Python and R programming languages for scientific computing (data science, machine learning applications, large-scale data processing, predictive analytics, etc.), that aims to simplify package management and deployment. Package versions are managed by the package management system conda. The Anaconda distribution is used by over 12 million users and includes more than 1400 popular data-science packages suitable for Windows, Linux, and MacOS.

Here are detailed tutorials on how to download Anaconda.
anaconda for Windows & anaconda for Linux.

Creating the environment

--

--

Towards Data Science
Towards Data Science

Published in Towards Data Science

Your home for data science and AI. The world’s leading publication for data science, data analytics, data engineering, machine learning, and artificial intelligence professionals.

Salma Ghoneim
Salma Ghoneim

Written by Salma Ghoneim

SDE at Microsoft, Passionate about frontend development, fascinated by artificial intelligence, Interested in game development.

Responses (5)