2007年7月26日 星期四

mark end of tiff file

take time to write a simple program that will chech whether RowsPerStrip or StripByteCounts is 0.
If value of any of these two tags is 0, then mark end-of-tiff before this page, and adjust the number of total pages also.

This program can handle Big-Endian tiff file also. Just for fun.
But I think Dialogic cards will generate Little-Endia tiff file only. (At least for my test).

2007年7月25日 星期三

VFX test

Recently, the customer requests for a new fax receiving system that will keep the well-received pages, convert into tiff file, and then send to customer as attachment of an e-mail.

Because of the odd T1 signalling, DM/F cards cannot be used for this project.
Jim borrows two type of VFX card from hardware provider.

The result is:
VFX/40ESC-PLUS - only acts as fax channel, not fax resource
VFX/40JCT-LS - acts as fax channel and resource.

2007年7月24日 星期二

現有車機程式與悠遊卡的結合

The python program for tscc card reader is ported to terminal environment in C.
Now there is a script command, say 'tscc', could be used to interact with the card reader.
btw, complete a few script subroutines for script coder's reference.

Now, I can close this task, and do the SIP program again.

Free voice recognition software that works

看到一篇文章, 把他節錄下來, 免得忘記

http://mindmakers.org/openair/airPage.jsp
http://www.nuance.com/naturallyspeaking/
http://cmusphinx.sourceforge.net/html/compare.php
http://sourceforge.net/projects/cmusphinx

http://smart-machines.blogspot.com/2007/06/free-voice-recognition-software-that.html

If you are considering adding voice recognition to your AI or robotics project then you are probably looking for a free implementation that works well. Your other option would be to purchase a copy of what is currently considered the state-of-the-art in speech recognition, Nuance's Dragon Naturally Speaking suite. However, before spending any money, you can also try your lack with the open source Sphinx software.

Sphinx is speech recognition software that was developed at Carnegie Mellon University under DARPA funding. A few years ago, CMU released their software for free under a BSD license. The most recent version is currently available in sourceforge here.

Sphinx is a very well designed voice recognition suite that comes in many flavors. There is a non-real-time version for batch processing of voice data and a real-time version for live systems such as telephone spoken dialog and robots. As expected, the real-time version is not as accurate but this is the price you pay for the faster performance. There is also PocketSphinx which is a version of the software designed for hand held computers. All versions work using Hidden Markov Models similar to any modern speech recognition system.

I recently used the JAVA version of Sphinx with a limited vocabulary for a command and control type interface for a robotics system . In the past, I have also used IBM's ViaVoice software. Comparing the two, I have to admit that Sphinx performs equally well and it doesn't cost a penny so I switched completely to using it over ViaVoice.

If you are looking for free voice recognition software that works then Sphinx is your best choice.

go UT for sip testing

繼續前一天的測試, 寫了一個小程式, 以便可以回覆 OPTION.
結果一樣, 撥 777 或 776 都進不了 VMS.

由於對方在忙, 只好等下星期再說了.

2007年7月18日 星期三

車機, 刷卡, 派遣

跟吳總到 TSCC 去開會, 讓對方了解可以解決 派遣量 及防弊的問題.

感覺對方蠻有興趣的, 不過可能會跟 現有的設備供應商 有點衝突. 還得再想想 有什麼都贏的方案.

2007年7月17日 星期二

openvpn - client side test

試了一下 client side 的 openvpn, 安裝完畢之後, 只要將 對應的 參數檔 放在 program file\openvpn\config 目錄下, 而後 啟動 openvpn 的 服務即可.

由於 openvpn 在 windows 下, 是透過 TAP 的方式來完成. 因此無法讓 其他 用tap 連線的部分來分享.

例如, 我打算將 openvpn 的 tap device 分享出來, 但就會出錯. (也可能是 這個版本的 XP 的網路分享問題 - 待確定)

UPDATE: 在 XP SP2 的環境下, TAP 是可以分享出來的. 也就是 openvpn 的 tap, 可以讓 coLinux 的 tap 使用.