Skip to content

Commit

Permalink
Fix type warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jakmro committed Jun 25, 2024
1 parent e2f9106 commit 49a3aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_vision/object_detection/generic_detector.ex
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ defmodule ExVision.ObjectDetection.GenericDetector do
defdelegate preprocessing(image, metadata), to: ExVision.ObjectDetection.GenericDetector

@impl true
@spec postprocessing(tuple(), ExVision.Types.ImageMetadata.t()) :: output_t()
@spec postprocessing(map(), ExVision.Types.ImageMetadata.t()) :: output_t()
def postprocessing(output, metadata) do
ExVision.ObjectDetection.GenericDetector.postprocessing(output, metadata, categories())
end
Expand Down

0 comments on commit 49a3aea

Please sign in to comment.