diff --git a/wrappers/python/exampes/ExtractRawData/ExtractRawData.py b/wrappers/python/exampes/ExtractRawData/ExtractRawData.py old mode 100644 new mode 100755 index c2f934a..be1672e --- a/wrappers/python/exampes/ExtractRawData/ExtractRawData.py +++ b/wrappers/python/exampes/ExtractRawData/ExtractRawData.py @@ -116,7 +116,11 @@ def processRawFrame(self, depthCamera, frame, type): print("is a raw frame and frame size is %d." %rawFrame.data.size()) rawData=np.array(rawFrame.data,dtype='uint8') - print("rawData",len(rawData)) + print("rawData",len(rawData)," id " ,rawFrame.id," timestamp",rawFrame.timestamp) + tSensorIndex = 1843596-396 + 117 + temperature_of_sensor = rawData[tSensorIndex]-40 + + print("temperature_of_sensor",temperature_of_sensor) index = 0 # for j in range(0,self.pixelCount,2): # # print("i",i)