All Projects → andrewdcampbell → Opencv Document Scanner

andrewdcampbell / Opencv Document Scanner

An interactive document scanner built in Python using OpenCV featuring automatic corner detection, image sharpening, and color thresholding.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Opencv Document Scanner

Omrchecker
Grade exams fast and accurately using a scanner 🖨 or your phone 🤳.
Stars: ✭ 189 (-11.27%)
Mutual labels:  opencv, scanner
Edge detection
This is a flutter plugin to detect edges in a live camera, take the picture of detected edges object, crop it, and save.
Stars: ✭ 116 (-45.54%)
Mutual labels:  opencv, scanner
Pine
🌲 Aimbot powered by real-time object detection with neural networks, GPU accelerated with Nvidia. Optimized for use with CS:GO.
Stars: ✭ 202 (-5.16%)
Mutual labels:  opencv
Bscan
an asynchronous target enumeration tool
Stars: ✭ 207 (-2.82%)
Mutual labels:  scanner
Aws Recon
Multi-threaded AWS inventory collection tool with a focus on security-relevant resources and metadata.
Stars: ✭ 203 (-4.69%)
Mutual labels:  scanner
Raspberrypi Facedetection Mtcnn Caffe With Motion
MTCNN with Motion Detection, on Raspberry Pi with Love
Stars: ✭ 204 (-4.23%)
Mutual labels:  opencv
Bluescan
A powerful Bluetooth scanner
Stars: ✭ 206 (-3.29%)
Mutual labels:  scanner
Road lane line detection
Find lane lines on the road using Python and OpenCV, applying Canny edge detectors and Hough line transforms
Stars: ✭ 202 (-5.16%)
Mutual labels:  opencv
Pentest Tools Framework
Pentest Tools Framework is a database of exploits, Scanners and tools for penetration testing. Pentest is a powerful framework includes a lot of tools for beginners. You can explore kernel vulnerabilities, network vulnerabilities
Stars: ✭ 211 (-0.94%)
Mutual labels:  scanner
Imageprocessingprojects
Image processing using python and opencv
Stars: ✭ 205 (-3.76%)
Mutual labels:  opencv
Aveditor
这是一款短视频编辑 SDK,仿 DouYin 音视频处理。功能包含有美颜、滤镜、贴纸、特效、录制、分段录制、速率录制、变声、配乐、rtmp 直播推流、图片转视频、剪辑,mp4/flv 格式封装等功能。动态库用的我另一个项目编译好的 https://github.com/yangkun19921001/AVFFmpegLib
Stars: ✭ 209 (-1.88%)
Mutual labels:  opencv
Learnopencv
Learn OpenCV : C++ and Python Examples
Stars: ✭ 15,385 (+7123%)
Mutual labels:  opencv
Fga
Auto-battle app for F/GO Android
Stars: ✭ 205 (-3.76%)
Mutual labels:  opencv
Scannerl
The modular distributed fingerprinting engine
Stars: ✭ 208 (-2.35%)
Mutual labels:  scanner
Opencv Python Tutorial
OpenCV问答群不再维护。有问题,自己去搜索。Google能找到大部分答案。
Stars: ✭ 2,603 (+1122.07%)
Mutual labels:  opencv
Python vlpr
毕业设计基于Opencv的车牌识别系统
Stars: ✭ 209 (-1.88%)
Mutual labels:  opencv
Opencv 2 Cookbook Src
《OpenCV 2 计算机视觉编程手册》 配套代码,支持 OpenCV 3.x / 4.x
Stars: ✭ 202 (-5.16%)
Mutual labels:  opencv
Localexpstereo
Continuous 3D Label Stereo Matching using Local Expansion Moves (TPAMI 2018)
Stars: ✭ 205 (-3.76%)
Mutual labels:  opencv
Ladon
大型内网渗透扫描器&Cobalt Strike,Ladon8.9内置120个模块,包含信息收集/存活主机/端口扫描/服务识别/密码爆破/漏洞检测/漏洞利用。漏洞检测含MS17010/SMBGhost/Weblogic/ActiveMQ/Tomcat/Struts2,密码口令爆破(Mysql/Oracle/MSSQL)/FTP/SSH(Linux)/VNC/Windows(IPC/WMI/SMB/Netbios/LDAP/SmbHash/WmiHash/Winrm),远程执行命令(smbexec/wmiexe/psexec/atexec/sshexec/webshell),降权提权Runas、GetSystem,Poc/Exploit,支持Cobalt Strike 3.X-4.0
Stars: ✭ 2,911 (+1266.67%)
Mutual labels:  scanner
Berserker
A list of useful payloads for Web Application Security and Pentest/CTF
Stars: ✭ 212 (-0.47%)
Mutual labels:  scanner

Document Scanner

An interactive document scanner built in Python using OpenCV

The scanner takes a poorly scanned image, finds the corners of the document, applies the perspective transformation to get a top-down view of the document, sharpens the image, and applies an adaptive color threshold to clean up the image.

On my test dataset of 280 images, the program correctly detected the corners of the document 92.8% of the time.

This project makes use of the transform and imutils modules from pyimagesearch (which can be accessed here). The UI code for the interactive mode is adapted from poly_editor.py from here.

  • You can manually click and drag the corners of the document to be perspective transformed: Example of interactive GUI

  • The scanner can also process an entire directory of images automatically and save the output in an output directory: Image Directory of images to be processed

Here are some examples of images before and after scan:

Usage

python scan.py (--images <IMG_DIR> | --image <IMG_PATH>) [-i]
  • The -i flag enables interactive mode, where you will be prompted to click and drag the corners of the document. For example, to scan a single image with interactive mode enabled:
python scan.py --image sample_images/desk.JPG -i
  • Alternatively, to scan all images in a directory without any input:
python scan.py --images sample_images
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].