<commit_before>sensor-frames-qa
================

*Quality assurance GUI for frames*

Installation Guide
------------------

### Requirements

To install you need:

* Python 2.7
* OpenCV library 
* Git
* PyScripter editor can support you by project configuration

### Commands

sudo python mask.py 1691.png            // for the test view
sudo python send_frames.py              // to simulate sensor sending frames
sudo rm rec/*.*                         // to clean frames directory<commit_msg>added description for live demo<commit_after>sensor-frames-qa
================

*Quality assurance GUI for frames*

Installation Guide
------------------

### Requirements

To install you need:

* Python 2.7
* OpenCV library 
* Git
* PyScripter editor can support you by project configuration

### Commands

sudo python mask.py 1691.png            // for the test view
sudo python send_frames.py              // to simulate sensor sending frames
sudo rm rec/*.*                         // to clean frames directory

### Live demo

1. clean up 'pic' directory in D:/tmp/final
2. start PyScripter send_frames.py with parameter (in menu) C:\Users\MaxM\Documents\LineSensorRecordings\ D:\tmp\final\pic
3. from command line start: camera_gui.py pic/
{'fraction_non_alphanumeric': 0.1282258064516129, 'fraction_numerical': 0.012096774193548387, 'mean_word_length': 2.586705202312139, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6657466', 'n_tokens_mistral': 354, 'n_tokens_neox': 323, 'n_words': 129}