... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.
-
Upload
ellen-dennis -
Category
Documents
-
view
217 -
download
0
Transcript of ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.
![Page 1: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/1.jpg)
. . . M A K E Y O U R N E T W O R K S M A R T E R
Axis Technical Presentation
Ian Qvist
![Page 2: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/2.jpg)
Agenda
Advanced Technical Presentation
•Introduction Axis 205 DNS function
•Introduction Camera Electronics and Optics
•HTTP – API command set
•Customized Web page with Axis Camera
•I/O control
•Scripting possibilities in Axis Camera
![Page 3: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/3.jpg)
AXIS Dynamic DNS
![Page 4: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/4.jpg)
AXIS Dynamic DNS
![Page 5: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/5.jpg)
AXIS Dynamic DNS
![Page 6: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/6.jpg)
Camera Electronics and Optics
Compression CPU
Flashmemory
DRAM
EthernetInterface
Camerafunctions
Lens Optical filter Image sensor
![Page 7: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/7.jpg)
Introduction to cameras
A video sensor (CCD or CMOS) capture the light to create an electric signal
![Page 8: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/8.jpg)
CCD size comp.
to:H=12.8V=9.6D=16
1"H=8.8V=6.6D=11
2/3"
H=6.4V=4.8D=8.0
1/2" H=4.4V=3.3D=5.5
1/3" H=3.2V=2.4D=4.0
1/4"
1/5 1/6”
![Page 9: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/9.jpg)
CCD size
CCD size reduction helps: Smaller cameras because of smaller optics Reduction of sensor price Sensitivity constant or increased
CCD size reduction is helped by: Improvement of manufacturing processes
Clean rooms
![Page 10: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/10.jpg)
CCD technology Hyper HAD OCL
Sony Micro lens technology improved sensitivity and reduced smear
80-100%of light captured by pixel -30dB Smear
+100% sensitivity compared to HAD
![Page 11: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/11.jpg)
1 CCD Camera
Colour CCD
Each Pixel has a Colour Filter
B/W CCD
![Page 12: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/12.jpg)
Lens, first in the camera
Optics – Lens• f value is specifying the field of view, trough above
formula we can calculate what f value we need• F is the value of the iris and is telling us how light
sensitive the lens is, number should be as low as possible
![Page 13: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/13.jpg)
Let´s build a Camera
IR-Filter• Is letting visible light go through and is stopping IR.• In a color camera there is always IR filter but
normally not on b/w. Day and night color cameras is changing between day and night by taking the IR filter on or off.
IR-filter
![Page 14: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/14.jpg)
Let´s build a Camera
Image Sensor• On high quality cameras the sensor is a CCD on low-
end it´s C-MOS• 752x582 is the amount of pixel and it is not equal to the
resolution but, it is the maximum theoretical resolution so it have substantial impact on picture quality, should be as high as possible
IR-Filter CCD
![Page 15: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/15.jpg)
Let´s build a Camera
AGC (Automatic Gain Control)• If there is not enough of light, this circuit will amplifying
the signal to a sufficient level. This is making the picture brighter but have a disadvantage in increase noise
• Function is normally automatic but in more advanced cameras it can be switch off
IR-Filter CCD AGC
![Page 16: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/16.jpg)
Let´s build a Camera
A/D converter• Signal from CCD is analogue and AGC have to be
analogue but from now on the signal will be digital trough Analogue/Digital conversion
IR-Filter CCD AGC A/D converter
![Page 17: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/17.jpg)
Let´s build a Camera
Digital Signal Processor• Control: Iris, Shutter, AGC, White balance, Back
light compensation• Create the color• Making picture artificial sharp by Detail
IR-Filter CCD AGC A/D converter DSP
Iris
![Page 18: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/18.jpg)
Let´s build a Camera
Memory• Is keeping the picture until it is ready to be send
IR-Filter CCD AGC A/D converter DSP
D/A converter
Video out
Memory
Iris
![Page 19: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/19.jpg)
Let´s build a Camera
Ethernet interface• Is where the data is packed for TCP/IP
IR-Filter CCD AGC A/D converter DSP
D/A converter
Video out
Memory Ethernet interface
RJ45 TPIris
![Page 20: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/20.jpg)
Let´s build a Camera. However!!!
AXIS using it´s core technology to make network cameras.
• ARTPEC • ETRAX, (Ethernet Token Ring, Axis)
ARTPEC ETRAXIR-Filter CCD
RJ45 TP
AGC A/D converter DSP
Compression
Ethernet interfaceIris
Memory
![Page 21: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/21.jpg)
HTTP – API introduction
HTTP commands, Web design
•Understand camera HTTP commands.
•Seek HTTP command in manual and use these.
•Understand HTML structure.
•Make own HTML Web page.
•Construct own camera Web page on Web Server.
•Construct own camera Web page placed in camera.
•HI-HIT Web server
![Page 22: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/22.jpg)
HTTP command in URL
URL address
![Page 23: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/23.jpg)
HTTP command with parameters
? = delimiter to parameters & = delimiter to the next parameter.
Compression = 0 no compressionCompression = 100 max compression
![Page 24: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/24.jpg)
HTML commands
http://www.w3.org/MarkUp/Guide/
<html>
<head> <title>New Page 1</title> </head>
<body> your code here </body>
</html>
![Page 25: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/25.jpg)
HTML tags
title>My first HTML document</title>
<h1>An important heading</h1> <h2>A slightly less important heading</h2>
<p>This is a paragraph.</p>
<img src=“axis.jpg" width="200" height="150">
This a link to <a href=“my_page.html">My best page</a>.
<font color="#FF0000">hello in red</font><b> bold </b> <br> = new line
![Page 26: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/26.jpg)
Camera Web page
1. Go to demo
2. Right click on white area
3. Click Source
![Page 27: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/27.jpg)
Camera Web page HTML code
Enter camera IP address
You may change as you wish
Only camera resolution to be given
![Page 28: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/28.jpg)
HI – HIT Web Server
One FTP stream
Thousands connectionsto Internet
Read the entire manual on following link:http://www.axis.com/techsup/cam_servers/tech_notes/live_video_iis.htm
![Page 29: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/29.jpg)
HI –HIT configuration
Create the image directory on the Web server.Example: c:\inetpub\ftproot\liveCreate a Web Server alias (virtual directory) and use this as the image path in the Web pageExample: http://[WebServer]/live/
Get the LiveImg.dll and copy it to the "execute" directory in your Web server file tree (typically c:\inetpub\wwwroot\cgi-bin if you are using Microsoft IIS/PWS).
a) Configure Web Server
b) Configure Camera to FTP transfer
![Page 30: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/30.jpg)
HI – HIT modification of Camera stream
Change these Parameters in your HTML code:
path: The image path (i.e. /live/image.jpg).fps | fpm: Frames/second or frames/minute.duration: For how many seconds the images should be pushed to the client.timeout: The image feed stops after timeout seconds if the image has not been updated.
Examples:Deliver 3 images/second during 60 seconds. Stop after30 seconds if the image has not been updated (default parameter values):http://<web_server>/cgi-bin/liveimg.dll?path=/live/image.jpg
![Page 31: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/31.jpg)
Axis Camera I/O Control
![Page 32: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/32.jpg)
Layout with I/O control
![Page 33: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/33.jpg)
Layout with Output Buttons
![Page 34: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/34.jpg)
HTTP I/O
Check Input
Activate Output
Note: camera returns status -> web browser get white
![Page 35: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/35.jpg)
Scripting in Axis Camera
![Page 36: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/36.jpg)
File system and memory
/ (root)
bin/
dev/
var/ (/tmp/var)
tmp/
etc/ (/mnt/flash/etc/)
usr/
mnt/
proc/
lib/ROMFS (read only)bin/ – built-in applicatinons, executeable filesdev/ – device fileslib/ – C-libraries used by applicationsproc/ – process informationusr/ – built-in web pages, cgi’s, scripts
JFFS (read/write)Configuration files, task.list, custom scripts, custom web
RAMFS (read/write)Temporary files, image buffer
![Page 37: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/37.jpg)
Built-in editor – editcgi
http://<IP address>/admin-bin/editcgi.cgi?file=<file>
Edit files, create new files, browse the file system
![Page 38: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/38.jpg)
FTP and telnet
FTP Get files Put files Set permisson on files (chmod 755)
Create directories
Telnet (enable telnet in the file /etc/inittab)
Run scripts/applications Run shell commands
Create/delete directories/files Set permissions on files
![Page 39: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/39.jpg)
. . . M A K E Y O U R N E T W O R K S M A R T E R
Built-in applications
![Page 40: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/40.jpg)
Built-in applications – bufferd
Pre-Buffer
Post-Buffer
The pre-buffer is continuously storing images in FIFO-order; whereby the latest image overwrites the eldest
On ’stop’, the pre-buffer stops. The post-buffer is then filled with the pre-specified number of images.
When the last image has been saved a status file is created.
Stop!
Capture images and store them on the RAM-disk (/tmp)
![Page 41: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/41.jpg)
Built-in applications – smtpclient
Send e-mails with attachment
![Page 42: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/42.jpg)
Built-in applications – sftpclient
FTP server
Upload images to an FTP server
![Page 43: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/43.jpg)
Built-in applications – shttpclient
Open an HTTP connection Internally to local host (127.0.0.1) Externally to a remote Web server
![Page 44: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/44.jpg)
Built-in applications – parhandclient
Parameter handler Set parameters Get parameters to a file as different
types
NAMEVALUE:
root.Network.IPAddress=”10.13.17.76”
RAW:
10.13.17.76
![Page 45: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/45.jpg)
Built-in applications – alarm
Send a TCP message to a remote host
![Page 46: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/46.jpg)
Built-in applications – logger
Write messages to a log file
Output example in /var/log/messages:Oct 10 08:13:14 AxisProduct myScript: Up and
running
![Page 47: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/47.jpg)
. . . M A K E Y O U R N E T W O R K S M A R T E R
utask & task.list
![Page 48: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/48.jpg)
utask & (user.)task.list
init
utask
/bin/utask
/etc/task.list/etc/user.task.list
Trigger appTrigger script
/etc/inittab
Task scheduler
![Page 49: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/49.jpg)
Task.list – events
Trigger the script or application ... by time by date by boot by digital input by motion by video input (video servers)
![Page 50: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/50.jpg)
. . . M A K E Y O U R N E T W O R K S M A R T E R
Custom web pages
![Page 51: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/51.jpg)
Custom web pages
Files resident in /etc/httpd/html/ can be viewed from the URL http://<IP address>/local/
![Page 52: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/52.jpg)
boa.conf
Edit the boa.conf file resident in /etc/httpd/conf/
Set the default path to your own filesAlias /index.html /etc/httpd/html/index.htmlAlias / /etc/httpd/html/
Create a CGI directorySriptAlias /local/scripts/ /etc/httpd/html/scripts/
Note! The files resident in the scripts directory must be executable
![Page 53: ... M A K E Y O U R N E T W O R K S M A R T E R Axis Technical Presentation Ian Qvist.](https://reader036.fdocuments.in/reader036/viewer/2022062320/56649d8e5503460f94a77164/html5/thumbnails/53.jpg)
Questions and Answers