星期六, 6月 29, 2019
NN Visualization
https://e2e.ti.com/cfs-file/__key/communityserver-blogs-components-weblogfiles/00-00-00-08-94/TIDL-CNN.PNG

星期二, 6月 25, 2019
星期一, 6月 24, 2019
星期四, 6月 20, 2019
雖然
雖然
Nevertheless
We can't act on your advice. Nevertheless, thank you for giving it.
我們不能照你的建議去辦。不過承蒙您提出來,十分感謝。
She was angry; nevertheless, she listened to me.
她很生氣,但還是聽了我的話。
even so
Nevertheless
We can't act on your advice. Nevertheless, thank you for giving it.
我們不能照你的建議去辦。不過承蒙您提出來,十分感謝。
She was angry; nevertheless, she listened to me.
她很生氣,但還是聽了我的話。
even so
There are many spelling mistakes; even so it's quite a good essay.
這篇文章有許多拼寫錯誤, 然而仍不失之為好文章。
The book is rather old; even so, it is very useful.
這本書已很舊, 儘管如此, 它還是很有用。
however
anyway
For all that, I still feel that he is the most capable man in our organization.
He's a bit naughty, but I like him all the same.
這篇文章有許多拼寫錯誤, 然而仍不失之為好文章。
The book is rather old; even so, it is very useful.
這本書已很舊, 儘管如此, 它還是很有用。
however
anyway
For all that, I still feel that he is the most capable man in our organization.
儘管這樣, 我還是認為他是我們組織裡最有能力的人。
Despite being sick, Grace went to work.
Despite being sick, Grace went to work.
(儘管生病,葛蕾絲還是去工作)
In spite of being very tired, I stayed awake.
In spite of being very tired, I stayed awake.
儘管非常疲倦,我仍保持清醒)
For all that, I still feel that he is the most capable man in our organization.
儘管這樣, 我還是認為他是我們組織裡最有能力的人。
Although you refuse to answer, I understand it all the same.
For all that, I still feel that he is the most capable man in our organization.
儘管這樣, 我還是認為他是我們組織裡最有能力的人。
Although you refuse to answer, I understand it all the same.
你雖然不回答, 但我仍然知道。
She is not very intelligent, but I like her all the same.
She is not very intelligent, but I like her all the same.
她不很聰明, 但我仍然喜歡她。
He's a bit naughty, but I like him all the same.
他有點頑皮,可是我還是喜歡他。
adv.不顧一切地
he protested, but they carried on regardless
adv.不顧一切地
he protested, but they carried on regardless
他提出了抗議,但他們毫不理會,照常進行
adj.形容詞
1. 不注意的,不留心的;不關心的
I'll take the job regardless of the pay.
adj.形容詞
1. 不注意的,不留心的;不關心的
I'll take the job regardless of the pay.
不管報酬多少我都要這份工作。
prep.介系詞 1. 【書】儘管
Notwithstanding the bad weather, the match went on.
prep.介系詞 1. 【書】儘管
Notwithstanding the bad weather, the match went on.
儘管天氣很糟,比賽還是照常進行。
conj.連接詞 1. 【書】雖然,儘管
Notwithstanding he tried hard, he failed in chemistry.
conj.連接詞 1. 【書】雖然,儘管
Notwithstanding he tried hard, he failed in chemistry.
儘管很努力,他化學考試還是沒及格。
adv.副詞 1. 【書】儘管,還是
Her parents tried to prevent the marriage but the wedding took place notwithstanding.
adv.副詞 1. 【書】儘管,還是
Her parents tried to prevent the marriage but the wedding took place notwithstanding.
她父母試圖阻止這樁婚姻,儘管如此,婚事還是舉行了。
At the precise moment the train started.
At the precise moment the train started.
就在那時,火車啟動了。
星期四, 6月 13, 2019
TX2 sdkmanager flash
- sudo dpkg -i ~/Downloads/sdkmanager_0.9.12-4180_amd64.deb
- ./sdkmanager --cli install --user john.doe@example.com --logintype devzone --product Jetson --version 4.2 --targetos Linux --host --target P3310 --flash all
- cuda-toolkit-9-0 libgomp1 libfreeimage-dev libopenmpi-dev openmpi-bin
星期三, 5月 29, 2019
TX2 Kernel bug Ubuntu 16
https://discourse.osmc.tv/t/dhd-dpc-load-still-50/75585/8
2118 nvidia 20 0 94104 15036 6844 S 33.7 0.2 1850:58 python3
827 root -51 0 0 0 0 S 13.5 0.0 922:53.57 dhd_dpc
829 root -51 0 0 0 0 S 3.8 0.0 247:07.50 dhd_rxf
14225 nvidia 20 0 9340 3276 2564 R 3.8 0.0 0:02.18 top
7 root 20 0 0 0 0 S 1.9 0.0 61:53.22 rcu_preempt
114 root -51 0 0 0 0 S 1.0 0.0 31:00.50 irq/69-15200000
940 root 20 0 48.072g 33808 22184 S 1.0 0.4 256:47.72 Xorg
2118 nvidia 20 0 94104 15036 6844 S 33.7 0.2 1850:58 python3
827 root -51 0 0 0 0 S 13.5 0.0 922:53.57 dhd_dpc
829 root -51 0 0 0 0 S 3.8 0.0 247:07.50 dhd_rxf
14225 nvidia 20 0 9340 3276 2564 R 3.8 0.0 0:02.18 top
7 root 20 0 0 0 0 S 1.9 0.0 61:53.22 rcu_preempt
114 root -51 0 0 0 0 S 1.0 0.0 31:00.50 irq/69-15200000
940 root 20 0 48.072g 33808 22184 S 1.0 0.4 256:47.72 Xorg
星期二, 5月 28, 2019
TI 3D ToF Calibration, Document
- White Paper SLOA230–January 2016 Filtering for 3D Time-of-Flight Sensors
- Technical White Paper SLOA190B – January 2014 Revised May 2014 Time-of-Flight Camera – An Introduction
- Figure 6: Same face, different shading.
- Table 1: Comparison of 3D Imaging Technologies
- Non-Gesture Applications
- Gesture Applications
- Wide field of view: H74.4° × V59.3°
- 4.5.1.3 Image Subtraction
- void Horus::clipBackground(Mat &dMat, Mat &iMat, float dThr, float iThr)
- {
- for (int i = 0; i < dMat.rows; i++) {
- for (int j = 0; j < dMat.cols; j++) {
- float val = (iMat.at(i,j)>iThr && dMat.at(i,j)>dThr) ? 255.0 : 0.0;
- dMat.at(i,j) = val;
- }
- }
- }
- 4.5.2 Binary Image and Morphology Filter
- 4.5.3.3 Region Growing
- Figure 14. Region Growing Algorithm in People Counting [8]
- 6.10 Install PCL
- freeglut3
- • libboost-chrono1.55.0
- • libboost-date-time1.55.0
- • libboost-filesystem1.55.0
- • libboost-iostreams1.55.0
- • libboost-system1.55.0
- • libboost-thread1.55.0
- • libc6 (≥ 2.9)
- • libgcc1 (≥ 1:4.4.0)
- • libgl1-mesa-glx | libgl1
- • libgomp1 (≥ 4.9)
- • libpng12-0 (≥ 1.2.13-4)
- • libqhull6 (≥ 2012.1)
- • libstdc++6 (≥ 4.9)
- • libusb-1.0-0 (≥ 2:1.0.8)
- • libvtk5.8
- If all the dependencies are met, install the pre-built PC
- Install Voxel SDK
- debian# ./install_voxelsdk.sh
- debian# cd /usr/local/include debian# sudo ln ±s voxel-0.6.0 voxel
- debian# export VOXEL_SDK_PATH=/home/debian/Software/voxelsdk/build
- debian# vi ~/.bashrc
- export VOXEL_SDK_PATH=/home/debian/Software/voxelsdk/build
- 8.1 Frame Size and Frame Rate Performance
- 8.2.1 OPT8241 CDK Power Profile
- Simple People Tracking algorithm
- Getting Started with 3D Time-of-Flight Sensing Session 5 System offset calibration
- 3D-TOF Calibration Flow
- Lens Calibration
- – Find radial and tangential distortions so pin-hole camera
- model can be used to compute point clouds from depths.
- Frequency Calibration
- – Compensate distance error arise from frequency error.
- Nonlinearity Calibration
- – Compensate for nonlinearity from imperfect sinusoids.
- Common Phase Calibration
- – Determine common phase offset at image center and
- correlate that phase to a known distance.
- Pixel-wise Calibration
- – Determine expected additional offsets for off-center pixels
- so distance to off-center pixels can be correlated.
- Temperature Calibration
- – Compensate for phase drift from temperature.
星期四, 5月 23, 2019
nmcli NMCLI
- NMcli command 範例
- Gnome nmcli-examples ( with dispatcher )
- Gnome nmcli
- Linux – NetworkManager 設定檔
- Setting up a WIFI connection via command line on Debian/Ubuntu (Network Manager)
Ethernet:
- sudo nmcli c add autoconnect yes save yes type ethernet ifname eth0 con-name jeth ip4 192.168.2.210/24 gw4 192.168.2.1
- sudo nmcli c mod jeth ipv4.addresses "192.168.2.210/24"
- sudo nmcli c mod jeth ipv4.gateway 192.168.2.1
- sudo nmcli c mod jeth ipv4.dns 168.95.1.1
- sudo nmcli c mod jeth ipv4.method manual
- sudo nmcli con up jeth
- nmcli connection show
- modify
- sudo nmcli con modify jeth ipv4.address "192.168.1.198/24"
- sudo nmcli con mod jeth ipv4.gateway 192.168.1.201
- sudo nmcli con up jeth
Wifi:
- sudo nmcli con add autoconnect yes save yes con-name jwifi ifname wlan0 type wifi ssid iSSA_ASUS_50_2.4G
- sudo nmcli con mod jwifi wifi-sec.key-mgmt wpa-psk
- sudo nmcli con mod jwifi wifi-sec.psk 54098542
- sudo nmcli con up jwifi (很多秒)
- nmcli connection show
- Modify
- sudo nmcli con mod jwifi wifi.ssid iSSA_ASUS_50_2.4G
- sudo nmcli con mod jwifi wifi-sec.psk 54098542
Extend:
- sudo nmcli c reload jack
- nmcli -p con show my-con-em1
- Example 1. Listing available Wi-Fi APs
- nmcli device wifi list ( Signal Bar)
- nmcli -f all dev wifi list ( All Signal Bar)
- Example 2. Showing general information and properties for a Wi-Fi interface
- nmcli -p -f general,wifi-properties device show wlan0
Renew eth0 connection status, if incorrect:
- nmcli dev | grep "ethernet"
Dispatcher: put in /etc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive.sh
#!/bin/bash
export LC_ALL=C
enable_disable_wifi ()
{
result=$(nmcli dev | grep "ethernet" | grep -w "connected")
if [ -n "$result" ]; then
nmcli radio wifi off
else
nmcli radio wifi on
fi
}
if [ "$2" = "up" ]; then
enable_disable_wifi
fi
if [ "$2" = "down" ]; then
enable_disable_wifi
fi
nmcli dev show eth0|grep CARRIER|tr -s ' '|cut -d ' ' -f2
星期二, 5月 21, 2019
TX2 GPIO
- NVIDIA Jetson TX2 J21 Header Pinout
※ 左下方有 4 顆按鈕設置,由左至右分別為 * Reset Button (RST) * User Defined Button (Vol) * Force Recovery Button (REC) * Power Button (Power BTN)。
Jetson.GPIO - Linux for Tegra
- sudo cat /sys/kernel/debug/gpio
- echo 314 > /sys/class/gpio/export
- echo in >direction
Reference:
星期二, 5月 14, 2019
Cuda+Cudnn + open3.4+contrib3.4 + camke + VS2017 +Win10
Cuda+ Cudnn
- https://dotblogs.com.tw/cylcode/2018/09/20/163005
- CUDA下載:https://developer.nvidia.com/cuda-toolkit-archive
- cuDNN下載:https://developer.nvidia.com/rdp/cudnn-download
- visual studio下載:https://my.visualstudio.com/Downloads/Featured
- env Path C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin
- nvcc -V
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\lib\x64
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64
opencv3.4+contrib3.4+cmake+VS2017+win10
Prepare:
- opencv3.4源码https://github.com/opencv/opencv/archive/3.4.0.zip
- opencv_contrib3.4源码https://github.com/opencv/opencv_contrib/archive/3.4.0.zip
- cmake https://cmake.org/download/
- visual studio 2017
- win10
Cmake:
- Configure check
- NVIDIA CUDA: YES (ver 10.1, CUFFT CUBLAS)
- Generate
- open project (Current Generator: Visual Studio 15 2017)
- 用這個
訂閱:
文章 (Atom)




