This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gab.opencv.*; | |
PImage src; | |
OpenCV opencv; | |
int thresh = 70; | |
float approx = 0.02; | |
float minArea = 1.0; | |
ArrayList<Contour> contours; | |
ArrayList<Contour> polygons; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
class Col { | |
color c; | |
float d; | |
Col(color _c, float _d) { | |
c = _c; | |
d = _d; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cd %~dp0 | |
cd C:\Program Files (x86)\ZED SDK\samples\bin | |
echo ............................................... | |
echo 0 - H.264 AVI, left + right | |
echo 1 - H.264 AVI, left + depth | |
echo 2 - 8bpc PNG sequence, left + right | |
echo 3 - 8bpc PNG sequence, left + depth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Reveal : MonoBehaviour { | |
public bool runOnStart = true; | |
public bool hideOnStart = true; | |
public float startDelay = 1f; | |
public float revealDelay = 0.1f; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | |
*** 1. Enable autologin *** | |
https://askubuntu.com/questions/162722/how-can-i-enable-autologin-for-my-user-account-when-the-option-is-not-there | |
Open this file with root /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf | |
Then append the following code: | |
[SeatDefaults] | |
greeter-session=lightdm-gtk-greeter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Osceleton message format | |
Joint names (15) are: | |
"head", "neck", "torso", "r_shoulder", "r_elbow", "r_hand", "l_shoulder", "l_elbow", "l_hand", "r_hip", "r_knee", "r_foot", "l_hip", "l_knee", "l_foot" | |
Channel name is always: | |
"/joint" | |
Message pattern is: | |
sifff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Build environment: | |
1.1. Get package manager from Magic Leap | |
1.2. Get custom Unity version from Unity | |
1.3. Install Lumin SDK with package manager | |
1.4. Get Unity package from the package manager | |
1.5. Run mldb from package manager and confirm that Leap is connected. | |
2. Register app: | |
2.1. Set up user ID on Magic Leap website | |
2.2. Get cert via the Magic Leap website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Markdown Cheatsheet | |
Adam Pritchard edited this page on May 29, 2017 · 96 revisions | |
This is intended as a quick reference and showcase. For more complete info, see John Gruber's original spec and the Github-flavored Markdown info page. | |
Note that there is also a Cheatsheet specific to Markdown Here if that's what you're looking for. You can also check out more Markdown tools. | |
Table of Contents | |
Headers | |
Emphasis | |
Lists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import processing.net.*; | |
Client client; | |
void setup() { | |
size(960, 540, P3D); | |
client = new Client(this, "vr.fox-gieg.com", 8080); | |
client.write("GET / HTTP/1.0\r\n"); | |
client.write("\r\n"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
let x = 250; | |
let y = 250; | |
function setup() { | |
createCanvas(500, 500); | |
noStroke(); | |
} |