Hadon Nash
7785603fbe
Adding BypassCalculator for use with SwitchContainer.
...
PiperOrigin-RevId: 482030395
2022-10-18 14:59:25 -07:00
MediaPipe Team
e86cd39521
Use unused pixel format attribute variable as intended
...
Based on the comments and the context, we should be trying to use the specified attributes in orders to initialize the pixel_format_ variable.
PiperOrigin-RevId: 482011065
2022-10-18 13:51:24 -07:00
MediaPipe Team
43345160c5
Add ImageFrame and GlTexture view providers to Ahwb GpuBuffer storage
...
- ImageFrame views are backed by CPU locks of the AHWB.
- GlTextureViews are managed through a GlTextureBuffer connected to the AHWB allocation.
This improves the latency of heterogeneous access sequences, but makes `ImageFrame > ImageFrame` sequences slower due to CPU locking.
PiperOrigin-RevId: 481982546
2022-10-18 11:59:29 -07:00
MediaPipe Team
f2821d840d
Improve image classifier model maker documentation and replace the legacy code.
...
PiperOrigin-RevId: 481979922
2022-10-18 11:47:37 -07:00
MediaPipe Team
51879ae81a
Remove unnecessary architectures from image classifier ModelSpec
...
PiperOrigin-RevId: 481974529
2022-10-18 11:29:11 -07:00
Yuqi Li
bc47589c9b
Add model bundle in hand landmark task.
...
PiperOrigin-RevId: 481960266
2022-10-18 10:38:43 -07:00
Sebastian Schmidt
6bb5ff989d
Fix #ifdef statement
...
PiperOrigin-RevId: 481952827
2022-10-18 10:13:09 -07:00
MediaPipe Team
47de64fc10
Open-sources TextToTensorCalculator.
...
PiperOrigin-RevId: 481927522
2022-10-18 08:28:53 -07:00
kinaryml
91b60da1dc
Updated name for a test case
2022-10-18 05:35:05 -07:00
kinaryml
f166eb32e8
Updated names of test case methods
2022-10-18 04:34:17 -07:00
kinaryml
69f4daf9bc
Removed unused BUILD
2022-10-18 04:31:35 -07:00
kinaryml
4932844410
Reverted changes to BUILD
2022-10-18 04:29:28 -07:00
kinaryml
f84e0bc1c6
Revised API implementation and added more tests for segment_for_video and segment_async
2022-10-18 04:24:12 -07:00
Kinar R
36ac0689d7
Merge branch 'google:master' into image-segmenter-python-impl
2022-10-18 15:13:44 +05:30
MediaPipe Team
ba93bab286
Fix ObjectDetector C++ flow limiter and improve documentation.
...
PiperOrigin-RevId: 481774191
2022-10-17 16:57:38 -07:00
Sebastian Schmidt
b09c0e9938
Internal change
...
PiperOrigin-RevId: 481761007
2022-10-17 15:56:55 -07:00
MediaPipe Team
58e5cc3c88
Changed the image to tensor converter interface such that the "Convert"
...
function assumes the Tensor is preallocated before calling the function.
PiperOrigin-RevId: 481752678
2022-10-17 15:20:25 -07:00
Camillo Lugaresi
a5e4219590
Internal change
...
PiperOrigin-RevId: 481742662
2022-10-17 14:39:17 -07:00
MediaPipe Team
cd32543786
Open-sources the bert_preprocessor_calculator_test.
...
PiperOrigin-RevId: 481724320
2022-10-17 13:30:11 -07:00
MediaPipe Team
5e543c506f
Fix unused variable warnings
...
Remove some unused variables and add unused attribute to other variables
PiperOrigin-RevId: 481706551
2022-10-17 12:14:55 -07:00
MediaPipe Team
f6c2f86086
Fix -Wunused-variable warnings
...
Remove unused variables. Add __unused attribute to variable used in assert clause. Move variable to inside header guard when only used in header guard.
PiperOrigin-RevId: 481699164
2022-10-17 11:48:17 -07:00
Yuqi Li
660f1812c2
Internal change
...
PiperOrigin-RevId: 481515490
2022-10-16 17:23:01 -07:00
Jiuqiang Tang
2def7c8203
Add ".proto" suffix to gesture recognizer and object detector proto java package name. This aligns with the convention of image classifier and tasks core protos.
...
PiperOrigin-RevId: 481451842
2022-10-16 03:43:21 -07:00
MediaPipe Team
f7da95a130
Fix a typo in the description string
...
PiperOrigin-RevId: 481421713
2022-10-15 22:40:34 -07:00
MediaPipe Team
17202af6f7
Adds a preprocessor for Universal Sentence Encoder models.
...
PiperOrigin-RevId: 481293992
2022-10-14 21:38:28 -07:00
MediaPipe Team
5f3d5728e8
Open-source the regex_preprocessing_calculator
...
PiperOrigin-RevId: 481256045
2022-10-14 16:18:20 -07:00
Yuqi Li
eb52b72707
Internal change
...
PiperOrigin-RevId: 481255129
2022-10-14 16:13:13 -07:00
MediaPipe Team
ca28a19822
Open-source bert_preprocessor_calculator
...
PiperOrigin-RevId: 481246966
2022-10-14 15:31:31 -07:00
MediaPipe Team
42543f7ad6
Internal change
...
PiperOrigin-RevId: 481227358
2022-10-14 14:01:11 -07:00
Camillo Lugaresi
364b8e8106
Internal change
...
PiperOrigin-RevId: 481210917
2022-10-14 12:47:48 -07:00
MediaPipe Team
e283c10970
Internal change
...
PiperOrigin-RevId: 481186706
2022-10-14 11:04:43 -07:00
MediaPipe Team
0428550d75
Open source model_maker/python/core/tasks and model_maker/python/vision/image_classifier
...
PiperOrigin-RevId: 481182271
2022-10-14 10:47:34 -07:00
MediaPipe Team
6f3e8381ed
Add support for rotation in ObjectDetector C++ API
...
PiperOrigin-RevId: 481167472
2022-10-14 09:47:54 -07:00
Kinar R
f160f28039
Merge branch 'google:master' into image-classification-python-impl
2022-10-14 15:31:01 +05:30
kinaryml
803210a86b
Simplified async test cases to invoke the classifier in context
2022-10-14 03:00:29 -07:00
Jiuqiang Tang
0ebe6ccf59
Add filegroups to mediapipe java src dirs.
...
PiperOrigin-RevId: 481080348
2022-10-14 01:02:48 -07:00
Jiuqiang Tang
b632e645f5
Merge all BUILD files in the subdirectories of java/com/google/mediapipe/tasks/vision into one BUILD file.
...
PiperOrigin-RevId: 481074268
2022-10-14 00:15:40 -07:00
MediaPipe Team
9353ed6cce
Java gesture recognizer Tasks API and unit test.
...
PiperOrigin-RevId: 480978244
2022-10-13 14:06:23 -07:00
MediaPipe Team
12c323ffde
Exports gesture recognizer related proto as Java package.
...
PiperOrigin-RevId: 480735444
2022-10-12 15:41:31 -07:00
MediaPipe Team
179824a21d
Use string_view when adding nodes/generators #cleanup
...
PiperOrigin-RevId: 480721234
2022-10-12 14:42:19 -07:00
MediaPipe Team
02746d0700
Remove unused includes.
...
PiperOrigin-RevId: 480720274
2022-10-12 14:38:04 -07:00
MediaPipe Team
a9fea36cb3
Put Destination::base_ into private section. (Cleanup.)
...
PiperOrigin-RevId: 480678168
2022-10-12 11:43:03 -07:00
MediaPipe Team
ae4b2ae577
Add support for input image rotation in ImageClassifier.
...
PiperOrigin-RevId: 480676070
2022-10-12 11:35:20 -07:00
MediaPipe Team
51a7606083
Add Java ImageClassifier API.
...
PiperOrigin-RevId: 480656683
2022-10-12 10:22:16 -07:00
Jiuqiang Tang
cbbd4718a0
Update mediapipe_aar.bzl to put more mediapipe framework java proto classes into AARs.
...
PiperOrigin-RevId: 480583365
2022-10-12 03:46:52 -07:00
Jiuqiang Tang
f9a4e472eb
Add AndroidManifest.xml into third_party/mediapipe/tasks/java/com/google/mediapipe/tasks/core
...
PiperOrigin-RevId: 480567195
2022-10-12 02:05:15 -07:00
MediaPipe Team
77de8b0bb0
Split RotationMode proto target for reuse.
...
PiperOrigin-RevId: 480548644
2022-10-12 00:33:01 -07:00
kinaryml
6771fe69e9
Included checks for image sizes while running in async and roi mode
2022-10-11 22:52:18 -07:00
kinaryml
7726205d85
Added a test to run classify_async in region of interest mode
2022-10-11 22:42:50 -07:00
kinaryml
8ea0018397
Added a check to see if the output packet is empty in the API and updated tests
2022-10-11 22:34:56 -07:00