Skip to content

Instantly share code, notes, and snippets.

View jinhoyoo's full-sized avatar

Jinho Yoo jinhoyoo

View GitHub Profile
@jinhoyoo
jinhoyoo / imageProcessing.cs
Created March 3, 2017 05:29 — forked from y6a2/imageProcessing.cs
opencv/samples/cpp/squares.cpp to unity @iphone5 Using NativePlugin
using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;
public class imageProcessing : MonoBehaviour {
[DllImport ("__Internal")]
private static extern void UpdateTexture(System.IntPtr colors, int width, int height);
WebCamTexture webcamTexture;
Texture2D texture = null;
@jinhoyoo
jinhoyoo / gist:1eee3e6fd4fcaf511de34a425605faff
Created October 18, 2018 02:37 — forked from jmvrbanac/gist:7920633
Using pyenv virtualenvs in a Jenkins Job
#!/bin/bash
set +x
# Setup all of the pyenvs
export PATH="$HOME/.pyenv/bin:$PATH"
export CONFIGURE_OPTS='--enable-shared'
eval "$(pyenv init -)"
pyenv shell 2.7.5
pyenv virtualenvwrapper
pyenv rehash