Package com.banuba.sdk.visual_clip
Interface VisualClip
- All Known Implementing Classes:
VisualClip.CppProxy
public interface VisualClip
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VisualClip
create
(String musicDbPath, String effectsTemplatesPath, VisualClipListener listener) Create instance of visual clip processorprocess
(ArrayList<VisualClipVideo> videos, int numFrames, int resultSize) Process video and get recomendations
-
Method Details
-
process
@NonNull ArrayList<String> process(@NonNull 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 String musicDbPath, @NonNull 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
-