• Guo, Yejun's avatar
    lavfi/dnn: refine dnn interface to add DNNExecBaseParams · a3b74651
    Guo, Yejun authored
    Different function type of model requires different parameters, for
    example, object detection detects lots of objects (cat/dog/...) in
    the frame, and classifcation needs to know which object (cat or dog)
    it is going to classify.
    
    The current interface needs to add a new function with more parameters
    to support new requirement, with this change, we can just add a new
    struct (for example DNNExecClassifyParams) based on DNNExecBaseParams,
    and so we can continue to use the current interface execute_model just
    with params changed.
    a3b74651
Makefile 1.36 KB