Top Banner
. . . 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
53

Axis Technical Presentation

Jan 08, 2016

Download

Documents

nemo

Axis Technical Presentation. Ian Qvist. 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. AXIS Dynamic DNS. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Axis Technical Presentation

. . . 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: Axis Technical Presentation

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: Axis Technical Presentation

AXIS Dynamic DNS

Page 4: Axis Technical Presentation

AXIS Dynamic DNS

Page 5: Axis Technical Presentation

AXIS Dynamic DNS

Page 6: Axis Technical Presentation

Camera Electronics and Optics

Compression CPU

Flashmemory

DRAM

EthernetInterface

Camerafunctions

Lens Optical filter Image sensor

Page 7: Axis Technical Presentation

Introduction to cameras

A video sensor (CCD or CMOS) capture the light to create an electric signal

Page 8: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

1 CCD Camera

Colour CCD

Each Pixel has a Colour Filter

B/W CCD

Page 12: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

HTTP command in URL

URL address

Page 23: Axis Technical Presentation

HTTP command with parameters

? = delimiter to parameters & = delimiter to the next parameter.

Compression = 0 no compressionCompression = 100 max compression

Page 24: Axis Technical Presentation

HTML commands

http://www.w3.org/MarkUp/Guide/

<html>

<head> <title>New Page 1</title> </head>

<body> your code here </body>

</html>

Page 25: Axis Technical Presentation

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: Axis Technical Presentation

Camera Web page

1. Go to demo

2. Right click on white area

3. Click Source

Page 27: Axis Technical Presentation

Camera Web page HTML code

Enter camera IP address

You may change as you wish

Only camera resolution to be given

Page 28: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

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: Axis Technical Presentation

Axis Camera I/O Control

Page 32: Axis Technical Presentation

Layout with I/O control

Page 33: Axis Technical Presentation

Layout with Output Buttons

Page 34: Axis Technical Presentation

HTTP I/O

Check Input

Activate Output

Note: camera returns status -> web browser get white

Page 35: Axis Technical Presentation

Scripting in Axis Camera

Page 36: Axis Technical Presentation

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: Axis Technical Presentation

Built-in editor – editcgi

http://<IP address>/admin-bin/editcgi.cgi?file=<file>

Edit files, create new files, browse the file system

Page 38: Axis Technical Presentation

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: Axis Technical Presentation

. . . 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: Axis Technical Presentation

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: Axis Technical Presentation

Built-in applications – smtpclient

Send e-mails with attachment

Page 42: Axis Technical Presentation

Built-in applications – sftpclient

FTP server

Upload images to an FTP server

Page 43: Axis Technical Presentation

Built-in applications – shttpclient

Open an HTTP connection Internally to local host (127.0.0.1) Externally to a remote Web server

Page 44: Axis Technical Presentation

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: Axis Technical Presentation

Built-in applications – alarm

Send a TCP message to a remote host

Page 46: Axis Technical Presentation

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: Axis Technical Presentation

. . . 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: Axis Technical Presentation

utask & (user.)task.list

init

utask

/bin/utask

/etc/task.list/etc/user.task.list

Trigger appTrigger script

/etc/inittab

Task scheduler

Page 49: Axis Technical Presentation

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: Axis Technical Presentation

. . . 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: Axis Technical Presentation

Custom web pages

Files resident in /etc/httpd/html/ can be viewed from the URL http://<IP address>/local/

Page 52: Axis Technical Presentation

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: Axis Technical Presentation

Questions and Answers