Class FacesQueue

    • Constructor Detail

      • FacesQueue

        public FacesQueue​(@NotNull
                          @NotNull FaceQueue faceQueue,
                          @NotNull
                          @NotNull ImageCache imageCacheOriginal,
                          @NotNull
                          @NotNull ImageCache imageCacheScaled,
                          @NotNull
                          @NotNull ImageCache imageCacheMagicMap)
        Creates a new instance.
        Parameters:
        faceQueue - the face queue for sending askface commands
        imageCacheOriginal - the image cache used for loading original image files
        imageCacheScaled - the image cache used for loading scaled image files
        imageCacheMagicMap - the image cache used for loading magic map image files
    • Method Detail

      • reset

        public void reset()
        Description copied from interface: FaceQueue
        Reset the processing: forget about pending faces. This function is called whenever the server socket breaks, or when a new connection has been established.