
Explore the basics of python and image processing, including syntax, conditionals, file operations, loops, functions, modules, color transformation, object detection, and real-time hand and facial landmarks.
Install Python on Windows by downloading Python 3.10.2, running the setup with administrator access, and verify the installation by printing Hello world in the Python interpreter.
Install and configure Jupyter Notebook via Anaconda on Windows, open Anaconda Navigator, launch a Python file, and run code with Shift+Enter to print hello.
Explore variables in Python, learning how to name and assign values, avoid starting names with numbers, and distinguish string, integer, and float data types for image processing with OpenCV.
Learn how to create numeric variables in Python, assign integer and float values, print variables, and check their types using the type function.
Identify Python variable rules: variables cannot start with a number, are case sensitive, and use underscores to join multiword names.
Learn how to create and assign multiple Python variables on a single line using comma separation and parallel value assignment, with practical examples and print statements.
Learn how to define and print strings in Python using single, double, and triple quotes, assign to variables like name and country, and display multi-line text with print.
Learn how variables can be reassigned to new values in Python, including numeric and string variables, with practical examples and print statements to show changes.
Learn how to work with the string data type by indexing strings, accessing characters using zero-based indices, and using negative indices to reverse order, illustrated with the name Michelle.
Learn to concatenate name and surname with a space to form a full name, repeat strings with multiplication, and determine string length using the len function in Python.
Learn how the Python print function handles text and variables, using single, double, or triple quotes, commas for formatting, and automatic newline behavior to control output.
Learn how to replace multiple variables with a single Python list, then create lists and access elements via zero-based indexing. Practice printing lists and retrieving elements like names and numbers.
This lecture demonstrates creating and manipulating lists in Python, covering defining lists with square brackets, indexing and changing elements, and using list methods like append and clear.
Explore methods in Python by treating lists as objects with attributes and behavior. Learn to use list methods like pop, sort, count, and reverse to manipulate lists.
Master the standard input function in Python by creating a variable, using input to receive keyboard data, and printing the entered value with a print call.
Learn about magic operators in Python and how addition, subtraction, multiplication, and division perform arithmetic, using operators like the plus sign to combine variables.
Explore Python arithmetic operators, including division for quotients, modulus for remainders, exponentiation for powers, and floor division for the floor of quotients, with practical examples.
Explore type conversion in Python by converting between float and int using int() and float(), and verify results with type() and print statements.
Explore type conversions in Python by turning input strings into numbers, preventing errors, and successfully adding values, with implications for image processing tasks in OpenCV.
Learn how tuples in Python are immutable, how to create them with parentheses, access elements by index starting at 0, and use the index method to find an item's position.
Explore dictionaries in Python to store data as key-value pairs. Access and modify values by keys with square brackets, and values can be different data types.
Learn how to work with logical data types in Python and how to use boolean variable types to represent true or false, test conditions, and handle null or empty values.
Explore a basic Python example in a Jupyter notebook that uses variables and strings to count how many times a name appears, and prints the result.
Explore logical conjunctions in Python, using and, or, not operators on conditional statements to evaluate multiple true or false conditions, with examples showing all-true or all-false outcomes.
Learn how logical conjunctions and the or operator evaluate true and false conditions, with examples, and explore the not operator that negates boolean values.
Explore a Python example that reads comma-separated numbers, uses split to create a list, and prints the resulting data, illustrating basic input handling and list construction.
Learn how conditional structures in Python control program flow by evaluating if conditions to execute statements only when true, using indentation and basic if statements.
Learn to use the if condition in Python by comparing x1 and x2 with ==, printing results, and mastering indentation to avoid errors.
Learn how to implement if-else conditions in Python to test two states and execute code accordingly, using variables, comparisons, and print statements to show true and false outcomes.
Compare two user inputs in Python by practicing conditional structures: convert inputs, compare X and Y, and print which value is greater, via an end-to-end example.
Use if, elif, and else to handle multiple condition states in Python, checking values such as 5 and 6 or 50 and 60 to guide which code prints.
Build a Python calculator by collecting value one and value two via input, selecting an operation, and computing addition, subtraction, division, and multiplication with type handling.
Explore how loops drive repetition in Python, covering the two loop types, including the while loop, with real-world analogies to cycles and repeated execution.
Learn how the in structure tests membership in strings and lists, returning true or false as it checks whether a value exists in data such as a name and numbers.
Learn how the Python for loop iterates over lists, dictionaries, and strings to run code once for each item, printing each element with proper indentation.
Create a numbers list, use a for loop to accumulate elements into a total variable, and print the result to verify the sum.
Learn how to use the range function with a for loop to iterate over a list from zero to n-1. Practice indexing to access and print each element.
Learn how to use a while loop in Python by defining a condition and indenting the loop body. Increment a counter to repeat actions until the condition fails.
Demonstrate a Python example that reads multiple user inputs, converts them to int and float, and accumulates a running total in a loop before printing the result.
Explore how while loops work in Python, using a counter to print hello three times and evaluating true and false conditions, highlighting the relationship between conditions and loop execution.
Learn how break and continue structures control Python loop flow, with practical examples showing break exiting a loop and continue skipping specific iterations.
Build a Python program that prompts for a number in a loop, exits on zero, and uses the modulo operator to test even or odd values.
Learn how to define and call Python functions using def, pass parameters (including multiple ones), and print results, with greetings and arithmetic examples.
Learn how default parameters work and how to use parameters in functions with Python, including defining defaults and calling parameters in different orders.
Define a function with a parameter to determine whether a number is negative, zero, or positive, using conditional statements and printing the result, for example, 10, 0, and -5.
Explore Python functions that return values using the return keyword, with examples of parameters and function calls. Learn how returning values enables arithmetic and avoids type errors in computations.
Implement area of rectangle and perimeter of rectangle in Python by defining functions with parameters x and y, returning results, and testing with example calls.
Learn how to define and pass multiple data to a single parameter using arbitrary arguments in Python, including using the asterisk operator and iterating over values to sum them.
Learn to return multiple values from a single Python function using comma-separated returns, illustrated with addition and multiplication of input values.
Explore defining function parameters, calling functions, and using a function as a parameter to another function, with practical Python examples of greetings and output.
Learn how to use lists in Python functions by passing a list parameter. See an example that sums numbers 1 through 5 to yield 15.
In this example 10, learn to check list membership with a function that iterates through a numbers list and returns true if a value is found, otherwise false.
Implement a Python function to determine if a number is prime using a for loop and range, including handling the number two, and print primes up to 1000.
Learn to create python values list with duplicates, implement a check_number_once function that iterates with a for loop and an if condition to add elements not in list, returning it.
Explore counting lowercase and uppercase letters in a string using a Python function, a for loop, and islower/isupper checks, illustrated with an example like Hello to reveal letter counts.
Learn to use Python’s map function to apply a function that divides values in a list, and build a new values list.
Learn how to use Python's filter function to extract even numbers from a list by defining a check_even predicate and applying it to the numbers list.
Learn how to use the end parameter with the print function to control line endings, print multiple values on one line, and adjust spacing and endings for Python output.
Learn how to use the enumerate function in Python to pair indices with list items during iteration. Convert enumerate objects to lists and loop to access counts and elements.
Explore how Python modules organize code into reusable units, enabling import of functions, variables, and classes; learn to use help to inspect module structure and built‑in functions like pi.
Learn how to import modules in Python, call functions with or without the module name, and use from module import function to manage scope and avoid name errors.
Explore python modules, learn to import with options, alias modules using as, access functions like cos and pi, and from module import * to run code.
Learn to use the datetime module to obtain the current date and time in python, and access year, month, and day. Format outputs with strftime codes like A and Y.
Explore the time module in Python and use time.sleep to create reaction time in programs, with examples of printing and a one-second while loop. Connect basics to image processing workflows.
Create a custom Python module with functions like greetings, addition, and multiplication in a .py file, then import and use it in a notebook to simplify your main program.
Install and set up PyCharm IDE (community edition), create a Python project, select the interpreter, and run a Python file to verify the setup.
Read and display images with OpenCV in Python using imread to load and imshow to show, then control the window with waitKey to keep it open until a key press.
Learn to obtain an image's height, width, and channels using the shape method in OpenCV with Python, and understand how channel counts indicate color or grayscale images.
Learn how to resize an image in Python using OpenCV, specifying width and height with the resize function, and display the original and resized images for comparison.
Explore how to reach the color density of a color image's pixels using Python and OpenCV, examining the three color channels (blue, green, red) and how pixel values encode density.
Learn to crop a specific area of an image using Python, by reading the image, setting y and x crop ranges, and displaying the original and cropped results.
Learn how to draw a line on an image with OpenCV by specifying start and end coordinates, selecting a blue color in bgr, and setting the thickness using cv2.line.
Learn how to draw a circle in Python with OpenCV by specifying center, radius, color, and thickness, then display the result in a window.
Learn to draw a green rectangle on an image using OpenCV by specifying a beginning point and an ending point, a color, and a thickness, then display the result.
Learn to draw filled shapes on an image using Python and OpenCV by creating circles and rectangles, adjusting center, size, color, and using -1 to fill, then display the result.
Learn how to save an image using OpenCV by reading a background.jpg with imread and writing a new image file with imwrite to a new name.
Explore image processing with Python and OpenCV by cropping and resizing an image using defined metrics. Save and compare new cropped and resized images to reinforce practical OpenCV workflows.
Learn to write text on images using OpenCV in Python, using putText with font, font scale, color, and thickness, then read, display with imshow and waitKey.
Open a video using a video capture structure in Python with OpenCV to read frames in a loop and display them until the escape key is pressed.
Hello everyone,
With the Basics of Python and Image Processing with Python (OpenCV) course, we will learn the basics of Python programming language and image processing well, and we will build deep learning projects. Thanks to the course contents, you will be expert in Python and Image Processing. Here are some of the topics that are covered:
Basics of Python:
Variables,
Data types,
Standart Input and Output Functions,
Lists, Tuples and Dictionaries,
Methods,
Arithmetic Operators,
Type Conversions,
Logical Conjuctions
Conditional Structures,
Loops,
Functions,
Modules and
More Examples.
Basics of OpenCV:
Reading and Showing an Image,
Reaching Height, Width and Channels of an Image,
Resizing an Image,
Reaching Pixel Density of Color Image,
Cropping a Certain Area,
Saving an Image,
Texting,
Video and Webcam Operations,
Color Transformations,
Copy,
Rotation and
Filters.
Machine Learning:
Face and Eye Detection.
Deep Learning:
Creating Face and Hand Model.
Project: Virtual Button
No previous programming knowledge is required.
"You are never too old to set another goal or to dream a new dream." - C.S.Lewis
"Do the difficult things while they are easy and do the great things while they are small. A journey of a thousand miles begins with a single step" - Lao
You get the best information that I have compiled over years of trial and error and experience!
Best wishes,
Yılmaz ALACA