Presentation is loading. Please wait.

Presentation is loading. Please wait.

... 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.

Similar presentations


Presentation on theme: "... 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."— Presentation transcript:

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

2 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

3 AXIS Dynamic DNS

4

5

6 Camera Electronics and Optics

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

8 CCD size comp. to: H=12.8 V=9.6 D=16 1" H=8.8 V=6.6 D=11 2/3" H=6.4 V=4.8 D=8.0 1/2"H=4.4 V=3.3 D=5.5 1/3" H=3.2 V=2.4 D=4.0 1/4" 1/5 1/6”

9 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

10 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

11 1 CCD Camera Colour CCD Each Pixel has a Colour Filter B/W CCD

12 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

13 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

14 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-FilterCCD

15 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-FilterCCDAGC

16 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-FilterCCDAGCA/D converter

17 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-FilterCCDAGCA/D converterDSP Iris

18 Let´s build a Camera Memory Is keeping the picture until it is ready to be send IR-FilterCCDAGCA/D converterDSP D/A converter Video out Memory Iris

19 Let´s build a Camera Ethernet interface Is where the data is packed for TCP/IP IR-FilterCCDAGCA/D converterDSP D/A converter Video out MemoryEthernet interface RJ45 TP Iris

20 Let´s build a Camera. However!!! AXIS using it´s core technology to make network cameras. ARTPEC ETRAX, ( Ethernet Token Ring, Axis) ARTPECETRAX IR-FilterCCD RJ45 TP AGCA/D converterDSP Compression Ethernet interfaceIris Memory

21 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

22 HTTP command in URL URL address

23 HTTP command with parameters ? = delimiter to parameters & = delimiter to the next parameter. Compression = 0 no compression Compression = 100 max compression

24 HTML commands http://www.w3.org/MarkUp/Guide/ New Page 1 your code here

25 HTML tags title>My first HTML document An important heading A slightly less important heading This is a paragraph. This a link to My best page. hello in red bold = new line

26 Camera Web page 1. Go to demo 2. Right click on white area 3. Click Source

27 Camera Web page HTML code Enter camera IP address You may change as you wish Only camera resolution to be given

28 HI – HIT Web Server One FTP stream Thousands connections to Internet Read the entire manual on following link: http://www.axis.com/techsup/cam_servers/tech_notes/live_video_iis.htm

29 HI –HIT configuration Create the image directory on the Web server. Example: c:\inetpub\ftproot\live Create a Web Server alias (virtual directory) and use this as the image path in the Web page Example: 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

30 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 after 30 seconds if the image has not been updated (default parameter values): http:// /cgi-bin/liveimg.dll?path=/live/image.jpg

31 Axis Camera I/O Control

32 Layout with I/O control

33 Layout with Output Buttons

34 HTTP I/O Check Input Activate Output Note: camera returns status -> web browser get white

35 Scripting in Axis Camera

36 File system and memory / (root) bin/ dev/ lib/ proc/ mnt/ usr/ etc/ (/mnt/flash/etc/) tmp/ var/ (/tmp/var) ROMFS (read only) bin/ – built-in applicatinons, executeable files dev/ – device files lib/ – C-libraries used by applications proc/ – process information usr/ – 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

37 Built-in editor – editcgi http:// /admin-bin/editcgi.cgi?file= Edit files, create new files, browse the file system

38 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

39 ... 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

40 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)

41 Built-in applications – smtpclient Send e-mails with attachment

42 Built-in applications – sftpclient FTP server Upload images to an FTP server

43 Built-in applications – shttpclient  Open an HTTP connection ­ Internally to local host (127.0.0.1) ­ Externally to a remote Web server

44 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

45 Built-in applications – alarm Send a TCP message to a remote host

46 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

47 ... 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

48 utask & (user.)task.list init utask /bin/utask /etc/task.list /etc/user.task.list Trigger app Trigger script /etc/inittab Task scheduler

49 Task.list – events  Trigger the script or application... ­ by time ­ by date ­ by boot ­ by digital input ­ by motion ­ by video input (video servers)

50 ... 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

51 Files resident in /etc/httpd/html/ can be viewed from the URL http:// /local/

52 boa.conf  Edit the boa.conf file resident in /etc/httpd/conf/ ­ Set the default path to your own files Alias /index.html /etc/httpd/html/index.html Alias / /etc/httpd/html/ ­ Create a CGI directory SriptAlias /local/scripts/ /etc/httpd/html/scripts/ Note! The files resident in the scripts directory must be executable

53 Questions and Answers


Download ppt "... 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."

Similar presentations


Ads by Google