forked from QuinnThomas/grip-vision-2017
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrip img test 1
154 lines (154 loc) · 9.07 KB
/
grip img test 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<edu.wpi.grip.core.Pipeline>
<sources>
<edu.wpi.grip.core.sources.MultiImageFileSource>
<property name="path[2]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH2ftD0Angle0Brightness.jpg"/>
<property name="path[5]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH3ftD0Angle0Brightness.jpg"/>
<property name="path[8]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH4ftD2Angle0Brightness.jpg"/>
<property name="path[12]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH5ftD3Angle0Brightness.jpg"/>
<property name="path[15]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH8ftD0Angle0Brightness.jpg"/>
<property name="index" value="14"/>
<property name="path[0]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH1ftD0Angle0Brightness.jpg"/>
<property name="path[3]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH2ftD1Angle0Brightness.jpg"/>
<property name="path[6]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH3ftD2Angle0Brightness.jpg"/>
<property name="path[9]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH4ftD3Angle0Brightness.jpg"/>
<property name="path[10]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH5ftD0Angle0Brightness.jpg"/>
<property name="path[13]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH6ftD0Angle0Brightness.jpg"/>
<property name="path[16]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH9ftD0Angle0Brightness.jpg"/>
<property name="numImages" value="17"/>
<property name="path[1]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH1ftD1Angle0Brightness.jpg"/>
<property name="path[4]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH2ftD2Angle0Brightness.jpg"/>
<property name="path[7]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH4ftD0Angle0Brightness.jpg"/>
<property name="path[11]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH5ftD2Angle0Brightness.jpg"/>
<property name="path[14]" value="/home/quinn/Documents/grip?/GRIP-1.5.2/vision examples/Vision Images/LED Peg/1ftH7ftD0Angle0Brightness.jpg"/>
</edu.wpi.grip.core.sources.MultiImageFileSource>
</sources>
<steps>
<edu.wpi.grip.core.Step name="CV resize">
<edu.wpi.grip.core.sockets.InputSocketImpl step="0" socket="0"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="0" socket="1"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="0" socket="2">
<value>0.25</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.InputSocketImpl step="0" socket="3">
<value>0.25</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.InputSocketImpl step="0" socket="4">
<value>INTER_LINEAR</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.OutputSocketImpl step="0" socket="0" previewed="true"/>
</edu.wpi.grip.core.Step>
<edu.wpi.grip.core.Step name="HSV Threshold">
<edu.wpi.grip.core.sockets.InputSocketImpl step="1" socket="0"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="1" socket="1">
<value>
<double>79.31654676258992</double>
<double>91.37521222410867</double>
</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.InputSocketImpl step="1" socket="2">
<value>
<double>167.64291956265498</double>
<double>255.0</double>
</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.InputSocketImpl step="1" socket="3">
<value>
<double>68.44515912693574</double>
<double>255.0</double>
</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.OutputSocketImpl step="1" socket="0" previewed="true"/>
</edu.wpi.grip.core.Step>
<edu.wpi.grip.core.Step name="CV erode">
<edu.wpi.grip.core.sockets.InputSocketImpl step="2" socket="0"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="2" socket="1"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="2" socket="2"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="2" socket="3">
<value>1.0</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.InputSocketImpl step="2" socket="4">
<value>BORDER_CONSTANT</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.InputSocketImpl step="2" socket="5"/>
<edu.wpi.grip.core.sockets.OutputSocketImpl step="2" socket="0" previewed="true"/>
</edu.wpi.grip.core.Step>
<edu.wpi.grip.core.Step name="Find Contours">
<edu.wpi.grip.core.sockets.InputSocketImpl step="3" socket="0"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="3" socket="1">
<value>false</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.OutputSocketImpl step="3" socket="0" previewed="true"/>
</edu.wpi.grip.core.Step>
<edu.wpi.grip.core.Step name="Convex Hulls">
<edu.wpi.grip.core.sockets.InputSocketImpl step="4" socket="0"/>
<edu.wpi.grip.core.sockets.OutputSocketImpl step="4" socket="0" previewed="true"/>
</edu.wpi.grip.core.Step>
<edu.wpi.grip.core.Step name="NTPublish ContoursReport">
<edu.wpi.grip.core.sockets.InputSocketImpl step="5" socket="0"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="5" socket="1">
<value>myContoursReport</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.InputSocketImpl step="5" socket="2">
<value>true</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.InputSocketImpl step="5" socket="3">
<value>true</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.InputSocketImpl step="5" socket="4">
<value>true</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.InputSocketImpl step="5" socket="5">
<value>true</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.InputSocketImpl step="5" socket="6">
<value>true</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
<edu.wpi.grip.core.sockets.InputSocketImpl step="5" socket="7">
<value>false</value>
</edu.wpi.grip.core.sockets.InputSocketImpl>
</edu.wpi.grip.core.Step>
</steps>
<connections>
<edu.wpi.grip.core.Connection>
<edu.wpi.grip.core.sockets.OutputSocketImpl step="1" socket="0" previewed="true"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="2" socket="0"/>
</edu.wpi.grip.core.Connection>
<edu.wpi.grip.core.Connection>
<edu.wpi.grip.core.sockets.OutputSocketImpl source="0" socket="0" previewed="true"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="0" socket="0"/>
</edu.wpi.grip.core.Connection>
<edu.wpi.grip.core.Connection>
<edu.wpi.grip.core.sockets.OutputSocketImpl step="0" socket="0" previewed="true"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="1" socket="0"/>
</edu.wpi.grip.core.Connection>
<edu.wpi.grip.core.Connection>
<edu.wpi.grip.core.sockets.OutputSocketImpl step="4" socket="0" previewed="true"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="5" socket="0"/>
</edu.wpi.grip.core.Connection>
<edu.wpi.grip.core.Connection>
<edu.wpi.grip.core.sockets.OutputSocketImpl step="2" socket="0" previewed="true"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="3" socket="0"/>
</edu.wpi.grip.core.Connection>
<edu.wpi.grip.core.Connection>
<edu.wpi.grip.core.sockets.OutputSocketImpl step="3" socket="0" previewed="true"/>
<edu.wpi.grip.core.sockets.InputSocketImpl step="4" socket="0"/>
</edu.wpi.grip.core.Connection>
</connections>
<settings>
<teamNumber>0</teamNumber>
<publishAddress>roboRIO-0-FRC.local</publishAddress>
<deployAddress>roboRIO-0-FRC.local</deployAddress>
<deployDir>/home/lvuser</deployDir>
<deployUser>lvuser</deployUser>
<deployJavaHome>/usr/local/frc/JRE/</deployJavaHome>
<deployJvmOptions>-Xmx50m -XX:-OmitStackTraceInFastThrow -XX:+HeapDumpOnOutOfMemoryError -XX:MaxNewSize=16m</deployJvmOptions>
</settings>
<codeGenerationSettings>
<language>Python</language>
<className>NetworTableTest</className>
<implementWpilibPipeline>false</implementWpilibPipeline>
<saveDir>/home/quinn/GRIP</saveDir>
<packageName></packageName>
<moduleName>grip</moduleName>
</codeGenerationSettings>
</edu.wpi.grip.core.Pipeline>