Skip to content

Commit 248d9e4

Browse files
committed
change package name
1 parent b613fb1 commit 248d9e4

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ In Proc. IEEE International Conference on Computer Vision (ICCV), 2007.
1111

1212
## Installation
1313

14-
pip install flowvis
14+
pip install flow_vis
1515

1616
## Usage
1717

18-
import flowvis
19-
flow_color = flowvis.flow_to_color(flow_uv, convert_to_bgr=False)
18+
import flow_vis
19+
flow_color = flow_vis.flow_to_color(flow_uv, convert_to_bgr=False)
2020

2121
## Examples visualizations
2222

example/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818

1919
import numpy as np
2020
import matplotlib.pyplot as plt
21-
import flowvis
21+
import flow_vis
2222

2323
# Load normalized flow image of shape [H,W,2]
2424
flow_uv = np.load('./data/flow_example_data.npy')
2525

2626
# Apply the coloring (for OpenCV, set convert_to_bgr=True)
27-
flow_color = flowvis.flow_to_color(flow_uv, convert_to_bgr=False)
27+
flow_color = flow_vis.flow_to_color(flow_uv, convert_to_bgr=False)
2828

2929
# Display the image
3030
plt.imshow(flow_color)
31-
plt.show()
31+
plt.show()

flowvis/__init__.py renamed to flow_vis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
from __future__ import division
1717
from __future__ import print_function
1818

19-
from .flowvis import flow_to_color, flow_uv_to_colors, make_colorwheel
19+
from .flow_vis import flow_to_color, flow_uv_to_colors, make_colorwheel
File renamed without changes.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import setuptools
22

33
setuptools.setup(
4-
name='flowvis',
5-
packages=['flowvis'],
4+
name='flow_vis',
5+
packages=['flow_vis'],
66
version='0.1',
77
license='MIT',
88
author='Tom Runia',

0 commit comments

Comments
 (0)