Case Study | Cepsa: Protective Equipment Detection using Video Analytics

Renewable Energy Landscape: scene featuring a windmill and a sprawling solar farm.

Cepsa is a consolidated multinational company in the sector, with years of experience and a team of more than 11,000 professionals across the five continents in which it operates, integrating all phases of the energy value chain.

Cepsa aspires to become a benchmark for sustainable mobility, biofuels and green hydrogen in Spain and Portugal, as well as a key company in the Energy Transition, putting customers at the center of its activity and helping them in their efforts towards decarbonization.

AI in Industrial Working Environments.

In industrial settings, the utilization of safety gear is absolutely essential for carrying out tasks, effectively reducing the occurrence of accidents.

Not using this equipment can increase the number of accidents and the impact of accidents at work. Most current (manual) control systems are expensive and not as effective as desired.

CEPSA is considering replacing manual control mechanisms with solutions based on deep learning models and testing their effectiveness in real environments. Their Data Science team has developed an initial model of image recognition and, in collaboration with Keepler, they are turning this model into a solution with real applicability in their facilities.

    Solution on AWS

    Amazon Web Services logo

    Based on the initial deep learning model developed by CEPSA’s data scientists, the challenge for Keepler was to turn this “laboratory” exercise (Data Lab) into a productive, configurable, scalable and easy-to-deploy solution for the various facilities.

    A multi-disciplinary Keepler team refined and “productized” it by creating a SaaS (Software as a Service) solution with a serverless cloud architecture and deploying the models on supported devices at the Edge to optimize performance and costs. The solution analyzes the images in real time and sends alerts, via email and SMS, when incidents are detected, in this case, workers without the necessary equipment. Through a very simple web interface, it is possible to add new “locations”, new devices or new users, as well as manage the existing ones.

    Keepler adapted the deep learning model to run on different input devices (AI on Edge). The first version can be used on both specific devices (AWS Deeplens) and general purpose ones (Nvidia Jetson Nano), and to ensure its execution in any environment, it was also deployed in a Docker container.

      ^

      The image recognition model was trained and refined using a cloud data science Sandbox.

      ^

      To achieve the best result at the lowest cost, the model was deployed to run locally on compatible devices and was adapted to a camera AWS Deeplens to a module Nvidia Jetson Nano and it was also deployed in a Docker container.

      ^

      SaaS application best practices from the chosen cloud provider were used to ensure that the application took advantage of all the benefits of the public cloud (scalability, security, resilience, reduced cost and operational excellence).

      The solution is based entirely on the use of managed services, which provide a serverless implementation that is easy to maintain, robust, secure and scalable.

      AWS services used were as follows

      5

      AWS DeepLens as a service for the management of the cameras, which has a local model where an AWS Greengrass core is executed.

      5

      AWS Greengrass for communication between the cloud and edge devices via MQTT, allowing automatic deployment of Machine Learning models.

      5

      Amazon S3 to store evidence of security incidents (images and metadata), Machine Learning models and the static frontend of the application.

      5

      AWS Lambda for event processing and REST services that execute the application’s business logic.

      5

      Amazon API Gateway as a REST API manager (access, throttling, versioning) for communication between frontend and backend services.

      5

      Amazon Cognito for access control, identity provider and user authentication.

      5

      Amazon RDS (Aurora Serverless) for storing the solution’s relational information.

      5

      Amazon CloudWatch for monitoring and operation of infrastructure and log management.

      5

      AWS IAM for managing access and permissions to the infrastructure.

      5

      AWS KMS for managing the application’s encryption keys.

      Benefits for the client

      Simple Deployment

      Simple deployment of additional cameras to cover new areas at a reduced incremental cost.

      24/7

      24/7 system operation.

       

      Flexible Deployment for Additional Models

      The solution allows for the easy deployment of additional deep learning models, making it easier to monitor different equipment or adapt it to other uses.

      TCO Reduction

      Reduced TCO thanks to the use of AI on the edge and serverless architecture.

      Incident Storage

      Incidents are stored, enabling the preparation of statistics for the Security or Risk Prevention departments, and predictive models in the future.

       

      Open Solution

      The solution is open and allows the connection with other corporate applications to establish correlations between accidents and equipment in order to take corrective measures.

      Keepler Data Driven Partner Logo

      Keepler is a full-stack analytics services company specialized in the design, construction, deployment and operation of advanced public cloud analytics custom-made solutions. We bring to the market the Data Product concept, which is a fully automated, public cloud services-based, tailored software that adds advanced analytics, data engineering, massive data processing, and monitoring features. In addition, we help our customers transition to using public cloud services securely and improve data governance to make the organization more data-centric.

      Would you like to talk about your business?

      We can help you leverage the power of data to enhance your operations.

      Privacy Overview

      This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.