Class VisualClip.CppProxy

  • All Implemented Interfaces:
    VisualClip
    Enclosing interface:
    VisualClip

    public static final class VisualClip.CppProxy
    extends java.lang.Object
    implements VisualClip
    • Method Detail

      • _djinni_private_destroy

        public void _djinni_private_destroy()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • process

        public java.util.ArrayList<java.lang.String> process​(java.util.ArrayList<VisualClipVideo> videos,
                                                             int numFrames,
                                                             int resultSize)
        Description copied from interface: VisualClip
        Process video and get recomendations
        Specified by:
        process in interface VisualClip
        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
        public static VisualClip create​(@NonNull
                                        java.lang.String musicDbPath,
                                        @NonNull
                                        java.lang.String effectsTemplatesPath,
                                        @Nullable
                                        VisualClipListener listener)
        Description copied from interface: VisualClip
        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