Package com.banuba.sdk.visual_clip
Interface VisualClip
-
- All Known Implementing Classes:
VisualClip.CppProxy
public interface VisualClip
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
VisualClip.CppProxy
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static VisualClip
create(java.lang.String musicDbPath, java.lang.String effectsTemplatesPath, VisualClipListener listener)
Create instance of visual clip processorjava.util.ArrayList<java.lang.String>
process(java.util.ArrayList<VisualClipVideo> videos, int numFrames, int resultSize)
Process video and get recomendations
-
-
-
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 processnumFrames
- number of frames in video to processresultSize
- 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 infoeffectsTemplatesPath
- absolute path to folder with effects templateslistener
- callback
-
-