Information on Air Quality Directly in the Live Stream Thanks to the CamScripter App

Showing a widget with Air quality data in a video feed from an Axis camera.
Data are sent from the World Quality Index and shown directly in the video.

widget with air quality from World Quality Index


About the Project 


Not only are we able to embed data into a live stream from score tables, individual meteorological stations, transit servers, or temperature and internal sensors – this time, we'd like to show you another interesting integration! Air quality is a highly discussed issue around the world. That's why we were asked by the sales engineer of Axis Communications about the possibility of embedding current data on air quality directly into the live stream.

About the World Air Quality Index


The World Air Quality Index project is a non-profit project that started in 2007. Its mission is to promote air pollution awareness for citizens and provide unified and worldwide air quality information. The project is providing transparent air quality information for more than 130 countries, covering more than 30,000 stations in 2,000 major cities.

World Air Quality Index map

 

  

How Does It Work? 


For this solution, an AXIS IP camera that runs the CamScripter App is needed. A micro-application, which is available free at https://github.com, is then downloaded into this application. After filling in the configurations, the micro-application ensures that data is downloaded and depicted from the Air Quality Index project – a widget with the air quality index in a color corresponding to various categories of health impact (according to Air Quality Index metrics). When using it, it's necessary to adhere to the conditions on the project's website.

  

The Result 


This integration is another interesting addition to urban streams and more. "It not only provides interesting added value to our clients' live streams – but it also shows that we can fulfill our clients' requirements using our applications and that we're able to create integrations with specific products for them," adds Filip Hanek, Product Manager of CamStreamer.

World Air Quality Index data shown from Beijing

  

What You Need 



Hardware

• AXIS camera

Software

• CamScripter App

• CamScripter Micro app

• CamOverlay App

• CamStreamer App


CamStreamer Apps logos


Any compatible camera from Axis Communications with an ARTPEC-5/6/7/8 processor can be used for this integration. The full AXIS camera portfolio is available at axis.com – just make sure to check compatibility with CamStreamer apps beforehand.

AXIS camera portfolio

     

How to set up integration of World Air Quality Index: 


1. Download the zip file package aqi_app.zip with our script at https://github.com/CamStreamer/CamScripterApp_packages_to_use

How to set up integration of World Air Quality Index - step 1

2. Install the CamOverlay App and CamScripter App on your camera – download it here: https://camstreamer.com/download-app

3. Upload the zip package named aqi_app.zip to the CamScripter App. Use the button ADD NEW PACKAGE and start the application and configure it via the gear icon.

How to set up integration of World Air Quality Index - step 3

4. In the configuration: fill in the password of the camera, the token for AQI API (you can generate it on the displayed link), and your location (it's best to check it via the AQI website, but usually just the name of the location works, e.g. "London").

How to set up integration of World Air Quality Index - step 4

Tip: Fill in the name of the location displayed in the widget and set the position of your widget, e.g. top right corner.

Graphics are generated directly by the CamScripter App.

How to set up integration of World Air Quality Index - step 5