About 17,400 results
Open links in new tab
  1. How to create a loop to read several images in a python script?

    Aug 9, 2011 · The for loop iterates over each element of the list and assigns the current value to imagefile. You can use imagefile in the body of your loop to process the image.

    Missing:

    • Conditions

    Must include:

  2. 18.1. Using Repetition with Images — Python for Everybody

    Using Repetition with Images ¶. Learning Objectives: Use for loops and nested for loops to repeat actions on pixels in an image. Understand the pattern (the steps) used in modifying all the …

    Missing:

    • Conditions

    Must include:

  3. Loops in Python – For, While and Nested Loops - GeeksforGeeks

    Mar 8, 2025 · The main types are For loops (counting through items) and While loops (based on conditions). Additionally, Nested Loops allow looping within loops for more complex tasks. …

    Missing:

    • Photo

    Must include:

  4. 1. Nested Loops and Image Processing — Computer Science 20 …

    In order to process all of the pixels, we need to be able to systematically visit all of the rows and columns in the image. The best way to do this is to use nested iteration . Nested iteration …

    Missing:

    • Conditions

    Must include:

  5. Loops in Python with Examples

    Loops are constructs that repeatedly execute a piece of code based on the conditions. See various types of loops in Python with examples.

    Missing:

    • Photo

    Must include:

  6. Python Conditions and Python Loops with Examples

    In this article you will learn how to use the basic if else conditions, Logical conditions using “and” and “or” operators, and how to use “for” and “while” loops. I will explain everything with examples.

    Missing:

    • Photo

    Must include:

  7. Python For Loops - W3Schools

    Python For Loops. A for loop is used for iterating over a sequence (that is either a list, a tuple, a dictionary, a set, or a string). This is less like the for keyword in other programming languages, …

    Missing:

    • Conditions ·
    • Photo

    Must include:

  8. Python Loops and Conditions - Python in Plain English

    Jan 26, 2024 · In Python, loops come in different forms, each serving a unique purpose and offering flexibility. In this comprehensive guide, we’ll delve into for loops, while loops, and …

  9. python - Save images in loop with different names - Stack Overflow

    Jun 14, 2017 · I have a loop for every frame with cropping on faces. The problem is that for every cropped image and picture it gives the same name, and in the end I have faces only from the …

    Missing:

    • Conditions

    Must include:

  10. Fast, optimized ‘for’ pixel loops with OpenCV and Python

    Aug 28, 2017 · Learn how construct fast and efficient 'for' loops and loop over all pixels in an image using Python, Cython, and OpenCV.

    Missing:

    • Conditions

    Must include:

  11. Some results have been removed
Refresh