Skip to main content

CannyCam

Uses webcam stream and performs Canny Edge Detection and Haar Cascade image detection.

Canny Edge Detection removes noise from image, giving black background and white outline. This accentuates sharp edges in the image, making it very easy to detect a target.

Haar Cascade image detection actually detects the target, given a training set of positive images (pictures of the target) and negative images (pictures not containing target, should be images of the physical backgroud used for the experiment).

Together, they take a video as a stream of images, to isolate and detect the target.

Targets used: face, upper body, lower body, hands. Knee, elbow, smaller body parts are work in progress.

Next step is to implement this into a diagnostic image detection program for assisting doctors. E.g. patient goes to doctor with broken ankle, doctor takes x-ray, diagnostic image detection program may be able to detect certain problems with patient's ankle upon scanning the x-ray.

CannyCam. Better than a nannycam.

Installation

pip install cannycam

Run

From the command line

python -m cannycam.cannycam
python -m cannycam.haarcam
python -m cannycam.cannyhaarcam

Or in python

import cannycam

cannycam.cannycam.main()
cannycam.haarcam.main()
cannycam.cannyhaarcam.main()

Metadata

Release files for cannycam 0.0.5

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

Source distribution (sdist)

Source distribution for cannycam 0.0.5
File Size Uploaded Provenance Actions
cannycam-0.0.5.tar.gz 416.9 kB Without provenance Details for cannycam-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cannycam 0.0.5
File Interpreter ABI Platform Actions
cannycam-0.0.5-py2-none-any.whl Python 2 none any Details for cannycam-0.0.5-py2-none-any.whl

Total release size: 832.3 kB

Release files / cannycam-0.0.5.tar.gz

Download URL cannycam-0.0.5.tar.gz
Size 416.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8965b7d71d3e688badb006eb8aa28e5e3a391e1096f4babb554f62b2afab2463
BLAKE2b-256 checksum
How to use checksums
59afbe176d5c4b60f2c63fe68efe9541c21e942c3dc7e4f8d0fe71e876a117ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15

Release files / cannycam-0.0.5-py2-none-any.whl

Download URL cannycam-0.0.5-py2-none-any.whl
Size 415.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
888fd0ac9a545c1b8850dd3a049b7b72c0d878913b96c1200d1814d22a9cf97f
BLAKE2b-256 checksum
How to use checksums
e5264b09cd1e0190c0b777223054cf3f8e3daccdb862390c10ceba930348ff62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15

Security for cannycam 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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