Banuba SDK
Instance Methods | Class Methods | List of all members
BNBVisualClip Class Reference

#import <BNBVisualClip.h>

Inheritance diagram for BNBVisualClip:

Instance Methods

(nonnull NSArray< NSString * > *) - process:numFrames:resultSize:
 Process video and get recomendations. More...
 

Class Methods

(nullable BNBVisualClip *) + create:effectsTemplatesPath:listener:
 Create instance of visual clip processor. More...
 

Detailed Description

Definition at line 16 of file BNBVisualClip.h.

Method Documentation

◆ create:effectsTemplatesPath:listener:

+ (nullable BNBVisualClip *) create: (nonnull NSString *)  musicDbPath
effectsTemplatesPath: (nonnull NSString *)  effectsTemplatesPath
listener: (nullable id< BNBVisualClipListener >)  listener 

Create instance of visual clip processor.

Parameters
musicDbPathabsolute path to folder with music info
effectsTemplatesPathabsolute path to folder with effects templates
listenercallback

◆ process:numFrames:resultSize:

- (nonnull NSArray<NSString *> *) process: (nonnull NSArray< BNBVisualClipVideo * > *)  videos
numFrames: (int32_t)  numFrames
resultSize: (int32_t)  resultSize 

Process video and get recomendations.

Parameters
videosarray of videos to process
numFramesnumber of frames in video to process
resultSizenumber of recomendations in result array
Returns
array of recomendations, each is json, sorted by relevance

The documentation for this class was generated from the following file: