logo
Browse Source

filter_tiny_segments add example

main
ChengZi 2 years ago
parent
commit
b3eeae0040
  1. 9
      README.md
  2. BIN
      result2.png

9
README.md

@ -26,6 +26,13 @@ towhee.dc['pred']([[[0, 0, 100, 100], [0, 0, 10, 10], [0, 0, 60, 10]]]) \
![](result.png) ![](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 ## Factory Constructor
@ -50,8 +57,6 @@ Create the operator via the following factory method
## Interface ## 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:** **Parameters:**

BIN
result2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Loading…
Cancel
Save