OpenNI 推出正式支援 Java 的 2.2.0.10 Alpha 版


應該是昨天晚上的事吧?OpenNI 官網上,在繼一月的 OpenNI 2.1 Beta 後,終於釋出 OpenNI 2.2 Alpha 版了~檔案就在官網的下載頁面:

http://www.openni.org/openni-sdk/

下載下來的檔案,版本編號是 2.2.0.10;和 GitHub 上的「develop」這個 branch 的最後有編號的版本、2.2.0.3 相比,又更新了一些;不過這也代表了,GitHub 上的版本似乎不是最新的?

而這個版本改了什麼呢?可以參考官方論壇的公告《OpenNI2.2》:

  • Added getDepthColorSyncEnabled() API
  • New Java Wrappers+Sample
  • invoke() method signature was updated – data is no longer const
  • Drivers and INI files path resolution based on the shared library location
  • Linux: implement connect/disconnect events
  • PS1080: IR stream now also supports RGB888

其中,最重要的,應該就是這個版本,開始正式提供 Java Wrapper 了吧!

不過,Heresy 個人覺得比較可惜的,是 Kinect 的 image registration 還是沒有整合進來(pull request #4)… orz


另外,官方硬體(ASUS Xtion 系列PrimeSense 自家感應器)的硬體驅動程式,應該也更新了。新的驅動程式版本是 3.2.0.1、之前則是 2011 年的 3.1.3.1;另外,ASUS Xtion Pro Live 在裝置管理員裡面看到的硬體名稱,也由本來的 「PrimeSense PS1080」,變成「PrimeSense Carmine 1.08x」了。

這點,除了和 PrimeSense 決定推出自有品牌硬體、以及下一代硬體有關外,或許和之前 5.8.14 韌體更新也是有關係的。另外 Heresy 個人覺得比較要擔心的一點,是之前 5.8.14 韌體更新的 ReleaseNote 裡面所提到的:

This Firmware v5.8.14 release is the version officially supported by PrimeSense for OpenNI 2.2.
PrimeSense does not support using OpenNI 2.2 with previous firmware releases.

也就是說,如果是使用 ASUS Xtion 系列感應器的話,有可能一定得更新韌體才能支援 OpenNI 2.2!?不過這個 Heresy 就沒有測試過了。


另外的另外,在「Redist\OpenNI2\Drivers」目錄下,可以看到多了一個「PSLink.dll」的檔案;而在「Tools」目錄下,也有多出「PSLinkConsole.exe」這個檔案。

理論上,這個新檔案應該是對應到新的裝置才對(參考),不過目前 Heresy 實在無法判斷這個檔案是對應到什麼裝置…不過以 PSLinkConsole.exe 的說明來看,感覺上似乎是可以透過網路來存取硬體的模組?不過要怎麼用,Heresy 還真不曉得…


OpenNI / Kinect 相關文章目錄

對「OpenNI 推出正式支援 Java 的 2.2.0.10 Alpha 版」的想法

  1. 官方完整 changelog:
    http://community.openni.org/openni/topics/openni2_2_change_log

    OpenNI 2.2.0:
    – Added getDepthColorSyncEnabled() API
    – Add a typedef: OniGrayscale8Pixel
    – invoke() method signature was updated – data is no longer const
    – New Java Wrappers
    – New Java sample: SimpleViewer.java
    – Add support for Capri devkits
    – Drivers and INI files path resolution based on the shared library location (merge pull request #7. See https://github.com/OpenNI/OpenNI2/pull/7 for details. Thanks to Tomoto)
    – Completely re-wrote frame buffers management.
    – Added API for replacing frame buffer allocator.
    – Linux: implement connect/disconnect events
    – PS1080: IR stream now also supports RGB888
    – PS1080: improved hardware name detection
    – PS1080: Add NESA unlimited to BIST
    – PrimeSense: move common properties (PS1080 and Capri) to PrimeSense.h
    – PS1080: add new property for turning on hardware frame sync, with no OpenNI checks
    – New pixel format: YUYV. PS1080 now supports it (on newer firmwares), and so does NiViewer.
    – PS1080: add lots of debug commands
    – PS1080: add new file type (vendor data)
    – PS1080: added support for the second alternative interface (low-bandwidth)
    – Bug Fixes:
    – Bug Fix: reading frames / waiting on streams did not work well from multiple threads
    – Bug Fix: Failed to use after OpenCL was initialized
    – Bug Fix: Visual Sutdio 2008 wasn’t supported
    – PS1080 Linux did not support the RD1.09 device
    – PS1080 Bug Fix: Physical device name property could not be read
    – Make sure device is still open when closing a stream that uses it.
    – PS1080 Bug Fix: handle file system lock when uploading only in supporting firmwares
    – PS1080 Bug Fix: LED API wasn’t working
    – PS1080 Bug Fix: debug dumps were not closed properly
    – Kinect Bug Fix: wrong error code returned when trying to change video mode while streaming
    – Build:
    – Rename Redist dir to Packaging
    – Remove all warnings during build. Treat all warnings as errors.
    – Rewrote the android make files to proper standards
    – Fix Linux identification (apparently -std=c1x defines only __linux and not linux)
    – Support WIX 3.6 and up
    – ReleaseVersion script won’t fail if output file exists (overwrite it)

發表留言

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料