Author: Link

ScreenSHTR – take screenshots and send them to your server

As you can see, CVisionDemy not only host computer vision posts but also various tutorials and tips & tricks. This is something I made in my freetime and for learning purpose. This last one is the same reason I present you this program. It makes screenshots and send them to a FTP server. It first was only a few lines...

READ MORE ScreenSHTR – take screenshots and send them to your server

License plate detection with OpenCV and Python

Next you will find some code which will let you to detect license plate. This project is divided mainly in two parts: plate detection and character recognition. The code you will find next is an adaptation of Chris Dahms original License Plate Recognition. A video of his work can be found here as longs as his original source code. I...

READ MORE License plate detection with OpenCV and Python

Install ImageMagick Textcleaner script on Windows

TextCleaner is a script created by Fred Weinhaus. It’s used to clean scanned documents and to make the final image more readable for OCR process. Today I will show you how to install and run TextCleaner along with a simple command to pre-process an image. First step is to download ImagMagick. Scroll down to find Windows binaries and then install...

READ MORE Install ImageMagick Textcleaner script on Windows

Solve exit code -1073741819 (0xC0000005) error in PyCharm

So, doing some things with Python while I had to use the debugger. When I clicked the debug button in PyCharm, this happened:     Strange, it’s the first time which happens. I run it again. Nothing to do, error still comes up. Few seconds later I was already in searching for a solution. First one suggest that it’s a...

READ MORE Solve exit code -1073741819 (0xC0000005) error in PyCharm

How to install OpenCV on Windows 10 and Python 3.6

I remember, my first time I installed OpenCV was trivial and complicated. Didn’t know what a whell file was or how to use pip. Right while I am writing this tutorial, few months passed and install a library is, most of the times, painless. Let’s see together how to install OpenCV on Windows 10. NOTE: this tutorial is a copy-paste...

READ MORE How to install OpenCV on Windows 10 and Python 3.6

Extract ROI from image with Python and OpenCV

Extracting a ROI (Region of Interest) using OpenCV and Python is not so hard as it could may sound.   Source image:   So, we begin to import our modules and the source image:   import cv2 import numpy as np #import image image = cv2.imread(‘C:\\Users\\Link\\Desktop\\image.png’)   We are going to do some simple image manipulation: turn the image to...

READ MORE Extract ROI from image with Python and OpenCV

Solve “Failed to init API, possibly an invalid tessdata path” Error

Possible solution to solve “Failed to init API, possibly an invalid tessdata path” error   RuntimeError: Failed to init API, possibly an invalid tessdata path: <PATH>   It’s supposed that you already have added the directories where you installed Python and Tesseract-OCR to Path.   You don’t have the tessdata folder in the Python path. For example, if you have...

READ MORE Solve “Failed to init API, possibly an invalid tessdata path” Error