|
@@ -174,6 +174,11 @@ public class FeatureTransformV2 {
|
|
String resolution = String.format("%s@%s@%s_%s", prefix, "wh", videoInfo.get("width"), videoInfo.get("height"));
|
|
String resolution = String.format("%s@%s@%s_%s", prefix, "wh", videoInfo.get("width"), videoInfo.get("height"));
|
|
featMap.put(resolution, 1.0);
|
|
featMap.put(resolution, 1.0);
|
|
}
|
|
}
|
|
|
|
+ String resolution = FeatureUtils.getResolution(videoInfo);
|
|
|
|
+ if (!resolution.isEmpty()) {
|
|
|
|
+ String resKey = String.format("%s@%s@%s", prefix, "res", resolution);
|
|
|
|
+ featMap.put(resKey, 1.0);
|
|
|
|
+ }
|
|
|
|
|
|
// cate
|
|
// cate
|
|
getVideoCateFeature(prefix, videoInfo, featMap);
|
|
getVideoCateFeature(prefix, videoInfo, featMap);
|