MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / get_iphone_num_frames

Method get_iphone_num_frames

detrsmpl/data/data_structures/smc_reader.py:440–447  ·  view source on GitHub ↗

Get the number of frames recorded by one iPhone RGB camera. Returns: int: Number of frames.

(self)

Source from the content-addressed store, hash-verified

438 return self.kinect_num_frames
439
440 def get_iphone_num_frames(self):
441 """Get the number of frames recorded by one iPhone RGB camera.
442
443 Returns:
444 int:
445 Number of frames.
446 """
447 return self.iphone_num_frames
448
449 def get_depth_mask(self, device_id, frame_id):
450 return self.smc['Kinect'][str(device_id)]['Mask'][str(frame_id)][()]

Callers 2

get_iphone_colorMethod · 0.95
get_iphone_depthMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected