Commit Graph
100 Commits
Author SHA1 Message Date
MediaPipe TeamandCopybara-Service a60d67eb10 Update ImageSegmenter API for image/video mode to have both callback API and returned result API.
PiperOrigin-RevId: 512697585
2023-02-27 12:21:30 -08:00
MediaPipe TeamandCopybara-Service 5913e5dd1d Internal change
PiperOrigin-RevId: 512686714
2023-02-27 11:41:44 -08:00
MediaPipe TeamandCopybara-Service 75576700ed Add Bitmap image capture capability to GlSurfaceViewRenderer.
PiperOrigin-RevId: 512677893
2023-02-27 11:14:20 -08:00
MediaPipe TeamandCopybara-Service 39b2fec60f Internal change
PiperOrigin-RevId: 512643827
2023-02-27 11:12:20 -08:00
MediaPipe TeamandCopybara-Service 1575e7f79c Internal change
PiperOrigin-RevId: 512457466
2023-02-27 11:11:24 -08:00
MediaPipe TeamandCopybara-Service 17466fb7f1 Internal change
PiperOrigin-RevId: 512111461
2023-02-27 11:10:19 -08:00
MediaPipe Teamandjqtang 9054ff7283 Internal change
PiperOrigin-RevId: 511928038
2023-02-27 11:02:58 -08:00
MediaPipe TeamandCopybara-Service 01c64082f1 ImageToTensorCalculator decides the output tensor size in runtime from the input image size.
PiperOrigin-RevId: 511882195
2023-02-23 14:18:31 -08:00
MediaPipe TeamandCopybara-Service 0981367e84 DetectionTransformationCalculator handles empty input.
PiperOrigin-RevId: 511881969
2023-02-23 14:14:20 -08:00
MediaPipe TeamandCopybara-Service 75d799d2b9 Add Copyright head
PiperOrigin-RevId: 511694458
2023-02-22 22:47:02 -08:00
MediaPipe TeamandCopybara-Service ff10f3c814 Move NormalizedKeypoint to a separate header
PiperOrigin-RevId: 511642586
2023-02-22 17:42:06 -08:00
MediaPipe TeamandCopybara-Service 2c3c1e664a add TensorsToFaceLandmarksGraph to support two types of face mesh models.
PiperOrigin-RevId: 511626032
2023-02-22 16:22:13 -08:00
MediaPipe TeamandCopybara-Service 40b0dc960a Internal Changes
PiperOrigin-RevId: 511604893
2023-02-22 14:55:03 -08:00
MediaPipe TeamandCopybara-Service 000aeeb036 Update face detector graph for downstream face landmarks graph.
PiperOrigin-RevId: 511566984
2023-02-22 12:31:57 -08:00
MediaPipe TeamandCopybara-Service fbbc13d756 update detection result to include optional keypoints.
PiperOrigin-RevId: 511538880
2023-02-22 10:50:58 -08:00
MediaPipe TeamandCopybara-Service c026f935bc Add @ to all references to files in WORKSPACE.bazel.
PiperOrigin-RevId: 511504265
2023-02-22 08:36:36 -08:00
MediaPipe TeamandCopybara-Service e2ac704428 internal change
PiperOrigin-RevId: 511338483
2023-02-21 16:40:37 -08:00
MediaPipe TeamandCopybara-Service 9a6d5e0444 Update MediaPipe TFLite code to use generic "shim" symbols and headers
PiperOrigin-RevId: 511265313
2023-02-21 11:58:32 -08:00
MediaPipe TeamandCopybara-Service d0aa98bd5f Internal change
PiperOrigin-RevId: 510570555
2023-02-17 18:50:05 -08:00
MediaPipe TeamandCopybara-Service 68ba9a6ebf [ImageTransformationCalculator]Add option to specify padding color
PiperOrigin-RevId: 510541473
2023-02-17 15:57:19 -08:00
MediaPipe TeamandCopybara-Service 37a825c98d graph utils functions.
PiperOrigin-RevId: 510513793
2023-02-17 13:54:46 -08:00
MediaPipe TeamandCopybara-Service 1a60a0e2d6 Use box_output_format to decide keypoint order
PiperOrigin-RevId: 510464960
2023-02-17 10:30:57 -08:00
MediaPipe TeamandCopybara-Service 223c504d81 Add note to installation doc for Debian distros
PiperOrigin-RevId: 510317890
2023-02-16 20:27:59 -08:00
MediaPipe TeamandCopybara-Service 4ed9f507ad Internal change
PiperOrigin-RevId: 510281435
2023-02-16 17:01:56 -08:00
MediaPipe TeamandCopybara-Service 1b66fc2802 Fix Typo.
PiperOrigin-RevId: 510156746
2023-02-16 08:55:56 -08:00
MediaPipe TeamandCopybara-Service 152f66dfd3 This will fix the command to clone mediapipe in the Debian and Ubuntu, CentOS, Windows, Windows Subsystem for Linux (WSL), Docker. Doc command mentioned
is throwing error when directly copied and pasted in the terminal.

PiperOrigin-RevId: 510061887
2023-02-16 00:23:49 -08:00
MediaPipe TeamandCopybara-Service ba10ae8410 Add mediapipe tasks face blendshapes graph
PiperOrigin-RevId: 509995915
2023-02-15 19:26:56 -08:00
MediaPipe TeamandCopybara-Service bdd1c24990 Refactor common methods into vision/core/image_utils.py and vision/core/test_utils.py
PiperOrigin-RevId: 509968910
2023-02-15 16:54:38 -08:00
MediaPipe TeamandCopybara-Service 3d4ed305bc Make Tensor::Move() forward quantization parameters.
PiperOrigin-RevId: 509951145
2023-02-15 15:40:22 -08:00
MediaPipe TeamandCopybara-Service 796a96d842 Add support for [xmin, ymin, xmax, ymax] style of bbox output
PiperOrigin-RevId: 509942540
2023-02-15 15:06:52 -08:00
MediaPipe TeamandCopybara-Service 40c3e72c9c Added note to [page](https://google.github.io/mediapipe/getting_started/ios.html#create-an-xcode-project) that the xcode version in script should be same as installed version
PiperOrigin-RevId: 509801311
2023-02-15 05:09:31 -08:00
MediaPipe TeamandCopybara-Service 63a57e2da3 Graph builder Dos and Donts / Nodes minimal direct usage
PiperOrigin-RevId: 509632450
2023-02-14 14:16:18 -08:00
MediaPipe TeamandCopybara-Service 9b1fe849d5 Fix incorrect comments in docs code sections
PiperOrigin-RevId: 509632192
2023-02-14 14:11:48 -08:00
MediaPipe TeamandCopybara-Service d9ac3876de Dos and Donts / Graph outputs + small adjustments for previous section (e.g removing "simply" word)
PiperOrigin-RevId: 509632077
2023-02-14 14:06:48 -08:00
MediaPipe TeamandCopybara-Service 5f2261ff59 face landmarks detector graph
PiperOrigin-RevId: 509630430
2023-02-14 14:00:37 -08:00
MediaPipe TeamandCopybara-Service c66b7e83f0 ssd anchors calculator add fixed anchors.
PiperOrigin-RevId: 509574814
2023-02-14 10:43:23 -08:00
MediaPipe TeamandCopybara-Service ef9e5f881b Add Dos and Donts Section / Graph inputs
PiperOrigin-RevId: 509347658
2023-02-13 15:26:23 -08:00
MediaPipe TeamandCopybara-Service caa7d85141 Improves page-contents navigation: adds Uility Functions/Classes to page-contents)
PiperOrigin-RevId: 509347516
2023-02-13 15:22:13 -08:00
MediaPipe TeamandCopybara-Service 513ab7abba Internal change
PiperOrigin-RevId: 509338497
2023-02-13 14:47:34 -08:00
MediaPipe TeamandCopybara-Service 626f92caea Move BuildInputImageTensorSpecs to utils
PiperOrigin-RevId: 508829724
2023-02-10 21:57:13 -08:00
MediaPipe TeamandCopybara-Service 2c82f67097 Add location info in registry (debug mode only)
PiperOrigin-RevId: 508786558
2023-02-10 16:58:44 -08:00
MediaPipe TeamandCopybara-Service 23012f2151 Add Advanced Usage/Utility Classes section in Building Graph in C++
PiperOrigin-RevId: 508776246
2023-02-10 16:06:09 -08:00
MediaPipe TeamandCopybara-Service 482ee8f96c Add Capabilities/Utility Functions section in Building Graph in C++
PiperOrigin-RevId: 508773788
2023-02-10 15:54:23 -08:00
MediaPipe TeamandCopybara-Service 39a943e91e Request ModelResourcesGraphService for all Task API web graphs.
PiperOrigin-RevId: 508681004
2023-02-10 09:36:03 -08:00
MediaPipe TeamandCopybara-Service 915d2c7417 Internal text task change.
PiperOrigin-RevId: 508568811
2023-02-09 22:31:14 -08:00
MediaPipe TeamandCopybara-Service d61b7dbef8 Updated the Begin/EndLoopCalculator to be able to handle mediapipe::Tensor
type.

PiperOrigin-RevId: 508552066
2023-02-09 20:33:40 -08:00
MediaPipe TeamandCopybara-Service 8a49a5f822 This will fix the command to clone mediapipe in the macOS. Doc command mentioned
is throwing error when directly copied and pasted in the terminal.

PiperOrigin-RevId: 508550373
2023-02-09 20:23:58 -08:00
MediaPipe TeamandCopybara-Service 1eb54bdaa6 Internal change
PiperOrigin-RevId: 508533812
2023-02-09 18:49:01 -08:00
MediaPipe TeamandCopybara-Service 1f848c4d69 Fix typo in CalculatorGraph error message
PiperOrigin-RevId: 508517972
2023-02-09 17:29:33 -08:00
MediaPipe TeamandCopybara-Service be0681c61d Adds "Building Graphs in C++" initial page and updates "Graph" page to link to that section showcasing alternative C++ graph representation.
PiperOrigin-RevId: 508517348
2023-02-09 17:22:44 -08:00
MediaPipe TeamandCopybara-Service 2163920ee8 Minor updates to MediaPipe graph documentation: use Graph/CalculatorGraphConfig instead of GraphConfig and mention that node can be a subgraph.
PiperOrigin-RevId: 508517281
2023-02-09 17:21:30 -08:00
MediaPipe TeamandCopybara-Service fd764dae0a Depends on TFLite shim header.
PiperOrigin-RevId: 508491302
2023-02-09 15:29:47 -08:00
MediaPipe TeamandCopybara-Service 99fc975f49 Add download model on demand to text classifier
PiperOrigin-RevId: 508441452
2023-02-09 12:15:17 -08:00
MediaPipe TeamandCopybara-Service 28f728bed5 Change gesture_recognizer to download model files on-demand from GCS.
PiperOrigin-RevId: 508424508
2023-02-09 11:13:06 -08:00
MediaPipe TeamandCopybara-Service c3907229fe Use case: add metadata to headerless graph input audio streams.
PiperOrigin-RevId: 508389799
2023-02-09 09:07:02 -08:00
MediaPipe TeamandCopybara-Service 598d44a27d Internal change
PiperOrigin-RevId: 508284935
2023-02-08 23:31:41 -08:00
MediaPipe TeamandCopybara-Service 6ea2d579e1 Internal change
PiperOrigin-RevId: 508173086
2023-02-08 13:51:14 -08:00
MediaPipe TeamandCopybara-Service 9b040630a3 Updating the Javascript API's FaceDetectionOptions since modelSelection is not a valid option for setOptions().
PiperOrigin-RevId: 507664805
2023-02-06 20:52:12 -08:00
MediaPipe TeamandCopybara-Service 5a77339780 Internal change
PiperOrigin-RevId: 507495569
2023-02-06 09:05:12 -08:00
MediaPipe TeamandCopybara-Service 4d8af4315f Rollback: Add PacketSharingOwnership, a safer replacement for PointToForeign.
PiperOrigin-RevId: 507288476
2023-02-05 08:59:09 -08:00
MediaPipe TeamandCopybara-Service 01834a5cdf Internal change
PiperOrigin-RevId: 506982474
2023-02-03 13:39:02 -08:00
MediaPipe TeamandCopybara-Service 632a3602dd Internal text tasks change.
PiperOrigin-RevId: 506957718
2023-02-03 11:52:09 -08:00
MediaPipe TeamandCopybara-Service 386445c8dd Add ViewProvider<FrameBuffer> to YuvImage storage backend.
PiperOrigin-RevId: 506881556
2023-02-03 05:58:29 -08:00
MediaPipe TeamandCopybara-Service e485961c2d fixes spelling mistake
PiperOrigin-RevId: 506697863
2023-02-02 12:49:30 -08:00
MediaPipe TeamandCopybara-Service 3ee377f671 Internal change
PiperOrigin-RevId: 506312863
2023-02-01 07:42:20 -08:00
MediaPipe TeamandCopybara-Service d283e6a05a Support downloading model files on-demand from GCS in model_maker
PiperOrigin-RevId: 506174708
2023-01-31 18:43:35 -08:00
MediaPipe TeamandCopybara-Service b53acf6267 Internal change
PiperOrigin-RevId: 506059384
2023-01-31 11:20:13 -08:00
MediaPipe TeamandCopybara-Service 5730dec260 Internal change
PiperOrigin-RevId: 506053206
2023-01-31 11:03:41 -08:00
MediaPipe TeamandCopybara-Service 591eb204a6 Internal change
PiperOrigin-RevId: 506027661
2023-01-31 09:36:56 -08:00
MediaPipe TeamandCopybara-Service f9f6acffed Make NORM_RECT optional for GestureRecognizerGraph and add PALM_DETECTION output PORT
PiperOrigin-RevId: 505712542
2023-01-30 09:17:38 -08:00
MediaPipe TeamandCopybara-Service ee2f940e1f Make TensorToVectorFloatCalculator compatible with unaligned tensors.
No performance impact is expected, since the unaligned Eigen::TensorMap is used only to populate a std::vector<float>.

PiperOrigin-RevId: 505251810
2023-01-27 18:08:03 -08:00
MediaPipe TeamandCopybara-Service a6f6be9512 Fix incorrect uint8 -> int8 conversion in JS cosine similarity.
PiperOrigin-RevId: 505135368
2023-01-27 09:21:58 -08:00
MediaPipe TeamandCopybara-Service 1df4511e9d Add YuvImage as a GpuBuffer storage backend.
PiperOrigin-RevId: 505128789
2023-01-27 08:51:31 -08:00
MediaPipe TeamandCopybara-Service e059d55d29 Correctly check refCount in finalize.
PiperOrigin-RevId: 505057866
2023-01-27 01:52:48 -08:00
MediaPipe TeamandCopybara-Service 29001234d5 Replace SourceOrNodeOutput with Source.
PiperOrigin-RevId: 504883990
2023-01-26 10:46:12 -08:00
MediaPipe TeamandCopybara-Service 2547f07c77 Add FrameBuffer format.
PiperOrigin-RevId: 504838580
2023-01-26 07:40:52 -08:00
MediaPipe TeamandCopybara-Service be546d22fc Update test to reflect the recommended graph construction style:
First, graph inputs and their names:
  - Makes it clear what inputs graph has
  - Indirectly demands for type specification e.g. Stream<AnyType> a = graph.In(0); vs Stream<int> a = graph.In(0).Cast<int>();
Then graph nodes
  - Nodes are added and used as they needed
  - One node is not mixed in other nodes, only its outputs
  - Indirectly demands for type specification e.g. Stream<AnyType> a = node.Out(0); vs Stream<int> a = node.Out(0).Cast<int>();
Then graph outputs
  - Makes it clear what outputs graph has

The recommended structure keep C++ graph similar to pbtxt representation.

PiperOrigin-RevId: 504701023
2023-01-25 17:13:17 -08:00
MediaPipe TeamandCopybara-Service ff0ccfc209 Internal change
PiperOrigin-RevId: 504677663
2023-01-25 15:31:21 -08:00
MediaPipe TeamandCopybara-Service afb0182935 Internal model maker change.
PiperOrigin-RevId: 504472342
2023-01-24 23:16:21 -08:00
MediaPipe TeamandCopybara-Service 4e135ccdb9 Internal Model Maker change.
PiperOrigin-RevId: 504315641
2023-01-24 10:38:25 -08:00
MediaPipe TeamandCopybara-Service 2465e47b01 Stream/SidePacket == and != operators
PiperOrigin-RevId: 504114182
2023-01-23 16:43:23 -08:00
MediaPipe TeamandCopybara-Service 873d7181bf Add mediapipe tasks face detector graph
PiperOrigin-RevId: 504078951
2023-01-23 14:15:21 -08:00
MediaPipe TeamandCopybara-Service 69d354fc89 Use c++ struct as hand landmark detection results.
PiperOrigin-RevId: 504048095
2023-01-23 12:12:09 -08:00
MediaPipe TeamandCopybara-Service 921b6a6bef This CL will fix the typo from _PALM_LANMARKS to _PALM_LANDMARKS.
PiperOrigin-RevId: 503352055
2023-01-19 22:14:16 -08:00
MediaPipe TeamandCopybara-Service dcd2adad53 Removing broken links. They might not be relevant since we only support TfLite models.
PiperOrigin-RevId: 503183358
2023-01-19 09:19:48 -08:00
MediaPipe TeamandCopybara-Service e2dedcbfe5 Add SQRT_HANN window type to both SpectrogramCalculator and InverseSpectrogramCalculator.
PiperOrigin-RevId: 503041493
2023-01-18 19:42:13 -08:00
MediaPipe TeamandCopybara-Service e56fa8f258 Source/SideSource -> Stream/SidePacket
PiperOrigin-RevId: 502923931
2023-01-18 11:02:41 -08:00
MediaPipe TeamandCopybara-Service 3688757d17 Fix load_metadata_buffer for empty metadata
PiperOrigin-RevId: 502870428
2023-01-18 07:28:42 -08:00
MediaPipe TeamandCopybara-Service ffd8486d0d Add a stub WriteProfile method to GraphProfilerStub.
PiperOrigin-RevId: 502388455
2023-01-16 08:38:05 -08:00
MediaPipe TeamandCopybara-Service 92a2e02ace Internal change
PiperOrigin-RevId: 501971410
2023-01-13 17:05:19 -08:00
MediaPipe TeamandCopybara-Service 69757d7924 Internal change
PiperOrigin-RevId: 501862194
2023-01-13 09:05:48 -08:00
MediaPipe TeamandCopybara-Service 1683d572ed Internal change
PiperOrigin-RevId: 501600938
2023-01-12 10:22:00 -08:00
MediaPipe TeamandCopybara-Service 74b60780c7 Internal change
PiperOrigin-RevId: 501594400
2023-01-12 10:00:44 -08:00
MediaPipe TeamandCopybara-Service 9cbb76939d Adds smaller MobileBERT model.
PiperOrigin-RevId: 501451414
2023-01-11 20:35:39 -08:00
MediaPipe TeamandCopybara-Service 36be94f861 Internal change
PiperOrigin-RevId: 501378130
2023-01-11 14:24:00 -08:00
MediaPipe TeamandCopybara-Service 5612af68cd Propagate compatible_with for drishti_proto_library
PiperOrigin-RevId: 501356895
2023-01-11 13:01:57 -08:00
MediaPipe TeamandCopybara-Service 0e56bd38f3 Fix for CHECK failure due to pointer description sometimes being larger than allocated string space
PiperOrigin-RevId: 501355568
2023-01-11 12:58:37 -08:00
MediaPipe TeamandCopybara-Service 704964be33 Fix accidental suppressions of GLSL linker error reporting
PiperOrigin-RevId: 500802177
2023-01-09 14:05:47 -08:00
MediaPipe TeamandCopybara-Service d40fa6b16d Internal Model Maker change.
PiperOrigin-RevId: 500758488
2023-01-09 11:04:45 -08:00
MediaPipe TeamandCopybara-Service c6cf598774 Minor fix for max_queue_size documentation
PiperOrigin-RevId: 500738798
2023-01-09 09:54:09 -08:00