Skip to main content

# Real Time Video Reader This project aims to read the video from the computer screen and process it using the Canny edges to detect lines.

Allows to adjust the parameters of the Canny detection in real time through slide vars.

It is advisable to have 2 monitors (one being captured real time and another that is showing the canny edges)

When not having 2 monitors reduce the captured screen so the capture and The canny fit in one screen.

## Usage of the package Start playing some video and then choose one of the options below. For example if you want to work on traffic detection / signal detection you can use: https://www.youtube.com/watch?v=KmntziBBTrg

### You don’t know the region to capture

from cannyfier import get_capture_coords from cannyfier import Cannyfier

# This will create a window called InitWindow. # 1. Move the window out of the view of the screen part you want to capture. # 2. Click + Drag and Release in the window created to define the capture # box. # 3. You can re-define the box by click again + drag and realease # 4. Once satisfied with the capture box press q ix, fx, iy, fy = get_capture_coords()

# 5. This part will be executed then. The capture window will be displayed # with an smaller window with 2 slide bars # 6. Move both windows out of the view of the capture box # 7. Adjust the sliders to your taste of cannyfier # 8. To finish the cannyfier press also q my_cann = Cannyfier(ix, iy, fx, fy)

# System will report you: # 1. The region being captured (left, top, right bottom) # 2. The average frames per second captured during the cannyfier process

### You know the region to capture (x, y, x, y)

from cannyfier import Cannyfier

# Capture window will be displayed with an smaller window with 2 slide bars # 1. Move both windows out of the view of the capture box # 2. Adjust the sliders to your taste of cannyfier # 3. To finish the cannyfier press also q my_cann = Cannyfier(ix, iy, fx, fy)

# System will report you: # 1. The region being captured (left, top, right bottom) # 2. The average frames per second captured during the cannyfier process

## Remarks Press q to exit the program**<br> **To define the box start always left top and end right bottom

Release files for cannyfier 0.2.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cannyfier 0.2.10
File Size Uploaded
cannyfier-0.2.10.tar.gz 4.5 kB Details

Release files / cannyfier-0.2.10.tar.gz

Download URL cannyfier-0.2.10.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
554292a7b279b42a2fa77fbf83e48e5f1608002d034abcade20cea42b356fc8b
BLAKE2b-256 checksum
How to use checksums
e52e34853f2f48f0a489c952b0c135b1d96845affa2e9f4d3056d1b48db8591e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/3.7.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.3

Release history Release notifications | RSS feed

This release

0.2.10 This release

1 release file

0.2.8

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page