Skip to content

Commit b402e43

Browse files
committed
add mvtb tool
1 parent 6a35af3 commit b402e43

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

docs/source/intro.rst

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,48 @@ Install the current code base from GitHub and pip install a link to that cloned
194194
Examples
195195
========
196196

197+
MVTB tool
198+
---------
199+
200+
An interactive IPython session with all the MVTB tools loaded. Start a session from
201+
the shell::
202+
203+
% mvtbtool
204+
_ _ ____ ____ _ _ _ _ _ ____ _ _ _ ____ _ ____ _ _
205+
|\/| |__| | |__| | |\ | |___ | | | [__ | | | |\ |
206+
| | | | |___ | | | | \| |___ \/ | ___] | |__| | \|
207+
208+
___ ____ ____ _ ___ ____ _ _
209+
| | | | | | |__] | | \/
210+
| |__| |__| |___ |__] |__| _/\_
211+
212+
for Python
213+
214+
You're running: MVTB==0.9.7, SMTB==1.1.13, NumPy==1.26.4, SciPy==1.14.1,
215+
Matplotlib==3.10.0, OpenCV==4.10.0, Open3D==0.18.0
216+
217+
from machinevisiontoolbox import *
218+
from spatialmath import *
219+
220+
matplotlib interactive mode on
221+
222+
func/object? - show brief help
223+
help(func/object) - show detailed help
224+
func/object?? - show source code
225+
226+
227+
Python 3.10.16 (main, Dec 11 2024, 10:22:29) [Clang 14.0.6 ]
228+
Type 'copyright', 'credits' or 'license' for more information
229+
IPython 8.31.0 -- An enhanced Interactive Python. Type '?' for help.
230+
Using matplotlib backend: macosx
231+
232+
>>> im = Image.Read("monalisa.png")
233+
234+
>>> im.disp()
235+
Out[2]: <matplotlib.image.AxesImage at 0x1690e9720>
236+
237+
It has the advantage of command history, tab completion, and inline help.
238+
197239
Binary blobs
198240
------------
199241

0 commit comments

Comments
 (0)