semvec/pypi-packages huggingface dataset:
SpyCam 0.0.1
A raspberry Pi operated pan/tilt camera which uses Computer Vision
License: MIT
Keywords: Raspberry Pi

# SpyCam

The SpyCam system is the result of a design course assignment at the University of Cape Town in 2020. This system provides a full demonstrator and API of a low-power, Embedded Systems implementation of mechanical pan and tilt camera arm with facial detection. This project inspired us to create a high-quality yet affordable security alternative to families living within the dangerous parts of South Africa.


## Requirements

In order to achieve the correct results, we suggest you use the following equipment:
* Raspberry Pi 3B+ or higher
* Pimoroni Pan-Tilt Board
* Pimoroni Dual Servo Mechanism
* Standard Power Adapter for Raspberry Pi (A USB power cable might not work)

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install opencv.

```bash
pip install opencv-contrib-python
pip install pantilthat
pip install imutils
pip install "picamera[array]"
```
* Please note that in order to reliably use the SpyCam Demonstrator and API, it is suggested you work with Python 3 and was tested on Python 3.7 on the Raspberry Pi 3 B+

## Usage
The demonstrator currently consists of two different methods of operation:
1. Autonomous Haar-Cascade Model Facial Detection
2. Manual override of operation through a local webserver

If you are a beginner or would like to simply try the demonstrator of the system, use the following command line where the downloaded files have been extracted:

```python
python3 spycam.py
```
For more experienced users, you can use the direct command line interface:
```python
python3 pan_tilt_tracking.py --cascade haarcascade_frontalface_default.xml
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## Other notes from the Dev Team
We hope this helps anyone inside or outside of South Africa! This design was inspired by Adrian Rosebrock at https://www.pyimagesearch.com/ , please give it a look and support him if possible.


Change Log
===========

0.01 (19/11/2020)
--------------------
- First Release
kut 0.2.0
Keras training management utilities.
License: MIT
Requires Python: >=3.6.1,<4.0.0
Keywords: Keras,Tensorflow,Training management,Deep learning

# Keras Utilities (Kut)

The project contains utilities for image assessment development with Keras/Tensorflow, including utilities for model training, custom generators, image management and augmentation. This is an extension of [kutils](https://github.com/subpic/kutils).

## Overview

Some of the key components of each file:

**`model_helper.py`**:

* `ModelHelper`: Wrapper class that simplifies default usage of Keras for regression models.

**`generators.py`**:

* `DataGeneratorDisk`, `DataGeneratorHDF5`: Keras generators for on-disk images, and HDF5 stored features/images

**`image_utils.py`**:

* various utility functions for manipulating images (read, write to HDF5, batch resize, view batch)

**`image_augmenter.py`**:

* `ImageAugmenter`: Create custom image augmentation functions for training Keras models.

**`generic.py`**:

* `H5Helper`: Manage named data sets in HDF5 files, for us in Keras generators.
* `ShortNameBuilder`: Utility for building short (file) names that contain multiple parameters.

**`applications.py`**:

* `model_inception_multigap`, `model_inceptionresnet_multigap`: Model definitions for extracting MLSP narrow features
* `model_inception_pooled`, `model_inceptionresnet_pooled`: Model definitions for extracting MLSP wide features

You can find more information in the docstrings.