Class VisualClip.CppProxy

java.lang.Object
com.banuba.sdk.visual_clip.VisualClip.CppProxy
All Implemented Interfaces:
VisualClip
Enclosing interface:
VisualClip

public static final class VisualClip.CppProxy extends Object implements VisualClip
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

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

      public ArrayList<String> process(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 String musicDbPath, @NonNull 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