Interface VisualClip

    • Method Detail

      • process

        @NonNull
        java.util.ArrayList<java.lang.String> process​(@NonNull
                                                      java.util.ArrayList<VisualClipVideo> videos,
                                                      int numFrames,
                                                      int resultSize)
        Process video and get recomendations
        Parameters:
        videos - array of videos to process
        numFrames - number of frames in video to process
        resultSize - number of recomendations in result array
        Returns:
        array of recomendations, each is json, sorted by relevance
      • create

        @Nullable
        static VisualClip create​(@NonNull
                                 java.lang.String musicDbPath,
                                 @NonNull
                                 java.lang.String effectsTemplatesPath,
                                 @Nullable
                                 VisualClipListener listener)
        Create instance of visual clip processor
        Parameters:
        musicDbPath - absolute path to folder with music info
        effectsTemplatesPath - absolute path to folder with effects templates
        listener - callback