Commit Graph
100 Commits
Author SHA1 Message Date
MediaPipe TeamandCopybara-Service bbd5da7971 Added the gray scale image support for the ImageToTensorCalculator on CPU.
PiperOrigin-RevId: 489593917
2022-11-18 17:12:57 -08:00
MediaPipe TeamandCopybara-Service 524ac3ca61 Internal change for Model Maker
PiperOrigin-RevId: 489540387
2022-11-18 12:48:30 -08:00
MediaPipe TeamandCopybara-Service e2052a6a51 Rename embedding postprocessor "configure" method for consistency with classification postprocessor.
PiperOrigin-RevId: 489518257
2022-11-18 11:13:10 -08:00
MediaPipe TeamandCopybara-Service 03d388fecf Add hand landmark named index constants
PiperOrigin-RevId: 489498248
2022-11-18 09:52:44 -08:00
MediaPipe TeamandCopybara-Service 2f361e2f47 Internal change
PiperOrigin-RevId: 489486417
2022-11-18 08:53:43 -08:00
MediaPipe TeamandCopybara-Service 6f3cb340e1 Internal change
PiperOrigin-RevId: 489345940
2022-11-17 17:16:25 -08:00
MediaPipe TeamandCopybara-Service ab3a5f0fbf Make MuxCalculator with DefaultInputStreamHandler to handle graph closure gracefully
PiperOrigin-RevId: 489336722
2022-11-17 16:30:35 -08:00
MediaPipe TeamandCopybara-Service a7bd725e65 Internal change
PiperOrigin-RevId: 489331826
2022-11-17 16:09:15 -08:00
MediaPipe TeamandCopybara-Service 1fb0902aa0 Update gesture_recognizer test
PiperOrigin-RevId: 489301508
2022-11-17 14:04:30 -08:00
MediaPipe TeamandCopybara-Service 90eb4a19d8 Internal change
PiperOrigin-RevId: 489088227
2022-11-16 18:16:32 -08:00
MediaPipe TeamandCopybara-Service b6b72d5e4e Add MuxCalculator test case where graph is being closed while SELECT has not been received.
PiperOrigin-RevId: 489061902
2022-11-16 15:56:43 -08:00
MediaPipe TeamandCopybara-Service 74474d859e Update image_classifier demo with new ImageClassifierOption changes
PiperOrigin-RevId: 489031381
2022-11-16 14:00:39 -08:00
MediaPipe TeamandCopybara-Service 512a531b9e Internal change
PiperOrigin-RevId: 488977390
2022-11-16 10:31:50 -08:00
MediaPipe TeamandCopybara-Service cdd44e77b7 Internal change
PiperOrigin-RevId: 488969539
2022-11-16 10:07:40 -08:00
MediaPipe TeamandCopybara-Service dc9578d226 Internal change
PiperOrigin-RevId: 488946809
2022-11-16 08:30:20 -08:00
MediaPipe TeamandCopybara-Service 2f77bf44e3 Use train_data to evaluate accuracy of unit test for gesture_recognizer due to limited dataset size.
PiperOrigin-RevId: 488808942
2022-11-15 18:10:28 -08:00
MediaPipe TeamandCopybara-Service fae55910f4 Enable absl::string_view kCalculatorName
PiperOrigin-RevId: 488781493
2022-11-15 15:59:09 -08:00
MediaPipe TeamandCopybara-Service 38b636f7ee Internal change
PiperOrigin-RevId: 488770794
2022-11-15 15:19:48 -08:00
MediaPipe TeamandCopybara-Service e65f21e2d8 Update the docstring to make it consistent with the model option update.
PiperOrigin-RevId: 488761331
2022-11-15 14:36:48 -08:00
MediaPipe TeamandCopybara-Service 1689112b23 Improve model_util_test code.
PiperOrigin-RevId: 488752497
2022-11-15 14:04:39 -08:00
MediaPipe TeamandCopybara-Service f14645cb06 Model maker gesture recognizer test changes
PiperOrigin-RevId: 488702055
2022-11-15 10:50:32 -08:00
MediaPipe TeamandCopybara-Service ebba119f15 Add Java ImageEmbedder API.
PiperOrigin-RevId: 488588010
2022-11-15 01:26:00 -08:00
MediaPipe TeamandCopybara-Service 34daba4747 Add Java TextEmbedder API.
PiperOrigin-RevId: 488427327
2022-11-14 11:49:56 -08:00
MediaPipe TeamandCopybara-Service c7d531ebb2 AddTarget -> ConnectTo and documentation
PiperOrigin-RevId: 488407930
2022-11-14 10:40:06 -08:00
MediaPipe TeamandCopybara-Service 05cb40ff79 MediaPipe TextEmbedder task for web
PiperOrigin-RevId: 488373613
2022-11-14 08:34:09 -08:00
MediaPipe TeamandCopybara-Service badaccfb04 Internal change
PiperOrigin-RevId: 488333493
2022-11-14 05:05:03 -08:00
MediaPipe TeamandCopybara-Service aafbf73c0a Renames model options in TextClassifier.
PiperOrigin-RevId: 488063797
2022-11-12 10:02:19 -08:00
MediaPipe TeamandCopybara-Service c2ac040a6c Adds a public import API for TextClassifier.
PiperOrigin-RevId: 487949023
2022-11-11 16:52:16 -08:00
MediaPipe TeamandCopybara-Service 8ec83d2aa0 Clarify AssetManager usage
PiperOrigin-RevId: 487935478
2022-11-11 15:49:50 -08:00
MediaPipe TeamandCopybara-Service 340d7651af Internal change
PiperOrigin-RevId: 487881149
2022-11-11 11:53:41 -08:00
MediaPipe TeamandCopybara-Service b0583a1821 Fixes SetAlphaCalculator silently failing to convert float inputs.
PiperOrigin-RevId: 487868409
2022-11-11 11:06:26 -08:00
MediaPipe TeamandCopybara-Service b4972ed4ae Update GestureRecognitionResult to GestureRecognizerResult.
PiperOrigin-RevId: 487712873
2022-11-10 20:25:31 -08:00
MediaPipe TeamandCopybara-Service 3e05871f98 Open source Model Maker text tasks.
PiperOrigin-RevId: 487706929
2022-11-10 19:52:51 -08:00
MediaPipe TeamandCopybara-Service ec327cedcb Internal Changes
PiperOrigin-RevId: 487673720
2022-11-10 16:48:13 -08:00
MediaPipe TeamandCopybara-Service 2ea5184c51 Internal change
PiperOrigin-RevId: 487663454
2022-11-10 16:04:22 -08:00
MediaPipe TeamandCopybara-Service 8ec4427bd7 Add option, result types and utils for Java embedders.
PiperOrigin-RevId: 487615327
2022-11-10 12:53:00 -08:00
MediaPipe TeamandCopybara-Service d5552c4bd9 Internal Changes
PiperOrigin-RevId: 487591065
2022-11-10 11:21:14 -08:00
MediaPipe TeamandCopybara-Service 0b12aa9435 Internal change
PiperOrigin-RevId: 487466061
2022-11-10 01:32:14 -08:00
MediaPipe TeamandCopybara-Service 0ac604d507 Add timestamp aggregation to EmbeddingPostprocessingGraph.
PiperOrigin-RevId: 487463848
2022-11-10 01:20:45 -08:00
MediaPipe TeamandCopybara-Service f11c757629 Update C++ HandLandmarksDetectionResult to HandLandmarkerResult.
PiperOrigin-RevId: 487443827
2022-11-09 23:20:15 -08:00
MediaPipe TeamandCopybara-Service 116b4bb6c4 Internal change
PiperOrigin-RevId: 487338991
2022-11-09 13:57:13 -08:00
MediaPipe TeamandCopybara-Service 7066ee231e Hand Landmarker Java API and unit test.
PiperOrigin-RevId: 487307858
2022-11-09 11:55:31 -08:00
MediaPipe TeamandCopybara-Service b4e1833dd0 Internal change
PiperOrigin-RevId: 487125366
2022-11-08 20:35:46 -08:00
MediaPipe TeamandCopybara-Service a5bcb97d88 Adds an AverageWordVecModel.
PiperOrigin-RevId: 487104909
2022-11-08 18:29:21 -08:00
MediaPipe TeamandCopybara-Service c31aaa94a6 Adds a BertClassifier.
PiperOrigin-RevId: 487086744
2022-11-08 16:49:46 -08:00
MediaPipe TeamandCopybara-Service 0917e8cb8e Support continual training image classifier from saved checkpoint files.
PiperOrigin-RevId: 487057612
2022-11-08 14:50:04 -08:00
MediaPipe TeamandCopybara-Service b3d19fa1af Use model bundle writer when exporting models in gesture recognizer
PiperOrigin-RevId: 487042776
2022-11-08 13:52:08 -08:00
MediaPipe TeamandCopybara-Service 0363d60511 Open-sources TextEmbedder.
PiperOrigin-RevId: 487041832
2022-11-08 13:48:49 -08:00
MediaPipe TeamandCopybara-Service ace098f370 Add proper Cast for MultiPort
PiperOrigin-RevId: 487012509
2022-11-08 11:57:03 -08:00
MediaPipe TeamandCopybara-Service 7a1e55b872 Adds unit tests for TextEmbedder.
PiperOrigin-RevId: 486997035
2022-11-08 11:01:04 -08:00
MediaPipe TeamandCopybara-Service 5e6842aa5c Migrate Java ImageClassifier / TextClassifier to new result format.
PiperOrigin-RevId: 486976459
2022-11-08 09:47:42 -08:00
MediaPipe TeamandCopybara-Service 4a6562d423 internal
PiperOrigin-RevId: 486853812
2022-11-07 22:39:23 -08:00
MediaPipe TeamandCopybara-Service 24d03451c7 Internal change - migration
PiperOrigin-RevId: 486853689
2022-11-07 22:36:22 -08:00
MediaPipe TeamandCopybara-Service 716c7e3b8a Internal change
PiperOrigin-RevId: 486805777
2022-11-07 17:23:46 -08:00
MediaPipe TeamandCopybara-Service c3bb4bb5da Refactor image classifier Create API by defining an ImageClassifierOption which wraps the model_spec, model_options, and hparams. Also migrate the definition of HParams by extending it from BaseHParams.
PiperOrigin-RevId: 486796657
2022-11-07 16:39:35 -08:00
MediaPipe TeamandCopybara-Service 1049ef781d Add image_segmenter namespace and update image segmenter proto for java package.
PiperOrigin-RevId: 486792164
2022-11-07 16:24:16 -08:00
MediaPipe TeamandCopybara-Service 6f38a7a21f Add hand landmarker C++ api.
PiperOrigin-RevId: 486791711
2022-11-07 16:17:42 -08:00
MediaPipe TeamandCopybara-Service 51dbd9779c Introduce Stream/SidePacket aliases for Source/SideSource
PiperOrigin-RevId: 486761126
2022-11-07 14:20:08 -08:00
MediaPipe TeamandCopybara-Service 6b54cae34c Internal change - cleanup
PiperOrigin-RevId: 486721059
2022-11-07 11:42:50 -08:00
MediaPipe TeamandCopybara-Service 4b0423e3a2 Internal change
PiperOrigin-RevId: 486547910
2022-11-06 19:34:24 -08:00
MediaPipe TeamandCopybara-Service 5e1a2fcdbb Update EmbeddingResult format and dependent tasks.
PiperOrigin-RevId: 486186491
2022-11-04 11:20:07 -07:00
MediaPipe TeamandCopybara-Service 8b2c937b9e Migrate AudioClassifier C++ to use new ClassificationResult struct.
PiperOrigin-RevId: 486162683
2022-11-04 09:46:09 -07:00
MediaPipe TeamandCopybara-Service 62cd67e996 Internal change
PiperOrigin-RevId: 486148328
2022-11-04 08:42:39 -07:00
MediaPipe TeamandCopybara-Service b2cc2cc60c Internal changes
PiperOrigin-RevId: 486014305
2022-11-03 17:23:20 -07:00
MediaPipe TeamandCopybara-Service 06cb73fc81 Modified internal dependencies.
PiperOrigin-RevId: 485992876
2022-11-03 15:44:36 -07:00
MediaPipe TeamandCopybara-Service d29c3d7512 Add metadata writer to image_classifier in model_maker
PiperOrigin-RevId: 485926985
2022-11-03 11:30:38 -07:00
MediaPipe TeamandCopybara-Service ddf37d014e Fix test utils bug when two file names have same ending.
PiperOrigin-RevId: 485780917
2022-11-02 22:33:36 -07:00
MediaPipe TeamandCopybara-Service 0bf5110a7e Add a model_maker internal library directory.
PiperOrigin-RevId: 485665201
2022-11-02 12:31:58 -07:00
MediaPipe TeamandCopybara-Service d61ab92b90 Add classification result structs and use then in ImageClassifier & TextClassifier.
PiperOrigin-RevId: 485567133
2022-11-02 05:13:12 -07:00
MediaPipe TeamandCopybara-Service aab5f84aae Internal change
PiperOrigin-RevId: 485553891
2022-11-02 03:49:48 -07:00
MediaPipe TeamandCopybara-Service 475e6b4fd5 Modify ClassificationAggregationCalculator to output new unified formats.
PiperOrigin-RevId: 485546547
2022-11-02 03:11:20 -07:00
MediaPipe TeamandCopybara-Service f1f123d255 Extracted common logics from the ImageToTensorCalculator such that it can be
reused by other calculators.

PiperOrigin-RevId: 485472451
2022-11-01 18:43:46 -07:00
MediaPipe TeamandCopybara-Service aaf98ea43c Add CPU invoke to Perfetto trace
PiperOrigin-RevId: 485464221
2022-11-01 17:50:39 -07:00
MediaPipe TeamandCopybara-Service ecd93ff080 Internal changes
PiperOrigin-RevId: 485445138
2022-11-01 16:18:06 -07:00
MediaPipe TeamandCopybara-Service c6a64683f6 Add ConcatenateClassificationListCalculator
PiperOrigin-RevId: 485398597
2022-11-01 13:13:48 -07:00
MediaPipe TeamandCopybara-Service 700971de70 Internal change
PiperOrigin-RevId: 485396135
2022-11-01 13:05:43 -07:00
MediaPipe TeamandCopybara-Service 9f8b5e5c11 Add allow_list/deny_list to gesture recognizer options.
PiperOrigin-RevId: 485141209
2022-10-31 13:57:06 -07:00
MediaPipe TeamandCopybara-Service 459214e6a3 Rename index_by_label to label_names.
PiperOrigin-RevId: 484956259
2022-10-30 22:26:17 -07:00
MediaPipe TeamandCopybara-Service be13a76928 Integrate canned and custom gesture classifier.
PiperOrigin-RevId: 484914164
2022-10-30 15:36:09 -07:00
MediaPipe TeamandCopybara-Service de5fe27e05 Modified internal dependencies.
PiperOrigin-RevId: 484407262
2022-10-27 19:08:19 -07:00
MediaPipe TeamandCopybara-Service abd1ff66c8 Fix https://github.com/google/mediapipe/issues/3784
PiperOrigin-RevId: 484365654
2022-10-27 15:32:44 -07:00
MediaPipe TeamandCopybara-Service fc1d75cc99 Add CombinedPredictionCalculator.
PiperOrigin-RevId: 484301880
2022-10-27 11:16:12 -07:00
MediaPipe TeamandCopybara-Service ee84e447b2 Internal change
PiperOrigin-RevId: 484299808
2022-10-27 11:08:31 -07:00
MediaPipe TeamandCopybara-Service 254f786624 Add an option to set image preprocessing backend as gpu.
PiperOrigin-RevId: 483888202
2022-10-26 00:46:19 -07:00
MediaPipe TeamandCopybara-Service a28c9d2c26 Set steps_per_epoch to None when calling model.fit() method for image classifier.
PiperOrigin-RevId: 483764377
2022-10-25 13:44:03 -07:00
MediaPipe TeamandCopybara-Service 36bd9abb8f Internal change
PiperOrigin-RevId: 483751427
2022-10-25 12:53:39 -07:00
MediaPipe TeamandCopybara-Service 21abfc9125 Update gpu origin.
PiperOrigin-RevId: 483742652
2022-10-25 12:14:28 -07:00
MediaPipe TeamandCopybara-Service d240c009e2 Remove unnecessary location_data_proto dependency on rect_proto.
PiperOrigin-RevId: 483679555
2022-10-25 08:24:07 -07:00
MediaPipe TeamandCopybara-Service 6b0a7fb281 Reverting back to special handling for Egl Thread Exit on Android
PiperOrigin-RevId: 483505151
2022-10-24 15:45:35 -07:00
MediaPipe TeamandCopybara-Service 94cd134809 Add support for image rotation in Java vision tasks.
PiperOrigin-RevId: 483493729
2022-10-24 15:01:23 -07:00
MediaPipe TeamandCopybara-Service 3d88b1797a Switch CHECK to a status in resource handling code. Expand error message.
PiperOrigin-RevId: 483438131
2022-10-24 11:27:15 -07:00
MediaPipe TeamandCopybara-Service 2f2baeff68 Add support for rotation in ImageEmbedder & ImageSegmenter C++ APIs
PiperOrigin-RevId: 483416498
2022-10-24 10:14:05 -07:00
MediaPipe TeamandCopybara-Service 0fd69e8d83 Open-source some tokenizer unit tests.
PiperOrigin-RevId: 483399326
2022-10-24 09:12:52 -07:00
MediaPipe TeamandCopybara-Service af051dcb62 internal change
PiperOrigin-RevId: 483308781
2022-10-24 01:39:23 -07:00
MediaPipe TeamandCopybara-Service ec2a34d2a4 Replace pytype_struct_contrib_test by py_strict_test. Also remove unnecessary BUILD attributes.
PiperOrigin-RevId: 483237371
2022-10-23 16:45:02 -07:00
MediaPipe TeamandCopybara-Service ab0193bbb7 Internal change
PiperOrigin-RevId: 483078695
2022-10-22 15:55:46 -07:00
MediaPipe TeamandCopybara-Service d8006a2f87 Use model bundle for gesture recognizer.
PiperOrigin-RevId: 482960305
2022-10-21 21:54:34 -07:00
MediaPipe TeamandCopybara-Service 404323f631 Add Mediapipe Tasks Gesture Recognizer benchmarks
PiperOrigin-RevId: 482935780
2022-10-21 18:33:49 -07:00
MediaPipe TeamandCopybara-Service 7196db275e Internal change
PiperOrigin-RevId: 482925717
2022-10-21 17:28:49 -07:00
MediaPipe TeamandCopybara-Service ea1d85d811 Update model_task_graph to support multiple local model resources.
PiperOrigin-RevId: 482917453
2022-10-21 16:42:58 -07:00