<commit_before>#gest.js

gest.js is a webcam based gesture recognition library that helps developers make webpages more immersive.

#USAGE

You will need to include the 'gest.js' script in your index &lt;head&gt;, using something like:

<pre><code>&lt;script type="text/javascript" src="gest.js"&gt;&lt;/script&gt;</pre>

Starting gest.js and handling gestures:
<pre><code>document.addEventListener('gest', function(gesture) {
	if (gesture.ready) {
		gest.start(); //start gesture detection
	} else {
		//handle gesture .direction .up .down .left .right here...
		document.getElementById('mydiv').innerHTML = gesture.direction;
	}
}, false);
gest.start();
</code></pre>

To stop gesture detection, use:
<pre><code>gest.stop();</code></pre>

Toggle debug mode using:
<pre><code>gest.debug([boolean]);</code></pre>

Other available options:
Enable/disable skin filtering
<pre><code>gest.options.skinFilter = [boolean]; //default is false</code></pre>
<commit_msg>update read me<commit_after>#USAGE

You will need to include the 'gest.js' script in your index &lt;head&gt;, using something like:

<pre><code>&lt;script type="text/javascript" src="gest.js"&gt;&lt;/script&gt;</pre>

Starting gest.js and handling gestures:
<pre><code>document.addEventListener('gest', function(gesture) {
	if (gesture.ready) {
		gest.start(); //start gesture detection
	} else {
		//handle gesture .direction .up .down .left .right here...
		document.getElementById('mydiv').innerHTML = gesture.direction;
	}
}, false);
gest.start();
</code></pre>

To stop gesture detection, use:
<pre><code>gest.stop();</code></pre>

Toggle debug mode using:
<pre><code>gest.debug([boolean]);</code></pre>

Other available options:
Enable/disable skin filtering
<pre><code>gest.options.skinFilter = [boolean]; //default is false</code></pre>

{'fraction_non_alphanumeric': 0.16832779623477298, 'fraction_numerical': 0.0, 'mean_word_length': 5.318181818181818, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '2381130', 'n_tokens_mistral': 569, 'n_tokens_neox': 553, 'n_words': 154}