diff --git a/README.md b/README.md index 42a6b22..0572f94 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,13 @@ towhee.dc['pred']([[[0, 0, 100, 100], [0, 0, 10, 10], [0, 0, 60, 10]]]) \ ![](result.png) +```python +import towhee +towhee.dc['pred', 'sim_hw']([[[[0, 0, 10, 10]], [11, 11]]]) \ + .video_copy_detection.filter_tiny_segments[('pred', 'sim_hw'), 'filtered_pred'](filter_s_thresh=20) \ + .show() +``` +![](result2.png) ## Factory Constructor @@ -50,8 +57,6 @@ Create the operator via the following factory method ## Interface -A Temporal Network operator takes two numpy.ndarray(shape(N,D) N: number of features. D: dimension of features) and get the duplicated ranges and scores. - **Parameters:** diff --git a/result2.png b/result2.png new file mode 100644 index 0000000..871f6f3 Binary files /dev/null and b/result2.png differ