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
$ sudo apt-get update | |
$ sudo apt-get install build-essential cmake pkg-config | |
$ sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev | |
$ sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev | |
$ sudo apt-get install libxvidcore-dev libx264-dev | |
$ sudo apt-get install libgtk2.0-dev | |
$ sudo apt-get install libatlas-base-dev gfortran | |
$ sudo apt-get -y install cmake git libgtk2.0-dev ocl-icd-opencl-dev | |
$ python --version | |
Python 2.7.6 |
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
$ cd /home/ubuntu/ダウンロード | |
$ chmod +x JetPack-L4T-2.3-linux-x64.run | |
$ mv JetPack-L4T-2.3-linux-x64.run /home/ubuntu/jetson-tx1 | |
$ cd /home/ubuntu/jetson-tx1 | |
$ ./JetPack-L4T-2.3-linux-x64.run |
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
$ php cloudVisionDemo.php 'water.jpg' LABEL_DETECTION | |
array(1) { | |
["responses"]=> | |
array(1) { | |
[0]=> | |
array(1) { | |
["labelAnnotations"]=> | |
array(3) { | |
[0]=> | |
array(3) { |
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
psql: server closed the connection unexpectedly | |
This probably means the server terminated abnormally | |
before or while processing the request. |
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
$ vcgencmd get_camera | |
supported=1 detected=1 |
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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
namespace xxxxxxxxxxService.DataObjects | |
{ | |
using Microsoft.Azure.Mobile.Server; | |
public class DeviceEntry : EntityData | |
{ |
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
code () { | |
if [[ $# = 0 ]] | |
then | |
open -a "Visual Studio Code" | |
else | |
[[ $1 = /* ]] && F="$1" || F="$PWD/${1#./}" | |
open -a "Visual Studio Code" --args "$F" | |
fi | |
} |