$ sudo apt-get install git python-pip make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev
$ sudo pip install virtualenvwrapper
$ git clone https://github.com/yyuu/pyenv.git ~/.pyenv
$ git clone https://github.com/yyuu/pyenv-virtualenvwrapper.git ~/.pyenv/plugins/pyenv-virtualenvwrapper
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
$ echo 'eval "$(pyenv init -)"' >> ~/.bashrc
This file contains hidden or 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
//-------------------------------------------------------------- | |
void ofApp::setup(){ | |
ofSetFrameRate(60); | |
ofBackground(0); | |
// capture size | |
myVideo.initGrabber(640,480, true); | |
} |
This file contains hidden or 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
size( 500, 500 ); | |
background(255); | |
noStroke(); | |
beginShape(); | |
fill(0); | |
vertex( 100, 100 ); | |
bezierVertex(100,100,150,200,90,300); |
This file contains hidden or 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
```json | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch on iOS Emulator", | |
"type": "nativescript", | |
"platform": "ios", | |
"request": "launch", | |
"appRoot": "${workspaceRoot}", |
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.6
BuildVersion: 16G29
Install java & apache-spark
$ brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
$ pip install pygame
$ vim .bashrc/.zshrc
alias ignore='echo -e "node_modules/ \n*.mp4 \n*.mp3 \n*.mov \n*.pdf \nconfig.js" >> .gitignore'
$ git init & ignore
$ mongo
MongoDB shell version v3.4.6
connecting to: mongodb://127.0.0.1:27017
2017-07-13T13:29:20.917+0500 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused
2017-07-13T13:29:20.917+0500 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:237:13
@(connect):1:6
exception: connect failed
Follow original repo's guide
https://github.com/thtrieu/darkflow
Python3, tensorflow 1.0, numpy, opencv 3.