Fix the "'<>' with anonymous inner classes is not supported" error.
PiperOrigin-RevId: 520705926
This commit is contained in:
parent
d7fd5b0cf5
commit
984073bf73
|
@ -100,7 +100,7 @@ public final class FaceStylizer extends BaseVisionTaskApi {
|
||||||
// TODO: Consolidate OutputHandler and TaskRunner.
|
// TODO: Consolidate OutputHandler and TaskRunner.
|
||||||
OutputHandler<FaceStylizerResult, MPImage> handler = new OutputHandler<>();
|
OutputHandler<FaceStylizerResult, MPImage> handler = new OutputHandler<>();
|
||||||
handler.setOutputPacketConverter(
|
handler.setOutputPacketConverter(
|
||||||
new OutputHandler.OutputPacketConverter<>() {
|
new OutputHandler.OutputPacketConverter<FaceStylizerResult, MPImage>() {
|
||||||
@Override
|
@Override
|
||||||
public FaceStylizerResult convertToTaskResult(List<Packet> packets)
|
public FaceStylizerResult convertToTaskResult(List<Packet> packets)
|
||||||
throws MediaPipeException {
|
throws MediaPipeException {
|
||||||
|
|
2
third_party/halide.BUILD
vendored
2
third_party/halide.BUILD
vendored
|
@ -43,8 +43,8 @@ cc_library(
|
||||||
name = "lib_halide_static",
|
name = "lib_halide_static",
|
||||||
srcs = select({
|
srcs = select({
|
||||||
"@halide//:halide_config_windows_x86_64": [
|
"@halide//:halide_config_windows_x86_64": [
|
||||||
"lib/Release/Halide.lib",
|
|
||||||
"bin/Release/Halide.dll",
|
"bin/Release/Halide.dll",
|
||||||
|
"lib/Release/Halide.lib",
|
||||||
],
|
],
|
||||||
"//conditions:default": [
|
"//conditions:default": [
|
||||||
"lib/libHalide.a",
|
"lib/libHalide.a",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user