File size: 447 Bytes
c3677e7
 
 
 
 
 
 
 
 
6b92f2d
c3677e7
 
 
 
6b92f2d
c3677e7
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
license: mit
pipeline_tag: image-to-image
tags:
- onnx
- opticalflow
- ezonnx
---

For inference, please clone repo [ezonnx](https://github.com/ikeboo/ezonnx).

```python
from ezonnx import NeuFlowV2

model = NeuFlowV2("mixed")
output = model("image_0.jpg","image_1.jpg") # infer with a pair of str or cv2 image
print(output.flow)                          # flow map (H,W,2)
print(output.visualized_img)                # flow image (H,W,3)
```