Обсуждение

В архиве: 3 комментария.

Читать и комментировать в ЖЖ ↗

Имя не сохранено · 25 декабря 2010

Комментарий

А откуда дровишки про 320x240 ?
 1506958	[INFO]	XnDeviceBase.cpp	1463	'Image1' stream was created.
 1507871	[VERBOSE]	XnSensorClient.cpp	501	Batch configuring server...
 1508945	[INFO]	XnProperty.cpp	151	Property Image1.RequiredDataSize was changed to 460800.
 1511066	[INFO]	XnProperty.cpp	151	Property Image1.XRes was changed to 640.
 1511613	[INFO]	XnProperty.cpp	151	Property Image1.RequiredDataSize was changed to 921600.
 1512944	[INFO]	XnProperty.cpp	151	Property Image1.YRes was changed to 480.
 1513541	[INFO]	XnProperty.cpp	151	Property Image1.Resolution was changed to 1.
 1514186	[VERBOSE]	XnSensorClient.cpp	440	Setting Image1.Mirror to 1...
 1515072	[INFO]	XnProperty.cpp	151	Property Image1.Mirror was changed to 1.
 1515662	[VERBOSE]	XnXmlConfig.cpp	710	Requested to create a node of type Depth...
 1518993	[INFO]	XnOpenNI.cpp	1256	Creating node 'Depth1' of type Depth...
 1519529	[VERBOSE]	XnSensorClient.cpp	275	Creating stream Depth1 (of type Depth)
 1559251	[INFO]	XnDeviceBase.cpp	1383	Creating stream 'Depth1' of type 'Depth'...
 1559826	[VERBOSE]	XnDeviceBase.cpp	1419	Initializing stream 'Depth1'...
 1560320	[INFO]	XnProperty.cpp	151	Property Depth1.RequiredDataSize was changed to 153600.
 1560979	[INFO]	XnProperty.cpp	151	Property Depth1.OutputFormat was changed to 1.
 1561585	[INFO]	XnDeviceBase.cpp	1458	Stream 'Depth1' was initialized.
 1562139	[INFO]	XnDeviceBase.cpp	1463	'Depth1' stream was created.
 1563284	[VERBOSE]	XnSensorClient.cpp	501	Batch configuring server...
 1564394	[INFO]	XnProperty.cpp	151	Property Depth1.RequiredDataSize was changed to 307200.
 1565198	[INFO]	XnProperty.cpp	151	Property Depth1.XRes was changed to 640.
 1565800	[INFO]	XnProperty.cpp	151	Property Depth1.RequiredDataSize was changed to 614400.
 1567132	[INFO]	XnProperty.cpp	151	Property Depth1.YRes was changed to 480.
 1567741	[INFO]	XnProperty.cpp	151	Property Depth1.Resolution was changed to 1.
 1568872	[VERBOSE]	XnSensorClient.cpp	440	Setting Depth1.Mirror to 1...
В спецификации от PrimeSense на референсную железку четко говорится про 640х480 depth и 1600x1200 image, так что, и в кинекте может быть больше, чем 640x480. Я сам пока не пробовал. Забавно то, что распознающие библиотеки в микрософте делали сами. В итоге, у них работает немного медленнее, но трекинг делается даже при неполном попадании в кадр. С софтом от OpenNI, в своих стесненных условиях, я так и не добился skeleton tracking. Пример с распознаванием пальцев был здесь: http://kinecthacks.net/minority-report-software-for-kinect/