projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873884a
)
Added description of the AR model
author
Fraser Harris
<fraser.harris@gmail.com>
Fri, 1 Apr 2016 00:57:55 +0000
(17:57 -0700)
committer
Fraser Harris
<fraser.harris@gmail.com>
Fri, 1 Apr 2016 00:57:55 +0000
(17:57 -0700)
samples/python/plane_ar.py
patch
|
blob
|
history
diff --git
a/samples/python/plane_ar.py
b/samples/python/plane_ar.py
index
43b83b9
..
7f2969c
100755
(executable)
--- a/
samples/python/plane_ar.py
+++ b/
samples/python/plane_ar.py
@@
-32,6
+32,7
@@
import common
from plane_tracker import PlaneTracker
from video import presets
+# Simple model of a house - cube with a triangular prism "roof"
ar_verts = np.float32([[0, 0, 0], [0, 1, 0], [1, 1, 0], [1, 0, 0],
[0, 0, 1], [0, 1, 1], [1, 1, 1], [1, 0, 1],
[0, 0.5, 2], [1, 0.5, 2]])