- OS - High Sierra 10.13
- Tensorflow - 1.4
- Xcode command line tools - 8.2 (Download from here: Xcode - Support - Apple Developer & Switch to different clang version: sudo xcode-select --switch/Library/Developer/CommandLineTools & check version: clang -v)
- Cmake - 3.7
- Bazel - 0.7.0
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 peasy.*; | |
final int size = 500; | |
PShader shader; | |
PGraphics canvas; | |
PGraphics depthImage; | |
PeasyCam cam; |
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
public class Client : MonoBehaviour | |
{ | |
private SubscriberSocket m_subscriber; | |
private NetMQContext m_context; | |
// Use this for initialization | |
void Start() | |
{ | |
ForceDotNet.Force(); |
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
# The network is used for the video description experiments in [1]. | |
# Please consider citing [1] if you use this example in your work. | |
# | |
# [1] S. Venugopalan, H. Xu, J. Donahue, M. Rohrbach, R. Mooney, K.Saenko. | |
# "Translating Videos to Natural Language using Deep Recurrrent Neural | |
# Networks." NAACL-HLT 2015. | |
name: "mean_fc7_to_lstm" | |
layer { | |
name: "data" |
I was primarily using the JavaCPP presets for OpenCV(JavaCV) and Tesseract
But I also found some references for C++
Here's what works for C++
#include <tesseract/baseapi.h>
#include <leptonica/allheaders.h>
#include
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
cmake_minimum_required(VERSION 3.2) | |
project(YourProject) | |
add_subdirectory(src) | |
add_subdirectory(lib) |
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
/* Here's a look at how I created a quick music player for use with GBDK. | |
It basically defines how to play a note, and then stores an array of notes | |
to be played as a timer interates through the beats */ | |
//Define note names | |
typedef enum { | |
C3, Cd3, D3, Dd3, E3, F3, Fd3, G3, Gd3, A3, Ad3, B3, | |
C4, Cd4, D4, Dd4, E4, F4, Fd4, G4, Gd4, A4, Ad4, B4, | |
C5, Cd5, D5, Dd5, E5, F5, Fd5, G5, Gd5, A5, Ad5, B5, | |
C6, Cd6, D6, Dd6, E6, F6, Fd6, G6, Gd6, A6, Ad6, B6, |
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
/** | |
* Author: Mathias Bak Bertelsen | |
* Email: bufas@cs.au.dk | |
* Date: 03-08-2014 | |
* | |
* A very simple implementation of a generic FIFO queue. | |
*/ | |
public class Queue<T> { | |
Firstly install Brew on your MAC
- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then install PHP
- brew update
- brew tap homebrew/dupes
- brew tap homebrew/php
- brew install php56
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
/* | |
* Simple printf for writing to an Arduino serial port. Allows specifying Serial..Serial3. | |
* | |
* const HardwareSerial&, the serial port to use (Serial..Serial3) | |
* const char* fmt, the formatting string followed by the data to be formatted | |
* | |
* int d = 65; | |
* float f = 123.4567; | |
* char* str = "Hello"; | |
* serial_printf(Serial, "<fmt>", d); |
OlderNewer