Update README.md
Browse files
README.md
CHANGED
|
@@ -7,12 +7,12 @@ tags:
|
|
| 7 |
- ezonnx
|
| 8 |
---
|
| 9 |
|
| 10 |
-
For inference, please clone [ezonnx](https://github.com/ikeboo/ezonnx).
|
| 11 |
|
| 12 |
```python
|
| 13 |
from ezonnx import NeuFlowV2
|
| 14 |
|
| 15 |
-
model = NeuFlowV2("
|
| 16 |
output = model("image_0.jpg","image_1.jpg") # infer with a pair of str or cv2 image
|
| 17 |
print(output.flow) # flow map (H,W,2)
|
| 18 |
print(output.visualized_img) # flow image (H,W,3)
|
|
|
|
| 7 |
- ezonnx
|
| 8 |
---
|
| 9 |
|
| 10 |
+
For inference, please clone repo [ezonnx](https://github.com/ikeboo/ezonnx).
|
| 11 |
|
| 12 |
```python
|
| 13 |
from ezonnx import NeuFlowV2
|
| 14 |
|
| 15 |
+
model = NeuFlowV2("mixed")
|
| 16 |
output = model("image_0.jpg","image_1.jpg") # infer with a pair of str or cv2 image
|
| 17 |
print(output.flow) # flow map (H,W,2)
|
| 18 |
print(output.visualized_img) # flow image (H,W,3)
|