Commit Graph
100 Commits
Author SHA1 Message Date
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
MediaPipe TeamandCopybara-Service 2cce88080e Internal change
PiperOrigin-RevId: 500271109
2023-01-06 15:29:19 -08:00
MediaPipe TeamandCopybara-Service 463cbb60ee Fix RGBA vs RGB selection when creating GLTexture.
PiperOrigin-RevId: 499877590
2023-01-05 07:58:07 -08:00
MediaPipe TeamandCopybara-Service 43bf02443c Option to remove overlapping values computed for different timestamps.
PiperOrigin-RevId: 499635143
2023-01-04 17:35:25 -08:00
MediaPipe TeamandCopybara-Service 24cc0672c4 Internal change
PiperOrigin-RevId: 499529022
2023-01-04 10:59:35 -08:00
MediaPipe TeamandCopybara-Service e3131d7d78 Internal change
PiperOrigin-RevId: 499521620
2023-01-04 10:33:04 -08:00
MediaPipe TeamandCopybara-Service add5600d0d Internal change
PiperOrigin-RevId: 499351795
2023-01-03 17:20:46 -08:00
MediaPipe TeamandCopybara-Service e7dc989f71 Internal Change
PiperOrigin-RevId: 499313491
2023-01-03 14:14:21 -08:00
MediaPipe TeamandCopybara-Service f53c0eacee Extend tag conversion behavior to also convert : (in addition to the
current `/`, `-`, and `.`) to `_`.

PiperOrigin-RevId: 499243005
2023-01-03 09:41:45 -08:00
MediaPipe TeamandCopybara-Service 60c6b155f6 Save an integer id in graph profiler objects to distinguish between different profiler instances during benchmarking.
PiperOrigin-RevId: 498409363
2022-12-29 10:18:10 -08:00
MediaPipe TeamandCopybara-Service aaa16eca1f Sets the graph service packets before initializing (and validating the graph) in the objc graph wrapper.
PiperOrigin-RevId: 498393761
2022-12-29 08:36:03 -08:00
MediaPipe TeamandCopybara-Service 7e36a5e2ae Set filecmp.cmp(shallow=False) in model_maker unit tests.
PiperOrigin-RevId: 498218578
2022-12-28 11:25:28 -08:00
MediaPipe TeamandCopybara-Service 5a5ff5393a Internal change
PiperOrigin-RevId: 497269082
2022-12-27 10:50:41 -08:00
MediaPipe TeamandCopybara-Service 5a71b551e5 Remove duplicate and non-public api for model_maker
PiperOrigin-RevId: 497251246
2022-12-22 15:31:12 -08:00
MediaPipe TeamandCopybara-Service 36f054dfbe Internal model maker change
PiperOrigin-RevId: 497196512
2022-12-22 10:43:15 -08:00
MediaPipe TeamandCopybara-Service 5b90afda70 Internal change
PiperOrigin-RevId: 497191969
2022-12-22 10:23:34 -08:00
MediaPipe TeamandCopybara-Service 9673841605 Internal visibility update
PiperOrigin-RevId: 497185157
2022-12-22 09:51:52 -08:00
MediaPipe TeamandCopybara-Service 69b6d9d970 Internal change
PiperOrigin-RevId: 497043596
2022-12-21 17:44:36 -08:00
MediaPipe TeamandCopybara-Service 1341720d6d Internal change
PiperOrigin-RevId: 496854337
2022-12-21 00:55:32 -08:00
MediaPipe TeamandCopybara-Service 5c0f548f5f Switches to tf.keras.optimizers.experimental.AdamW instead of the legacy AdamW.
PiperOrigin-RevId: 496821354
2022-12-20 20:53:13 -08:00
MediaPipe TeamandCopybara-Service 64406a9bf2 Internal change
PiperOrigin-RevId: 496781536
2022-12-20 16:41:49 -08:00
MediaPipe TeamandCopybara-Service a7b52d2c52 Internal changes
PiperOrigin-RevId: 496754449
2022-12-20 14:37:18 -08:00
MediaPipe TeamandCopybara-Service ce0bc2b9ac Internal change
PiperOrigin-RevId: 496742964
2022-12-20 14:36:09 -08:00
MediaPipe TeamandCopybara-Service e405c2b67d Internal change
PiperOrigin-RevId: 496702117
2022-12-20 11:04:42 -08:00
MediaPipe TeamandCopybara-Service 8c013647c8 Internal change
PiperOrigin-RevId: 496629682
2022-12-20 04:49:15 -08:00
MediaPipe TeamandCopybara-Service 4682416f0f Internal change
PiperOrigin-RevId: 496568835
2022-12-19 22:10:15 -08:00
MediaPipe TeamandCopybara-Service 994eb28d2c Chain SetName calls where possible
PiperOrigin-RevId: 496534328
2022-12-19 18:07:38 -08:00
MediaPipe TeamandCopybara-Service f5f2fee0b9 Switch to Cast where possible and reduce usage of operator[](port).
PiperOrigin-RevId: 496527250
2022-12-19 17:22:36 -08:00
MediaPipe TeamandCopybara-Service 6842f2c7c6 Use the proper namespace for builder test
PiperOrigin-RevId: 496526588
2022-12-19 17:14:14 -08:00
MediaPipe TeamandCopybara-Service ea0bebc226 Add BGR -> RGB color conversion to ColorConvertCalculator.
PiperOrigin-RevId: 496497002
2022-12-19 14:51:05 -08:00
MediaPipe TeamandCopybara-Service 3e6cd5d2bf Add support for customizing gesture recognizer layers
PiperOrigin-RevId: 496456160
2022-12-19 11:57:09 -08:00