<commit_before># Glassface

_"Ok glass, meet this person."_

_Glassface_ is an opt-in utility that lets you add friends on social networks by taking a picture of their face with [Google Glass](https://glass.google.com). 

This hack was developed by @derek-schultz, @daniel-bulger, @alexkau, and @theopak for HackMIT October 2013.


## Screen Mirroring Glass on Your Development Machine

This [helpful guide](http://neatocode.tumblr.com/post/49566072064/mirroring-google-glass) describes how to use [asm.jar](asm.jar) to screen mirror.
<commit_msg>Documents how to build OpenCV from source.<commit_after># Glassface

_"Ok glass, meet this person."_

_Glassface_ is an opt-in utility that lets you add friends on social networks by taking a picture of their face with [Google Glass](https://glass.google.com). 

This hack was developed by @derek-schultz, @daniel-bulger, @alexkau, and @theopak for HackMIT October 2013.


## Building OpenCV From Source

This project uses OpenCV for facial recognition. It is required that you build OpenCV from source. Here's how to do it:

1. Download the [source code](http://opencv.org/downloads.html) to your local development machine.
2. From inside the folder, build the source:

    cd opencv-2.4.6.1 # Change to the downloaded (unzipped) directory
    mkdir build
    cd build
    cmake -D BUILD_PYTHON_SUPPORT=ON  # We're building from source just for this feature
    make
    sudo make install 


## Screen Mirroring Glass on Your Development Machine

This [helpful guide](http://neatocode.tumblr.com/post/49566072064/mirroring-google-glass) describes how to use [asm.jar](asm.jar) to screen mirror.

{'fraction_non_alphanumeric': 0.08338405356055995, 'fraction_numerical': 0.021911138161898967, 'mean_word_length': 4.286173633440514, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6024631', 'n_tokens_mistral': 529, 'n_tokens_neox': 482, 'n_words': 200}