<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GUI Archives - Be on the Right Side of Change</title>
	<atom:link href="https://blog.finxter.com/category/gui/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.finxter.com/category/gui/</link>
	<description></description>
	<lastBuildDate>Tue, 28 Feb 2023 13:38:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.finxter.com/wp-content/uploads/2020/08/cropped-cropped-finxter_nobackground-32x32.png</url>
	<title>GUI Archives - Be on the Right Side of Change</title>
	<link>https://blog.finxter.com/category/gui/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How I Created a Short Quiz App with Kivy</title>
		<link>https://blog.finxter.com/how-i-created-a-short-quiz-app-with-kivy/</link>
		
		<dc:creator><![CDATA[Heshna Bhagawan]]></dc:creator>
		<pubDate>Tue, 28 Feb 2023 13:38:12 +0000</pubDate>
				<category><![CDATA[App Development]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://blog.finxter.com/?p=1170134</guid>

					<description><![CDATA[<p>Building a quiz app is simple with Kivy. 💡 Kivy is a free, open-source library that made the development of the quiz app simple. The Kivy methods save us a ton of coding time. In this article, I created a short quiz app that helps you decide what to eat to demonstrate how Kivy works. ... <a title="How I Created a Short Quiz App with Kivy" class="read-more" href="https://blog.finxter.com/how-i-created-a-short-quiz-app-with-kivy/" aria-label="Read more about How I Created a Short Quiz App with Kivy">Read more</a></p>
<p>The post <a href="https://blog.finxter.com/how-i-created-a-short-quiz-app-with-kivy/">How I Created a Short Quiz App with Kivy</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Building a quiz app is simple with Kivy. </p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4a1.png" alt="💡" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Kivy</strong> is a free, open-source library that made the development of the quiz app simple. The Kivy methods save us a ton of coding time.</p>



<p>In this article, I created a short quiz app that helps you decide what to eat to demonstrate how Kivy works. In addition, the quiz app enhanced my coding skills with classes and functions, especially with repeating codes.</p>



<p>There are three layouts for the quiz app.</p>



<ol class="wp-block-list" type="1" start="1">
<li>Home Screen: </li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="240" height="206" src="https://blog.finxter.com/wp-content/uploads/2023/02/image-404.png" alt="" class="wp-image-1170136"/></figure>
</div>


<ol class="wp-block-list" type="1" start="2">
<li>Question: </li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="239" height="206" src="https://blog.finxter.com/wp-content/uploads/2023/02/image-405.png" alt="" class="wp-image-1170137"/></figure>
</div>


<ol class="wp-block-list" type="1" start="3">
<li>Answer (varies)<br></li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="240" height="206" src="https://blog.finxter.com/wp-content/uploads/2023/02/image-406.png" alt="" class="wp-image-1170138"/></figure>
</div>


<p>You can find an image <a href="https://www.pexels.com/" target="_blank" rel="noreferrer noopener">here</a> or download mine from my <a href="https://github.com/heshnaB/How-I-Created-a-Short-Quiz-App-with-KIVY">GitHub profile</a>. The only exterior file you need is an image, and make sure you save the image under the same file as your code. Download the <a href="https://github.com/heshnaB/How-I-Created-a-Short-Quiz-App-with-KIVY">completed code</a> to check your work.</p>



<p>Here we go!</p>



<h2 class="wp-block-heading">Step 1: Install the library </h2>



<p>Install the library by entering <code>pip install kivy</code><em> </em>in the command prompt.</p>



<h2 class="wp-block-heading">Step 2: Import the following libraries</h2>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">from kivy.app import App
from kivy.uix.label import Label
from kivy.uix.image import Image
from kivy.uix.button import Button
from kivy.graphics import Color, Rectangle
from kivy.uix.floatlayout import FloatLayout
import random
</pre>



<h2 class="wp-block-heading">Step 3: Create a home screen for the app and initiate the class.</h2>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">class Home(FloatLayout):
 
    def __init__(self, **kwargs):
        super(Home, self).__init__(**kwargs)
    	self.main_home()
</pre>



<p>Now we can create everything we need inside the Home() class.</p>



<h3 class="wp-block-heading">Create the logo() and add_label() functions</h3>



<p>We can use the kivy method below to add widgets, including images, labels, and buttons.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.add_widget()</pre>



<p>We can create the logo using the kivy method shown below. Then, insert it inside the <code>add_widget()</code> kivy method.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Image(source="image_name.type",
      size_hint = (0.3, 0.7), # Size of the image
      pos_hint={'center_x': 0.5, 'y': 0.355}) # position of the image</pre>



<p>For the label, we can use the kivy method below to add a label and insert it inside the <code>add_widget()</code> kivy method.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Label(text = string, # string is from parameter of function
      font_size = 45, # Size of text
      color = "#FFFFFF", # Color of text
      bold = True, # Makes the test bold
      pos_hint={'x': 0.000000001, 'center_y': 0.4}) # Position of label</pre>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4a1.png" alt="💡" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>** Since one function creates every label in the app, it needs a string parameter so the user can change the text.**</strong></p>



<h3 class="wp-block-heading">Create the add_button() function</h3>



<p>We will use a different approach when adding the buttons to prevent repeating lines of code. To do that, we must <strong>create a new variable for every button</strong>, then <strong>return the variable</strong>. The kivy method for creating a button is:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.b = Button(text = string, # Text displayed on the button
            size_hint = size, # Size of the button
            bold = True, # Makes text bold
            font_size = 30, # font size
            pos_hint={'center_x': 0.5, 'y': y},) # position of the text
</pre>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4a1.png" alt="💡" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Since we use one function to create all buttons, we can use parameters to change the variables. The function contains four parameters: <code>self</code>, <code>string</code>, <code>size</code>, and <code>y</code>. </strong></p>



<ul class="wp-block-list">
<li>The <code>string</code> represents the text on the button. </li>



<li>The <code>size</code> determines the size of the button. </li>



<li>Then, we have the <code>y</code> parameter, which describes the y position of the button.</li>
</ul>



<p>For example, if we include two buttons on the screen that are the same size, the buttons will overlap. So, we can either change the <code>y</code> or the <code>x</code> value. Thus when we change the <code>y</code> value, the buttons won&#8217;t overlap.</p>



<h3 class="wp-block-heading">Create the reset() function.</h3>



<p>The reset function only requires two lines of code.</p>



<p>The first line is for using the kivy method to erase all widgets from the app:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.clear_widgets()</pre>



<p>The second line calls the <code>logo()</code> to create and display it:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.logo() </pre>



<h3 class="wp-block-heading">Create the main_home() function</h3>



<p>The <code>main_home()</code> consists of calling functions and using kivy methods. We can start by using the kivy method to clear all widgets.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.clear_widgets()</pre>



<p>Call the <code>add_label()</code> function with the desired question in the parameter.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.add_label("Are you ready to decide what to eat?")</pre>



<p>To create the button on the home screen, we must call the <code>add_button()</code> function. Then use the kivy method to add the button to the app.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.button = self.add_button("Yes, I'm starving!", (0.9, 0.185), 0.1)
self.add_widget(self.button)</pre>



<p>Then, we call the logo function to display the logo.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.logo()</pre>



<h2 class="wp-block-heading">Step 4: Create the main quiz app and initiate the class.</h2>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">class QuizApp(App):
   
    def build(self):
        self.root = root = Home()
  self.start(root)
</pre>



<p>Now we can create everything we need for the <code>QuizApp(App)</code> class.</p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4a1.png" alt="💡" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>** Every function (except for the <code>__init__</code> function) inside this class needs the root parameter. **</strong></p>



<p>For the class <code>QuizApp(App)</code>, “Quiz” is the title for the tab.</p>



<h3 class="wp-block-heading">Create the start() function.</h3>



<p>The <code>start()</code> function will bind the button on the home screen so that the user can begin the quiz when they press it.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">def start(self, root):
self.root.button.bind(on_press= self.beginQ)
</pre>



<h3 class="wp-block-heading">Create the return_home() function</h3>



<p>This function should return to the home screen after the user presses the restart button.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.root.main_home()     
self.start(root)</pre>



<p>Since there are only two answers to the quiz, create a function for each answer.</p>



<p>Each function will return the random choice of the list of the chosen places.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.display_result(root, f"Get {random.choice(['KFC', 'Wendy', 'Popeyes'])}!")</pre>



<h3 class="wp-block-heading">Create a function to display the result called display_result(self, root, result)</h3>



<p>We can start by calling the <code>reset()</code> function from the <code>Home()</code> class.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.root.reset()</pre>



<p>Then call the <code>add_label(result)</code> to add the result to the app.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.root.add_label(result)</pre>



<p>The final step is to create and display a <code>Restart</code> button and bind the button to return to the home screen.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.restart_but = self.root.add_button("Restart", (0.9, 0.1), 0.18)
self.root.add_widget(self.restart_but)
self.restart_but.bind(on_press= self.return_home)
</pre>



<h3 class="wp-block-heading">Create the begin quiz function</h3>



<p>Call the <code>reset()</code> function from the <code>Home()</code> class.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.root.reset() </pre>



<p>Add the label for the questions and create the buttons for both answers.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.root.add_label("Do you feel like driving?")
self.yes = self.root.add_button("Sure", (0.9, 0.1), 0.21)
self.no = self.root.add_button("Absolutely not!", (0.9, 0.1), 0.1)
</pre>



<p>Display the buttons on the app.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.root.add_widget(self.yes)
self.root.add_widget(self.no)
</pre>



<p>Bind both answer buttons to call the two option functions you created earlier.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">self.yes.bind(on_press= self.option_y)
self.no.bind(on_press= self.option_n)
</pre>



<h2 class="wp-block-heading"><u>References</u></h2>



<p>Doc for Kivy:<a href="https://kivy.org/doc/stable/guide/widgets.html"> </a><a href="https://kivy.org/doc/stable/guide/widgets.html" target="_blank" rel="noreferrer noopener">https://kivy.org/doc/stable/guide/widgets.html</a></p>



<p>Another app example:<a href="https://www.section.io/engineering-education/kivy-python-first-app/"> </a><a href="https://www.section.io/engineering-education/kivy-python-first-app/" target="_blank" rel="noreferrer noopener">https://www.section.io/engineering-education/kivy-python-first-app/</a> &#8211; Import the datetime module for the code to work.</p>



<p><a href="https://www.simplikivyapp.com/" target="_blank" rel="noreferrer noopener">https://www.simplikivyapp.com/</a>  &#8211; Better for a quiz with more than one question.</p>
<p>The post <a href="https://blog.finxter.com/how-i-created-a-short-quiz-app-with-kivy/">How I Created a Short Quiz App with Kivy</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Top 10 Python OpenCV Cheat Sheets</title>
		<link>https://blog.finxter.com/best-python-opencv-cheat-sheet/</link>
		
		<dc:creator><![CDATA[Amber Mercado]]></dc:creator>
		<pubDate>Mon, 15 Feb 2021 09:12:13 +0000</pubDate>
				<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Data Science]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[Machine Learning]]></category>
		<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">https://blog.finxter.com/?p=23887</guid>

					<description><![CDATA[<p>Hey Finxters! It is time for another Python Cheat Sheet! As a brief introduction, OpenCV is an open-source computer vision and machine learning software library of programming functions mainly aimed at real-time computer vision. In this article, I am bringing you the best 10 Python cheat sheets on OpenCV. Let me introduce Python OpenCV to ... <a title="Top 10 Python OpenCV Cheat Sheets" class="read-more" href="https://blog.finxter.com/best-python-opencv-cheat-sheet/" aria-label="Read more about Top 10 Python OpenCV Cheat Sheets">Read more</a></p>
<p>The post <a href="https://blog.finxter.com/best-python-opencv-cheat-sheet/">Top 10 Python OpenCV Cheat Sheets</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hey Finxters! It is time for another Python Cheat Sheet! As a brief introduction, OpenCV is an open-source computer vision and machine learning software library of programming functions mainly aimed at real-time computer vision. In this article, I am bringing you the best 10 Python cheat sheets on OpenCV. Let me introduce Python OpenCV to you!</p>



<h2 class="wp-block-heading"><a href="https://cheatography.com/thatguyandy27/cheat-sheets/open-cv/" target="_blank" rel="noreferrer noopener" title="https://cheatography.com/thatguyandy27/cheat-sheets/open-cv/">Cheat Sheet 1: Cheatography</a></h2>



<figure class="wp-block-image size-large"><a href="https://cheatography.com/thatguyandy27/cheat-sheets/open-cv/" target="_blank" rel="noopener"><img loading="lazy" decoding="async" width="766" height="585" src="https://blog.finxter.com/wp-content/uploads/2021/02/image-56.png" alt="" class="wp-image-23891" srcset="https://blog.finxter.com/wp-content/uploads/2021/02/image-56.png 766w, https://blog.finxter.com/wp-content/uploads/2021/02/image-56-300x229.png 300w" sizes="auto, (max-width: 766px) 100vw, 766px" /></a></figure>



<p>This cheat sheet was written by thatguyandy27 on Cheatography. It is separated into different modules, gives clear example code and quick explanation. This pdf is worth hanging on your wall or placed in your developer binder.</p>



<p><strong>Pros:</strong> Rated ‘E’ for everyone. This is a great place to start.</p>



<p><strong>Cons:</strong> It says it is still in draft form. There could be future updates.</p>



<h2 class="wp-block-heading"><a href="https://github.com/a-anjos/python-opencv/blob/master/cv2cheatsheet.pdf" title="https://github.com/a-anjos/python-opencv/blob/master/cv2cheatsheet.pdf" target="_blank" rel="noreferrer noopener">Cheat Sheet 2: GitHub</a></h2>



<div class="wp-block-image"><figure class="aligncenter size-large"><a href="https://github.com/a-anjos/python-opencv/blob/master/cv2cheatsheet.pdf" target="_blank" rel="noopener"><img loading="lazy" decoding="async" width="1024" height="697" src="https://blog.finxter.com/wp-content/uploads/2021/02/image-58-1024x697.png" alt="" class="wp-image-23894" srcset="https://blog.finxter.com/wp-content/uploads/2021/02/image-58.png 1024w, https://blog.finxter.com/wp-content/uploads/2021/02/image-58-300x204.png 300w, https://blog.finxter.com/wp-content/uploads/2021/02/image-58-768x523.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure></div>



<p>This cheat sheet is found on Github! A great place for a developer to find really useful information and build a portfolio! This cheat sheet is a condensed version of everything you need to know for OpenCV in Python! It is packed with tons of great information and one you should most definitely have on the wall!</p>



<p><strong>Pros: </strong>Rated ‘E’ for everyone.</p>



<p><strong>Cons:</strong> It is a super dense cheat sheet.</p>



<h2 class="wp-block-heading"><a href="https://analyticsindiamag.com/cheatsheet-image-blurring-with-opencv/" target="_blank" rel="noreferrer noopener" title="https://analyticsindiamag.com/cheatsheet-image-blurring-with-opencv/">Cheat Sheet 3: AIM</a></h2>



<p>This cheat sheet specifically focuses on blurring an image using three types: Gaussian, Bilateral and Median blurs. This cheat focuses on the code with a photo at the bottom to show the output of each different method.</p>



<p><strong>Pros: </strong>Rated ‘E’ for everyone.</p>



<p><strong>Cons: </strong>None that I can see.</p>



<h2 class="wp-block-heading"><a href="https://heartbeat.fritz.ai/opencv-python-cheat-sheet-from-importing-images-to-face-detection-52919da36433" target="_blank" rel="noreferrer noopener" title="https://heartbeat.fritz.ai/opencv-python-cheat-sheet-from-importing-images-to-face-detection-52919da36433">Cheat Sheet 4: HeartBeat Fritz</a></h2>



<p>This cheat sheet explains OpenCV from installation to face detection and distorting. All explained in one sheet. You will learn valuable skills along the way for OpenCV in Python. Great for the beginner and refresher.</p>



<p><strong>Pros:</strong> Rated ‘E’ for everyone.</p>



<p><strong>Cons:</strong> None that I can see.</p>



<h2 class="wp-block-heading"><a href="http://www.alvervalleysoftware.com/computer-vision/opencv-cheat-sheet/" target="_blank" rel="noreferrer noopener" title="http://www.alvervalleysoftware.com/computer-vision/opencv-cheat-sheet/">Cheat Sheet 5: Alver Valley Software Limited</a></h2>



<p>This cheat sheet has code snippets with quick explanations on what each snippet does in the program. It is a very light read and is solely focused on the code used in OpenCv</p>



<p><strong>Pros:</strong> Rated ‘E’ for everyone.</p>



<p><strong>Cons:</strong> Written for C++, so you will need to import C into you python program.</p>



<h2 class="wp-block-heading"><a href="https://readthedocs.org/projects/opencv-python-tutroals/downloads/pdf/latest/" target="_blank" rel="noreferrer noopener" title="https://readthedocs.org/projects/opencv-python-tutroals/downloads/pdf/latest/">Cheat Sheet 6: Read the Docs</a></h2>



<p>Here you will learn the core operations of GUI features, image processing and so much from this cheat. It will show you code and give you an explanation on opencv in python</p>



<p><strong>Pros:</strong> Rated ‘E’ for everyone.</p>



<p><strong>Cons: </strong>None that I can see.</p>



<h2 class="wp-block-heading"><a href="https://medium.com/analytics-vidhya/cheat-sheet-for-opencv-all-you-want-to-know-2021-edition-part-1-8b63963f9f7" target="_blank" rel="noreferrer noopener" title="https://medium.com/analytics-vidhya/cheat-sheet-for-opencv-all-you-want-to-know-2021-edition-part-1-8b63963f9f7">Cheat Sheet 7: Analytics Vidhya</a></h2>



<p>This cheat sheet dives right into installing the correct libraries you are going to need for you program, including a virtual environment. Code snippets, and examples are clear and well written for you to learn from when working with OpenCV</p>



<p><strong>Pros:</strong> Rated ‘E’ for everyone.</p>



<p><strong>Cons:</strong> None that I can see.</p>



<h2 class="wp-block-heading"><a href="https://overapi.com/static/cs/opencv_cheatsheet.pdf" target="_blank" rel="noreferrer noopener" title="https://overapi.com/static/cs/opencv_cheatsheet.pdf">Cheat Sheet 8: OverAPI</a></h2>



<div class="wp-block-image"><figure class="aligncenter size-large"><a href="https://overapi.com/static/cs/opencv_cheatsheet.pdf" target="_blank" rel="noopener"><img loading="lazy" decoding="async" width="1024" height="792" src="https://blog.finxter.com/wp-content/uploads/2021/02/image-60-1024x792.png" alt="" class="wp-image-23897" srcset="https://blog.finxter.com/wp-content/uploads/2021/02/image-60-1024x792.png 1024w, https://blog.finxter.com/wp-content/uploads/2021/02/image-60-300x232.png 300w, https://blog.finxter.com/wp-content/uploads/2021/02/image-60-768x594.png 768w, https://blog.finxter.com/wp-content/uploads/2021/02/image-60.png 1107w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure></div>



<p>This cheat sheet will be one you can hang on the walls. It will take you from the very beginning until the last module. It has good explanation to the code snippets.</p>



<p><strong>Pros:</strong> Rated ‘E’ for everyone</p>



<p><strong>Cons: </strong>It is written C++</p>



<h2 class="wp-block-heading"><a href="https://www.codingforentrepreneurs.com/projects/opencv-rest-api/" target="_blank" rel="noreferrer noopener" title="https://www.codingforentrepreneurs.com/projects/opencv-rest-api/">Cheat Sheet 9: Coding for Entrepreneurs</a></h2>



<p>Here on this cheat sheet, you can learn to Learn to create a REST API microservice for extracting faces from images using OpenCV, OpenCV-python, Flask, Docker, and Heroku<strong>.</strong></p>



<p><strong>Pros:</strong> Rated ‘E’ for everyone</p>



<p><strong>Cons: </strong>None that I can see.</p>



<h2 class="wp-block-heading"><a href="http://www.jeh-tech.com/python/opencv.html" target="_blank" rel="noreferrer noopener" title="http://www.jeh-tech.com/python/opencv.html">Cheat Sheet 10: jeh-tech</a></h2>



<p>This cheat sheet was written by a fellow developer online! He has placed in notes and code using Python in OpenCV. He has clear explanations and graphics with his code.</p>



<p><strong>Pros:</strong> Rated ‘E’ for everyone</p>



<p><strong>Cons: </strong>None that I can see.</p>



<p>So as you can see OpenCV has a ton of material you can use to create your own machine learning models that can use OpenCV and know the difference between an apple and an orange! And hey guess what? You have learned a new skill! That’s even cooler right? As a thank you for coming with me on this fantastic journey I have included <strong><a href="https://docs.opencv.org/master/" target="_blank" rel="noreferrer noopener" title="https://docs.opencv.org/master/">BONUS OpenCV Material</a>!! </strong>Nothing is better than having a bonus!! It’s like an extra present under the tree! This website will help you dive even deeper into what OpenCV is and what you can do with it! You’ll be able to master the open source library in Python in no time using this website! Maybe even a niche for your <a href="https://blog.finxter.com/become-python-freelancer-course/" target="_blank" rel="noreferrer noopener" title="Become Python Freelancer Course">Python Freelancing</a>? (Did I just give you a clue? ?) Enjoy and again thanks for joining me.</p>



<p><a href="https://docs.opencv.org/master/" target="_blank" rel="noreferrer noopener" title="https://docs.opencv.org/master/">Check out Bonus</a></p>






<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<p><strong>Related Articles:</strong></p>



<ul class="wp-block-list"><li><a href="https://blog.finxter.com/collection-5-cheat-sheets-every-python-coder-must-own/" target="_blank" rel="noreferrer noopener" title="[Collection] 11 Python Cheat Sheets Every Python Coder Must Own">[Collection] 11 Python Cheat Sheets Every Python Coder Must Own</a></li><li><a href="https://blog.finxter.com/object-oriented-programming-terminology-cheat-sheet/" target="_blank" rel="noreferrer noopener" title="https://blog.finxter.com/object-oriented-programming-terminology-cheat-sheet/">[Python OOP Cheat Sheet] A Simple Overview of Object-Oriented Programming</a></li><li><a href="https://blog.finxter.com/machine-learning-cheat-sheets/" title="[Collection] 15 Mind-Blowing Machine Learning Cheat Sheets to Pin to Your Toilet Wall" target="_blank" rel="noreferrer noopener">[Collection] 15 Mind-Blowing Machine Learning Cheat Sheets to Pin to Your Toilet Wall</a></li><li><a href="https://blog.finxter.com/python-cheat-sheets/" title="https://blog.finxter.com/python-cheat-sheets/" target="_blank" rel="noreferrer noopener">Your 8+ Free Python Cheat Sheet [Course]</a></li><li><a href="https://blog.finxter.com/python-cheat-sheet/" target="_blank" rel="noreferrer noopener" title="Python Beginner Cheat Sheet: 19 Keywords Every Coder Must Know">Python Beginner Cheat Sheet: 19 Keywords Every Coder Must Know</a></li><li><a href="https://blog.finxter.com/python-cheat-sheet-functions-and-tricks/" title="Python Functions and Tricks Cheat Sheet" target="_blank" rel="noreferrer noopener">Python Functions and Tricks Cheat Sheet</a></li><li><a href="https://blog.finxter.com/python-interview-questions/" target="_blank" rel="noreferrer noopener" title="https://blog.finxter.com/python-interview-questions/">Python Cheat Sheet: 14 Interview Questions</a></li><li><a href="https://blog.finxter.com/pandas-cheat-sheets/" title="[PDF Collection] 7 Beautiful Pandas Cheat Sheets — Post Them to Your Wall" target="_blank" rel="noreferrer noopener">Beautiful Pandas Cheat Sheets</a></li><li><a href="https://blog.finxter.com/collection-10-best-numpy-cheat-sheets-every-python-coder-must-own/" title="[Collection] 10 Best NumPy Cheat Sheets Every Python Coder Must Own" target="_blank" rel="noreferrer noopener">10 Best NumPy Cheat Sheets</a></li><li><a href="https://blog.finxter.com/python-list-methods-cheat-sheet-instant-pdf-download/" title="Python List Methods Cheat Sheet [Instant PDF Download]" target="_blank" rel="noreferrer noopener">Python List Methods Cheat Sheet [Instant PDF Download]</a></li><li><a href="https://blog.finxter.com/cheat-sheet-6-pillar-machine-learning-algorithms/" target="_blank" rel="noreferrer noopener" title="[Cheat Sheet] 6 Pillar Machine Learning Algorithms">[Cheat Sheet] 6 Pillar Machine Learning Algorithms</a></li></ul>
</div></div>
<p>The post <a href="https://blog.finxter.com/best-python-opencv-cheat-sheet/">Top 10 Python OpenCV Cheat Sheets</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: blog.finxter.com @ 2026-06-18 20:59:31 by W3 Total Cache
-->