60吋大尺寸面板的電視機零售價已經破盤低於1000美元(約新台幣3萬元)。
個人一直認為大尺寸面板的生意還真是不好賺。那麼一台可以讓全家人一起看、一起享受的電視機,價格卻跟一部高階智慧型手機差不多。說實在的還真是不值錢 XD
不過,從網路上搜尋到的一些資料試算,60吋以上的電視適合觀賞距離可能要2.6公尺以上。
以解析度1920 x 1080的面板為例:電視高度 h 公分 / 1080 * 3400 (常數。不曉得哪來的?)
看起來,家裡還要有相當空間才比較適合安裝60吋以上電視。
#
2012年11月5日 星期一
2012年10月16日 星期二
IT人員不可不知道明日 Mobile IT管理
智慧手機、平板等智慧終端滿街都是。目前企業內部IT管理仍著重在伺服器、個人電腦等日常作業IT設備管理,但可以預見 Mobile Devices 納入 IT 管理作業範疇也是不久的將來。
都是值得再深入研究的課題。
#
- MDM - Mobile Device Management
- EMM - Enterprise Mobility Management
- MAM - Mobile Application Management
- BYOD - Bring Your Own Device
都是值得再深入研究的課題。
#
2012年9月4日 星期二
ubuntu 安裝 tesseract OCR 中文辨識
- 確認 precise universe 的套件部份加入 /etc/apt/sources.list 中
- 安裝 tesseract-ocr 套件
- 安裝 imagemagick 套件 (執行 convert指令將用上)
- 下載 tesseract 的繁/簡中OCR資料檔案,並解壓縮在 tessdata 目錄下
/etc/apt/sources.list 中加入下列兩行:
deb http://tw.archive.ubuntu.com/ubuntu precise universe
deb-src http://tw.archive.ubuntu.com/ubuntu precise universe
- 或是透過 add-apt-repository
- > sudo add-apt-repository "deb http://tw.archive.ubuntu.com/ubuntu precise universe"
- 利用 convert 將 PDF 或 PNG 等檔案,轉換成 depth:8 , type:Grayscale 半色調的 TIFF檔
- 執行 tesseract 進行 OCR 辨識。進行繁中OCR辨識,結果輸出至out.txt
> sudo apt-get update
> sudo apt-get install tesseract-ocr
> sudo apt-get install imagemagick
> cd /usr/share/tesseract-ocr/tessdata
> sudo wget http://tesseract-ocr.googlecode.com/files/chi_tra.traineddata.gz
> sudo wget http://tesseract-ocr.googlecode.com/files/chi_sim.traineddata.gz
> sudo gzip -f -d *.gz
- > cd /tmp
- ** PNG => TIFF ==(OCR)==> TEXT
- > convert source.png -type Grayscale -depth 8 out.tif
- > tesseract out.tif out.txt -l chi_tra
- 或是
- ** PDF => TIFF ==(OCR)==> TEXT
- > convert -density 300 source.pdf -type Grayscale -depth 8 out.tif
- > tesseract out.tif out.txt -l chi_tra
- 或是
- ** PDF => PPMs => TIFFs ==(OCR)==> TEXTs => TEXT
- > pdftoppm source.pdf -f 1 -l 10 -r 600 out
- > for i in *.ppm; do convert $i -type Grayscale -depth 8 ${i%.*}.tif; done
- > for i in *.tif; do tesseract $i ${i%.*}.txt -l chi_tra; done
- > cat *.txt > out.txt
補充:
- convert 將 PDF 轉為 TIFF 時會耗費較多時間
- tesseract 之參數 -l chi_tra (繁中辨識) , -l chi_sim (簡中辨識), -l eng (英文辨識;預設)
- 結合 Hadoop Map Reduce 有很多影像應用服務可以玩了~
###
2012年9月2日 星期日
清除 ubuntu 舊版核心(kernel)
大致說明步驟如下:
- 確認目前系統正在使用的核心(kernel image)版本,萬一砍掉就不好玩了。
- 查詢目前已安裝的核心套件有哪些版本。
- 用apt-get purge移除掉舊版的核心及相關軟體套件。
實際操作:
> uname -a
Linux host 2.6.32-41-generic #94-Ubuntu SMP Fri Jul 6 16:51:39 UTC 2012 i686 i686 i386 GNU/Linux
> dpkg -l | grep linux-image
rc linux-image-2.6.28-11-generic 2.6.28-11.42 Linux kernel image for version 2.6.28 on x86/x86_64
rc linux-image-2.6.28-15-generic 2.6.28-15.52 Linux kernel image for version 2.6.28 on x86/x86_64
rc linux-image-2.6.28-16-generic 2.6.28-16.55 Linux kernel image for version 2.6.28 on x86/x86_64
rc linux-image-2.6.31-14-generic 2.6.31-14.48 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-15-generic 2.6.31-15.50 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-16-generic 2.6.31-16.53 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-17-generic 2.6.31-17.54 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-19-generic 2.6.31-19.56 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-20-generic 2.6.31-20.58 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-21-generic 2.6.31-21.59 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-22-generic 2.6.31-22.60 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.32-29-generic 2.6.32-29.58 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-30-generic 2.6.32-30.59 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-31-generic 2.6.32-31.61 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-32-generic 2.6.32-32.62 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-33-generic 2.6.32-33.72 Linux kernel image for version 2.6.32 on x86/x86_64
ii linux-image-2.6.32-34-generic 2.6.32-34.77 Linux kernel image for version 2.6.32 on x86/x86_64
ii linux-image-2.6.32-40-generic 2.6.32-40.87 Linux kernel image for version 2.6.32 on x86/x86_64
ii linux-image-2.6.32-41-generic 2.6.32-41.94 Linux kernel image for version 2.6.32 on x86/x86_64
ii linux-image-3.2.0-29-generic 3.2.0-29.46 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-generic 3.2.0.29.31 Generic Linux kernel image
> apt-get -y purge linux-image-2.6.28-* linux-image-2.6.31-*
> apt-get -y autoremove
###
2012年8月21日 星期二
Windows 7 - tasklist 與 taskkill
熟悉 Unix/Linux ps 與 kill 指令的朋友,如果不喜歡在Windows 7下透過Ctrl-Alt-Del > 開啟工作管理員 來管理執行程序 (process)的話。也可以利用command mode (cmd.exe) 下的 tasklist.exe 與 taskkill.exe 指令來完成。
舉例:
C:\>tasklist
映像名稱 PID 工作階段名稱 工作階段 # RAM使用量
========================= ======== ================ =========== ============
System Idle Process 0 Services 0 24 K
System 4 Services 0 324 K
smss.exe 300 Services 0 648 K
csrss.exe 408 Services 0 4,436 K
csrss.exe 464 Console 1 97,640 K
wininit.exe 496 Services 0 3,584 K
winlogon.exe 532 Console 1 5,908 K
C:\>taskkill /f /im httpd.exe
成功: 處理程序 "httpd.exe" (PID 468) 已經終止了。
成功: 處理程序 "httpd.exe" (PID 2792) 已經終止了。
#
舉例:
C:\>tasklist
映像名稱 PID 工作階段名稱 工作階段 # RAM使用量
========================= ======== ================ =========== ============
System Idle Process 0 Services 0 24 K
System 4 Services 0 324 K
smss.exe 300 Services 0 648 K
csrss.exe 408 Services 0 4,436 K
csrss.exe 464 Console 1 97,640 K
wininit.exe 496 Services 0 3,584 K
winlogon.exe 532 Console 1 5,908 K
C:\>taskkill /f /im httpd.exe
成功: 處理程序 "httpd.exe" (PID 468) 已經終止了。
成功: 處理程序 "httpd.exe" (PID 2792) 已經終止了。
#
開啟Apple TV 3 影片封印 (DNS設定)
=>>> 更新:注意!! 請先執行「重新開啟Apple TV 3 影片封印 (DNS設定)」步驟 !!
Apple TV 3
- 設定>一般>網路>設定 Wi-Fi >手動設定 TCP/IP 將 DNS改為 210.129.145.150或180.153.225.136
- 區域選擇「美國 United States」
- 進入「預告片」會發現多了 “奇藝”、 ”搜狐”、“PPTV”等線上影片源可以免費看
後記:
最近似乎又多了好幾個節目源。但也發現中國地區提供的節目源,其實有些節目也是需要付費觀賞的。這招利用Apple TV平台賣自己服務的手法姑且不論合法性,還真是夠聰明!
#
2012年8月1日 星期三
訂閱:
文章 (Atom)