Fix the vision tasks aar build rule to solve the "cannot find symbol" error:
``` mediapipe/tasks/java/com/google/mediapipe/tasks/vision/imagesegmenter/ImageSegmenter.java:28: error: cannot find symbol import com.google.mediapipe.tasks.TensorsToSegmentationCalculatorOptionsProto; ``` PiperOrigin-RevId: 517542284
This commit is contained in:
parent
0805d61bfe
commit
065f1f38aa
|
@ -228,7 +228,9 @@ EOF
|
|||
name = name,
|
||||
srcs = srcs,
|
||||
manifest = "AndroidManifest.xml",
|
||||
java_proto_lite_targets = _CORE_TASKS_JAVA_PROTO_LITE_TARGETS + _VISION_TASKS_JAVA_PROTO_LITE_TARGETS,
|
||||
java_proto_lite_targets = _CORE_TASKS_JAVA_PROTO_LITE_TARGETS + _VISION_TASKS_JAVA_PROTO_LITE_TARGETS + [
|
||||
"//mediapipe/tasks/cc/vision/image_segmenter/calculators:tensors_to_segmentation_calculator_java_proto_lite",
|
||||
],
|
||||
native_library = native_library,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user