~alanbell/+junk/camcontrol

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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script language="javascript">
function camgoto(x,y)
{
 $.get('camcontrol.py?gox=' + x + '&goy=' + y);
}
function preset(n)
{
 $.get('camcontrol.py?preset=' + n);
}

</script>

</head>
<body>
<h1>Camera Control</h1>
<p>Click anywhere on the image to centre (roughly) that bit of the image.</p>
<a style="float:right;" href="http://www.amazon.co.uk/gp/product/B00432J56G/ref=as_li_ss_il?ie=UTF8&amp;camp=1634&amp;creative=19450&amp;creativeASIN=B00432J56G&amp;linkCode=as2&amp;tag=theopesou-21"><img src="http://ws.assoc-amazon.co.uk/widgets/q?_encoding=UTF8&amp;ASIN=B00432J56G&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=GB&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=theopesou-21" alt="" border="0" /><br/>The thing I bought (with evil affiliate code)</a> 

<img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.co.uk/e/ir?t=theopesou-21&amp;l=as2&amp;o=2&amp;a=B00432J56G" alt="" width="1" height="1" border="0" />


<p>This is based on a £35 wireless pan and tilt camera, but with a bit of python running on a separate web server
to control it. The mjpeg video stream is direct from the camera and it has a clickable imagemap overlay
which chops up the image into 40px squares. Clicking a square requests a simple web service running on
a computer close to the camera which starts the camera moving and stops it again after a fraction of a second
multiplied by the number of pixels it needs to move. The camera itself has no absolute or relative positioning,
it is just done by careful timing of the start and stop signals.</p>
<p>The camera can move in diagonal directions, it would be nice to get it to smoothly move to a new location smoothly
first by panning and tilting, then the rest of the way on one axis. Might be nice to have something round the
outside of the image to allow you to move double the distance, at the moment you can move a half frame in one click
would be nice to be able to go a whole frame away.</p>
<p>The camera stream has a maximum of 4 concurrent viewers, a few more if I
drop the resolution to 320x200. For lots of viewers I would use ffmpeg to reencode from mjpeg to something else
on the fly and possibly pass it to a streaming server of some kind, the overlay control should work
just as it is over a multicast video stream. In reality, if you are expecting more than a couple of concurrent
viewers they are going to argue over control too much.</p>
<input type=button onclick="preset(31)" value="door">
<input type=button onclick="preset(33)" value="grass">
<input type=button onclick="preset(35)" value="gate">
<input type=button onclick="preset(37)" value="road">
<br>
<img src="http://guest:guest@ubingo.libertus.co.uk:9090/videostream.cgi" usemap="#navmap"/>

<map name="navmap">
  <area shape="rect" alt="-320,-240" title="-320,-240" coords="0,0,40,40" onclick="camgoto(320,-240)">
  <area shape="rect" alt="-320,-200" title="-320,-200" coords="0,40,40,80" onclick="camgoto(320,-200)">
  <area shape="rect" alt="-320,-160" title="-320,-160" coords="0,80,40,120" onclick="camgoto(320,-160)">
  <area shape="rect" alt="-320,-120" title="-320,-120" coords="0,120,40,160" onclick="camgoto(320,-120)">
  <area shape="rect" alt="-320,-80" title="-320,-80" coords="0,160,40,200" onclick="camgoto(320,-80)">
  <area shape="rect" alt="-320,-40" title="-320,-40" coords="0,200,40,240" onclick="camgoto(320,-40)">
  <area shape="rect" alt="-320,0" title="-320,0" coords="0,240,40,280" onclick="camgoto(320,0)">
  <area shape="rect" alt="-320,40" title="-320,40" coords="0,280,40,320" onclick="camgoto(320,40)">
  <area shape="rect" alt="-320,80" title="-320,80" coords="0,320,40,360" onclick="camgoto(320,80)">
  <area shape="rect" alt="-320,120" title="-320,120" coords="0,360,40,400" onclick="camgoto(320,120)">
  <area shape="rect" alt="-320,160" title="-320,160" coords="0,400,40,440" onclick="camgoto(320,160)">
  <area shape="rect" alt="-320,200" title="-320,200" coords="0,440,40,480" onclick="camgoto(320,200)">
  <area shape="rect" alt="-280,-240" title="-280,-240" coords="40,0,80,40" onclick="camgoto(280,-240)">
  <area shape="rect" alt="-280,-200" title="-280,-200" coords="40,40,80,80" onclick="camgoto(280,-200)">
  <area shape="rect" alt="-280,-160" title="-280,-160" coords="40,80,80,120" onclick="camgoto(280,-160)">
  <area shape="rect" alt="-280,-120" title="-280,-120" coords="40,120,80,160" onclick="camgoto(280,-120)">
  <area shape="rect" alt="-280,-80" title="-280,-80" coords="40,160,80,200" onclick="camgoto(280,-80)">
  <area shape="rect" alt="-280,-40" title="-280,-40" coords="40,200,80,240" onclick="camgoto(280,-40)">
  <area shape="rect" alt="-280,0" title="-280,0" coords="40,240,80,280" onclick="camgoto(280,0)">
  <area shape="rect" alt="-280,40" title="-280,40" coords="40,280,80,320" onclick="camgoto(280,40)">
  <area shape="rect" alt="-280,80" title="-280,80" coords="40,320,80,360" onclick="camgoto(280,80)">
  <area shape="rect" alt="-280,120" title="-280,120" coords="40,360,80,400" onclick="camgoto(280,120)">
  <area shape="rect" alt="-280,160" title="-280,160" coords="40,400,80,440" onclick="camgoto(280,160)">
  <area shape="rect" alt="-280,200" title="-280,200" coords="40,440,80,480" onclick="camgoto(280,200)">
  <area shape="rect" alt="-240,-240" title="-240,-240" coords="80,0,120,40" onclick="camgoto(240,-240)">
  <area shape="rect" alt="-240,-200" title="-240,-200" coords="80,40,120,80" onclick="camgoto(240,-200)">
  <area shape="rect" alt="-240,-160" title="-240,-160" coords="80,80,120,120" onclick="camgoto(240,-160)">
  <area shape="rect" alt="-240,-120" title="-240,-120" coords="80,120,120,160" onclick="camgoto(240,-120)">
  <area shape="rect" alt="-240,-80" title="-240,-80" coords="80,160,120,200" onclick="camgoto(240,-80)">
  <area shape="rect" alt="-240,-40" title="-240,-40" coords="80,200,120,240" onclick="camgoto(240,-40)">
  <area shape="rect" alt="-240,0" title="-240,0" coords="80,240,120,280" onclick="camgoto(240,0)">
  <area shape="rect" alt="-240,40" title="-240,40" coords="80,280,120,320" onclick="camgoto(240,40)">
  <area shape="rect" alt="-240,80" title="-240,80" coords="80,320,120,360" onclick="camgoto(240,80)">
  <area shape="rect" alt="-240,120" title="-240,120" coords="80,360,120,400" onclick="camgoto(240,120)">
  <area shape="rect" alt="-240,160" title="-240,160" coords="80,400,120,440" onclick="camgoto(240,160)">
  <area shape="rect" alt="-240,200" title="-240,200" coords="80,440,120,480" onclick="camgoto(240,200)">
  <area shape="rect" alt="-200,-240" title="-200,-240" coords="120,0,160,40" onclick="camgoto(200,-240)">
  <area shape="rect" alt="-200,-200" title="-200,-200" coords="120,40,160,80" onclick="camgoto(200,-200)">
  <area shape="rect" alt="-200,-160" title="-200,-160" coords="120,80,160,120" onclick="camgoto(200,-160)">
  <area shape="rect" alt="-200,-120" title="-200,-120" coords="120,120,160,160" onclick="camgoto(200,-120)">
  <area shape="rect" alt="-200,-80" title="-200,-80" coords="120,160,160,200" onclick="camgoto(200,-80)">
  <area shape="rect" alt="-200,-40" title="-200,-40" coords="120,200,160,240" onclick="camgoto(200,-40)">
  <area shape="rect" alt="-200,0" title="-200,0" coords="120,240,160,280" onclick="camgoto(200,0)">
  <area shape="rect" alt="-200,40" title="-200,40" coords="120,280,160,320" onclick="camgoto(200,40)">
  <area shape="rect" alt="-200,80" title="-200,80" coords="120,320,160,360" onclick="camgoto(200,80)">
  <area shape="rect" alt="-200,120" title="-200,120" coords="120,360,160,400" onclick="camgoto(200,120)">
  <area shape="rect" alt="-200,160" title="-200,160" coords="120,400,160,440" onclick="camgoto(200,160)">
  <area shape="rect" alt="-200,200" title="-200,200" coords="120,440,160,480" onclick="camgoto(200,200)">
  <area shape="rect" alt="-160,-240" title="-160,-240" coords="160,0,200,40" onclick="camgoto(160,-240)">
  <area shape="rect" alt="-160,-200" title="-160,-200" coords="160,40,200,80" onclick="camgoto(160,-200)">
  <area shape="rect" alt="-160,-160" title="-160,-160" coords="160,80,200,120" onclick="camgoto(160,-160)">
  <area shape="rect" alt="-160,-120" title="-160,-120" coords="160,120,200,160" onclick="camgoto(160,-120)">
  <area shape="rect" alt="-160,-80" title="-160,-80" coords="160,160,200,200" onclick="camgoto(160,-80)">
  <area shape="rect" alt="-160,-40" title="-160,-40" coords="160,200,200,240" onclick="camgoto(160,-40)">
  <area shape="rect" alt="-160,0" title="-160,0" coords="160,240,200,280" onclick="camgoto(160,0)">
  <area shape="rect" alt="-160,40" title="-160,40" coords="160,280,200,320" onclick="camgoto(160,40)">
  <area shape="rect" alt="-160,80" title="-160,80" coords="160,320,200,360" onclick="camgoto(160,80)">
  <area shape="rect" alt="-160,120" title="-160,120" coords="160,360,200,400" onclick="camgoto(160,120)">
  <area shape="rect" alt="-160,160" title="-160,160" coords="160,400,200,440" onclick="camgoto(160,160)">
  <area shape="rect" alt="-160,200" title="-160,200" coords="160,440,200,480" onclick="camgoto(160,200)">
  <area shape="rect" alt="-120,-240" title="-120,-240" coords="200,0,240,40" onclick="camgoto(120,-240)">
  <area shape="rect" alt="-120,-200" title="-120,-200" coords="200,40,240,80" onclick="camgoto(120,-200)">
  <area shape="rect" alt="-120,-160" title="-120,-160" coords="200,80,240,120" onclick="camgoto(120,-160)">
  <area shape="rect" alt="-120,-120" title="-120,-120" coords="200,120,240,160" onclick="camgoto(120,-120)">
  <area shape="rect" alt="-120,-80" title="-120,-80" coords="200,160,240,200" onclick="camgoto(120,-80)">
  <area shape="rect" alt="-120,-40" title="-120,-40" coords="200,200,240,240" onclick="camgoto(120,-40)">
  <area shape="rect" alt="-120,0" title="-120,0" coords="200,240,240,280" onclick="camgoto(120,0)">
  <area shape="rect" alt="-120,40" title="-120,40" coords="200,280,240,320" onclick="camgoto(120,40)">
  <area shape="rect" alt="-120,80" title="-120,80" coords="200,320,240,360" onclick="camgoto(120,80)">
  <area shape="rect" alt="-120,120" title="-120,120" coords="200,360,240,400" onclick="camgoto(120,120)">
  <area shape="rect" alt="-120,160" title="-120,160" coords="200,400,240,440" onclick="camgoto(120,160)">
  <area shape="rect" alt="-120,200" title="-120,200" coords="200,440,240,480" onclick="camgoto(120,200)">
  <area shape="rect" alt="-80,-240" title="-80,-240" coords="240,0,280,40" onclick="camgoto(80,-240)">
  <area shape="rect" alt="-80,-200" title="-80,-200" coords="240,40,280,80" onclick="camgoto(80,-200)">
  <area shape="rect" alt="-80,-160" title="-80,-160" coords="240,80,280,120" onclick="camgoto(80,-160)">
  <area shape="rect" alt="-80,-120" title="-80,-120" coords="240,120,280,160" onclick="camgoto(80,-120)">
  <area shape="rect" alt="-80,-80" title="-80,-80" coords="240,160,280,200" onclick="camgoto(80,-80)">
  <area shape="rect" alt="-80,-40" title="-80,-40" coords="240,200,280,240" onclick="camgoto(80,-40)">
  <area shape="rect" alt="-80,0" title="-80,0" coords="240,240,280,280" onclick="camgoto(80,0)">
  <area shape="rect" alt="-80,40" title="-80,40" coords="240,280,280,320" onclick="camgoto(80,40)">
  <area shape="rect" alt="-80,80" title="-80,80" coords="240,320,280,360" onclick="camgoto(80,80)">
  <area shape="rect" alt="-80,120" title="-80,120" coords="240,360,280,400" onclick="camgoto(80,120)">
  <area shape="rect" alt="-80,160" title="-80,160" coords="240,400,280,440" onclick="camgoto(80,160)">
  <area shape="rect" alt="-80,200" title="-80,200" coords="240,440,280,480" onclick="camgoto(80,200)">
  <area shape="rect" alt="-40,-240" title="-40,-240" coords="280,0,320,40" onclick="camgoto(40,-240)">
  <area shape="rect" alt="-40,-200" title="-40,-200" coords="280,40,320,80" onclick="camgoto(40,-200)">
  <area shape="rect" alt="-40,-160" title="-40,-160" coords="280,80,320,120" onclick="camgoto(40,-160)">
  <area shape="rect" alt="-40,-120" title="-40,-120" coords="280,120,320,160" onclick="camgoto(40,-120)">
  <area shape="rect" alt="-40,-80" title="-40,-80" coords="280,160,320,200" onclick="camgoto(40,-80)">
  <area shape="rect" alt="-40,-40" title="-40,-40" coords="280,200,320,240" onclick="camgoto(40,-40)">
  <area shape="rect" alt="-40,0" title="-40,0" coords="280,240,320,280" onclick="camgoto(40,0)">
  <area shape="rect" alt="-40,40" title="-40,40" coords="280,280,320,320" onclick="camgoto(40,40)">
  <area shape="rect" alt="-40,80" title="-40,80" coords="280,320,320,360" onclick="camgoto(40,80)">
  <area shape="rect" alt="-40,120" title="-40,120" coords="280,360,320,400" onclick="camgoto(40,120)">
  <area shape="rect" alt="-40,160" title="-40,160" coords="280,400,320,440" onclick="camgoto(40,160)">
  <area shape="rect" alt="-40,200" title="-40,200" coords="280,440,320,480" onclick="camgoto(40,200)">
  <area shape="rect" alt="0,-240" title="0,-240" coords="320,0,360,40" onclick="camgoto(0,-240)">
  <area shape="rect" alt="0,-200" title="0,-200" coords="320,40,360,80" onclick="camgoto(0,-200)">
  <area shape="rect" alt="0,-160" title="0,-160" coords="320,80,360,120" onclick="camgoto(0,-160)">
  <area shape="rect" alt="0,-120" title="0,-120" coords="320,120,360,160" onclick="camgoto(0,-120)">
  <area shape="rect" alt="0,-80" title="0,-80" coords="320,160,360,200" onclick="camgoto(0,-80)">
  <area shape="rect" alt="0,-40" title="0,-40" coords="320,200,360,240" onclick="camgoto(0,-40)">
  <area shape="rect" alt="0,0" title="0,0" coords="320,240,360,280" onclick="camgoto(0,0)">
  <area shape="rect" alt="0,40" title="0,40" coords="320,280,360,320" onclick="camgoto(0,40)">
  <area shape="rect" alt="0,80" title="0,80" coords="320,320,360,360" onclick="camgoto(0,80)">
  <area shape="rect" alt="0,120" title="0,120" coords="320,360,360,400" onclick="camgoto(0,120)">
  <area shape="rect" alt="0,160" title="0,160" coords="320,400,360,440" onclick="camgoto(0,160)">
  <area shape="rect" alt="0,200" title="0,200" coords="320,440,360,480" onclick="camgoto(0,200)">
  <area shape="rect" alt="40,-240" title="40,-240" coords="360,0,400,40" onclick="camgoto(-40,-240)">
  <area shape="rect" alt="40,-200" title="40,-200" coords="360,40,400,80" onclick="camgoto(-40,-200)">
  <area shape="rect" alt="40,-160" title="40,-160" coords="360,80,400,120" onclick="camgoto(-40,-160)">
  <area shape="rect" alt="40,-120" title="40,-120" coords="360,120,400,160" onclick="camgoto(-40,-120)">
  <area shape="rect" alt="40,-80" title="40,-80" coords="360,160,400,200" onclick="camgoto(-40,-80)">
  <area shape="rect" alt="40,-40" title="40,-40" coords="360,200,400,240" onclick="camgoto(-40,-40)">
  <area shape="rect" alt="40,0" title="40,0" coords="360,240,400,280" onclick="camgoto(-40,0)">
  <area shape="rect" alt="40,40" title="40,40" coords="360,280,400,320" onclick="camgoto(-40,40)">
  <area shape="rect" alt="40,80" title="40,80" coords="360,320,400,360" onclick="camgoto(-40,80)">
  <area shape="rect" alt="40,120" title="40,120" coords="360,360,400,400" onclick="camgoto(-40,120)">
  <area shape="rect" alt="40,160" title="40,160" coords="360,400,400,440" onclick="camgoto(-40,160)">
  <area shape="rect" alt="40,200" title="40,200" coords="360,440,400,480" onclick="camgoto(-40,200)">
  <area shape="rect" alt="80,-240" title="80,-240" coords="400,0,440,40" onclick="camgoto(-80,-240)">
  <area shape="rect" alt="80,-200" title="80,-200" coords="400,40,440,80" onclick="camgoto(-80,-200)">
  <area shape="rect" alt="80,-160" title="80,-160" coords="400,80,440,120" onclick="camgoto(-80,-160)">
  <area shape="rect" alt="80,-120" title="80,-120" coords="400,120,440,160" onclick="camgoto(-80,-120)">
  <area shape="rect" alt="80,-80" title="80,-80" coords="400,160,440,200" onclick="camgoto(-80,-80)">
  <area shape="rect" alt="80,-40" title="80,-40" coords="400,200,440,240" onclick="camgoto(-80,-40)">
  <area shape="rect" alt="80,0" title="80,0" coords="400,240,440,280" onclick="camgoto(-80,0)">
  <area shape="rect" alt="80,40" title="80,40" coords="400,280,440,320" onclick="camgoto(-80,40)">
  <area shape="rect" alt="80,80" title="80,80" coords="400,320,440,360" onclick="camgoto(-80,80)">
  <area shape="rect" alt="80,120" title="80,120" coords="400,360,440,400" onclick="camgoto(-80,120)">
  <area shape="rect" alt="80,160" title="80,160" coords="400,400,440,440" onclick="camgoto(-80,160)">
  <area shape="rect" alt="80,200" title="80,200" coords="400,440,440,480" onclick="camgoto(-80,200)">
  <area shape="rect" alt="120,-240" title="120,-240" coords="440,0,480,40" onclick="camgoto(-120,-240)">
  <area shape="rect" alt="120,-200" title="120,-200" coords="440,40,480,80" onclick="camgoto(-120,-200)">
  <area shape="rect" alt="120,-160" title="120,-160" coords="440,80,480,120" onclick="camgoto(-120,-160)">
  <area shape="rect" alt="120,-120" title="120,-120" coords="440,120,480,160" onclick="camgoto(-120,-120)">
  <area shape="rect" alt="120,-80" title="120,-80" coords="440,160,480,200" onclick="camgoto(-120,-80)">
  <area shape="rect" alt="120,-40" title="120,-40" coords="440,200,480,240" onclick="camgoto(-120,-40)">
  <area shape="rect" alt="120,0" title="120,0" coords="440,240,480,280" onclick="camgoto(-120,0)">
  <area shape="rect" alt="120,40" title="120,40" coords="440,280,480,320" onclick="camgoto(-120,40)">
  <area shape="rect" alt="120,80" title="120,80" coords="440,320,480,360" onclick="camgoto(-120,80)">
  <area shape="rect" alt="120,120" title="120,120" coords="440,360,480,400" onclick="camgoto(-120,120)">
  <area shape="rect" alt="120,160" title="120,160" coords="440,400,480,440" onclick="camgoto(-120,160)">
  <area shape="rect" alt="120,200" title="120,200" coords="440,440,480,480" onclick="camgoto(-120,200)">
  <area shape="rect" alt="160,-240" title="160,-240" coords="480,0,520,40" onclick="camgoto(-160,-240)">
  <area shape="rect" alt="160,-200" title="160,-200" coords="480,40,520,80" onclick="camgoto(-160,-200)">
  <area shape="rect" alt="160,-160" title="160,-160" coords="480,80,520,120" onclick="camgoto(-160,-160)">
  <area shape="rect" alt="160,-120" title="160,-120" coords="480,120,520,160" onclick="camgoto(-160,-120)">
  <area shape="rect" alt="160,-80" title="160,-80" coords="480,160,520,200" onclick="camgoto(-160,-80)">
  <area shape="rect" alt="160,-40" title="160,-40" coords="480,200,520,240" onclick="camgoto(-160,-40)">
  <area shape="rect" alt="160,0" title="160,0" coords="480,240,520,280" onclick="camgoto(-160,0)">
  <area shape="rect" alt="160,40" title="160,40" coords="480,280,520,320" onclick="camgoto(-160,40)">
  <area shape="rect" alt="160,80" title="160,80" coords="480,320,520,360" onclick="camgoto(-160,80)">
  <area shape="rect" alt="160,120" title="160,120" coords="480,360,520,400" onclick="camgoto(-160,120)">
  <area shape="rect" alt="160,160" title="160,160" coords="480,400,520,440" onclick="camgoto(-160,160)">
  <area shape="rect" alt="160,200" title="160,200" coords="480,440,520,480" onclick="camgoto(-160,200)">
  <area shape="rect" alt="200,-240" title="200,-240" coords="520,0,560,40" onclick="camgoto(-200,-240)">
  <area shape="rect" alt="200,-200" title="200,-200" coords="520,40,560,80" onclick="camgoto(-200,-200)">
  <area shape="rect" alt="200,-160" title="200,-160" coords="520,80,560,120" onclick="camgoto(-200,-160)">
  <area shape="rect" alt="200,-120" title="200,-120" coords="520,120,560,160" onclick="camgoto(-200,-120)">
  <area shape="rect" alt="200,-80" title="200,-80" coords="520,160,560,200" onclick="camgoto(-200,-80)">
  <area shape="rect" alt="200,-40" title="200,-40" coords="520,200,560,240" onclick="camgoto(-200,-40)">
  <area shape="rect" alt="200,0" title="200,0" coords="520,240,560,280" onclick="camgoto(-200,0)">
  <area shape="rect" alt="200,40" title="200,40" coords="520,280,560,320" onclick="camgoto(-200,40)">
  <area shape="rect" alt="200,80" title="200,80" coords="520,320,560,360" onclick="camgoto(-200,80)">
  <area shape="rect" alt="200,120" title="200,120" coords="520,360,560,400" onclick="camgoto(-200,120)">
  <area shape="rect" alt="200,160" title="200,160" coords="520,400,560,440" onclick="camgoto(-200,160)">
  <area shape="rect" alt="200,200" title="200,200" coords="520,440,560,480" onclick="camgoto(-200,200)">
  <area shape="rect" alt="240,-240" title="240,-240" coords="560,0,600,40" onclick="camgoto(-240,-240)">
  <area shape="rect" alt="240,-200" title="240,-200" coords="560,40,600,80" onclick="camgoto(-240,-200)">
  <area shape="rect" alt="240,-160" title="240,-160" coords="560,80,600,120" onclick="camgoto(-240,-160)">
  <area shape="rect" alt="240,-120" title="240,-120" coords="560,120,600,160" onclick="camgoto(-240,-120)">
  <area shape="rect" alt="240,-80" title="240,-80" coords="560,160,600,200" onclick="camgoto(-240,-80)">
  <area shape="rect" alt="240,-40" title="240,-40" coords="560,200,600,240" onclick="camgoto(-240,-40)">
  <area shape="rect" alt="240,0" title="240,0" coords="560,240,600,280" onclick="camgoto(-240,0)">
  <area shape="rect" alt="240,40" title="240,40" coords="560,280,600,320" onclick="camgoto(-240,40)">
  <area shape="rect" alt="240,80" title="240,80" coords="560,320,600,360" onclick="camgoto(-240,80)">
  <area shape="rect" alt="240,120" title="240,120" coords="560,360,600,400" onclick="camgoto(-240,120)">
  <area shape="rect" alt="240,160" title="240,160" coords="560,400,600,440" onclick="camgoto(-240,160)">
  <area shape="rect" alt="240,200" title="240,200" coords="560,440,600,480" onclick="camgoto(-240,200)">
  <area shape="rect" alt="280,-240" title="280,-240" coords="600,0,640,40" onclick="camgoto(-280,-240)">
  <area shape="rect" alt="280,-200" title="280,-200" coords="600,40,640,80" onclick="camgoto(-280,-200)">
  <area shape="rect" alt="280,-160" title="280,-160" coords="600,80,640,120" onclick="camgoto(-280,-160)">
  <area shape="rect" alt="280,-120" title="280,-120" coords="600,120,640,160" onclick="camgoto(-280,-120)">
  <area shape="rect" alt="280,-80" title="280,-80" coords="600,160,640,200" onclick="camgoto(-280,-80)">
  <area shape="rect" alt="280,-40" title="280,-40" coords="600,200,640,240" onclick="camgoto(-280,-40)">
  <area shape="rect" alt="280,0" title="280,0" coords="600,240,640,280" onclick="camgoto(-280,0)">
  <area shape="rect" alt="280,40" title="280,40" coords="600,280,640,320" onclick="camgoto(-280,40)">
  <area shape="rect" alt="280,80" title="280,80" coords="600,320,640,360" onclick="camgoto(-280,80)">
  <area shape="rect" alt="280,120" title="280,120" coords="600,360,640,400" onclick="camgoto(-280,120)">
  <area shape="rect" alt="280,160" title="280,160" coords="600,400,640,440" onclick="camgoto(-280,160)">
  <area shape="rect" alt="280,200" title="280,200" coords="600,440,640,480" onclick="camgoto(-280,200)">
</map>
</body>
</html>