This is a simple script that helps in accessing the image from the Android App IPWebcam and to be able to display it in pygame
Requirements
- opencv 2
- numpy
- pygame
Usage
import sys
import pygame
from IPWebCam import *
pygame.init()
clock = pygame.time.Clock()
screen = pygame.display.set_mode((176,144))
ipcam = IPWEBCAM('192.168.1.103:8080') # thats the server address shown on the IP webcam, don't add 'http://' the class adds it
run = True
while run:
for event in pygame.event.get():
if event.type == pygame.QUIT:
run = False
pygame.quit()
sys.exit()
screen.blit(ipcam.get_pygame_image(),(0,0))
pygame.display.flip()
clock.tick(0)
Features
- Camera Swap
- Overlay control
- Flash light control
- Set quality
- Set orientation
- Set resolution
- Zoom
Metadata
Release files for ipwebcam 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ipwebcam-0.2.1.tar.gz | 3.4 kB | Without provenance | Details for ipwebcam-0.2.1.tar.gz |
Release files / ipwebcam-0.2.1.tar.gz
| Download URL | ipwebcam-0.2.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8d19f49679b9e81249c6f1acf2eb8cff5a87a828c303dce86d57b01f7bcf118
|
|
BLAKE2b-256 checksum How to use checksums |
8f0354f84525361ef416b7134097ce62830377610596110772ba509a9b0f4154
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2
|
Security for ipwebcam 0.2.1
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.