[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-01 UTC."],[],[],null,["# mp.packet_getter.get_matrix\n\n\u003cbr /\u003e\n\nget_matrix(arg0: mediapipe.python._framework_bindings.packet.Packet) -\\\u003e numpy.ndarray\\[numpy.float32\\[m, n\\], flags.f_contiguous\\]\n\n#### View aliases\n\n\n**Main aliases**\n\n[`mp.tasks.vision.holistic_landmarker.packet_getter.get_matrix`](https://ai.google.dev/edge/api/mediapipe/python/edge/api/mediapipe/python/mp/packet_getter/get_matrix)\n\n\u003cbr /\u003e\n\n mp.packet_getter.get_matrix()\n\nGet the content of a MediaPipe Matrix Packet as a numpy 2d float ndarray.\n\nArgs:\npacket: A MediaPipe Matrix Packet.\n\nReturns:\nA numpy 2d float ndarray.\n\nRaises:\nValueError: If the Packet doesn't contain matrix data.\n\nExamples:\npacket = mp.packet_creator.create_matrix(2d_array)\ndata = mp.packet_getter.get_matrix(packet)"]]