<commit_before># home-recorder

Detect, record and notifiy events in your home for your security.

## Feature

* event detection  
  * with cameras  
  * with gpio switch  
  * Event detection is automatically enabled when you go out of home with your smartphone, and is disabled when you come back home. This feature is offered by [the Android client app](https://github.com/nknytk/home-recorder-client).  
* notification about the event  
  * with email  
* record the event  
  * with cameras  
  * send images from the cameras with email  

## Requirements

* Raspbian or Ubuntu
* Python3
* webcam by <NAME> for image capturing
* [raspberry-gipo-python](http://sourceforge.net/p/raspberry-gpio-python/wiki/Home/) for window/door switch using GPIO in Raspberry Pi

## Usage

1. Setup Raspbian on a raspberry pi or Ubuntu on a PC.  
2. Connect web cameras with the device.  
3. Download home-recorder.
  * Click Download ZIP button on the github page, and unzip the donloaded file.  
  * `git clone https://github.com/nknytk/home-recorder.git`  
4. Run `./setup.sh` to install dependencies.  <commit_msg>Add comment to usage<commit_after># home-recorder

Detect, record and notifiy events in your home for your security.

## Feature

* event detection  
  * with cameras  
  * with gpio switch  
  * Event detection is automatically enabled when you go out of home with your smartphone, and is disabled when you come back home. This feature is offered by [the Android client app](https://github.com/nknytk/home-recorder-client).  
* notification about the event  
  * with email  
* record the event  
  * with cameras  
  * send images from the cameras with email  

## Requirements

* Raspbian or Ubuntu
* Python3
* webcam by <NAME> for image capturing
* [raspberry-gipo-python](http://sourceforge.net/p/raspberry-gpio-python/wiki/Home/) for window/door switch using GPIO in Raspberry Pi

## Usage

typical usage

1. Setup Raspbian on a raspberry pi or Ubuntu on a PC.  
2. Connect web cameras with the device.  
3. Download home-recorder.
  * Click Download ZIP button on the github page, and unzip the donloaded file.  
  * `git clone https://github.com/nknytk/home-recorder.git`  
4. Run `./setup.sh` to install dependencies.  
{'fraction_non_alphanumeric': 0.07967770814682185, 'fraction_numerical': 0.004476275738585497, 'mean_word_length': 3.461077844311377, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '585792', 'n_tokens_mistral': 691, 'n_tokens_neox': 656, 'n_words': 275}