Package 

Interface Analyzer


  • 
    public interface Analyzer<T>
    
                        

    分析器:主要用于分析相机预览的帧数据

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public interface Analyzer.OnAnalyzeListener

      Analyze listener

    • Method Summary

      Modifier and Type Method Description
      abstract void analyze(@NonNull() ImageProxy imageProxy, @NonNull() Analyzer.OnAnalyzeListener<T> listener) 分析图像并将分析的结果通过分析监听器返回
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • analyze

         abstract void analyze(@NonNull() ImageProxy imageProxy, @NonNull() Analyzer.OnAnalyzeListener<T> listener)

        分析图像并将分析的结果通过分析监听器返回

        Parameters:
        imageProxy - 需要分析的图像
        listener - 分析监听器,参见:OnAnalyzeListener