This is a summary of this nice tutorial.
-
Download the TensorFlow models repository.
- edit
Makefile
set OPENCV=1 and GPU=1 namespace error
opencv/opencv#10963 (comment)CVAPI(cv::Rect)cvGetWindowImageRect(const char* name);
https://stackoverflow.com/questions/48611228/yolo-compilation-with-opencv-1-fails
apm install termrk
To use ctrl+`
to toggle
keymap.cson
'atom-workspace':
'ctrl-\`': 'termrk:toggle'
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
. /data/opt/intel/computer_vision_sdk_2018.2.300/bin/setupvars.sh | |
. openvino/env.sh | |
CGO_LDFLAGS="$CGO_LDFLAGS -lopencv_calib3d" | |
LD_LIBRARY_PATH=/home/l/git/github.com/openvino-docker/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH | |
LD_LIBRARY_PATH=/data/opt/intel/computer_vision_sdk_2018.2.300/deployment_tools/inference_engine/lib/ubuntu_16.04/intel64:$LD_LIBRARY_PATH | |
export CGO_LDFLAGS | |
export LD_LIBRARY_PATH |
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
while [ 1 ]; do | |
{ echo -ne "HTTP/1.0 200 OK\r\nContent-Length: $(wc -c <index.html)\r\n\r\n"; cat index.html; } | nc -l 8080 | |
done |
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
var mqtt = require('mqtt'); | |
var client1 = mqtt.connect('mqtt://172.20.0.2'); | |
var client2 = mqtt.connect('mqtt://172.20.0.3'); | |
client1.on('connect', function () { | |
client1.subscribe("foo") | |
}); | |
client1.on('message', function (topic, message) { | |
console.log("got msg", topic, message.toString()); |
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
NET_NAME="project_default" | |
NAME="nats" | |
IP=docker network inspect $NET_NAME | grep $NAME -A 3 | grep "IP" | grep -Po "([0-9]+.[0-9]+.[0-9]+.[0-9])" | |
echo $IP |
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
const baseUrl = "https://aal-programme-info-day-2020.b2match.io/participants" | |
const data = require("./data.json") | |
const participantRow = (participant) => { | |
let { | |
id, | |
user, | |
organisation_name, | |
organisation_type, |