
Blog - FixedIT Edge UnlockedPractical insights from the frontlines of apps at the edge on Axis devices.






Learn the end-to-end workflow to train, quantize, package, sign, and deploy custom TFLite models as ACAP apps on Axis cameras (optimized for DLPU and production rollouts).
Across industries like security, manufacturing, construction, and logistics, there is a growing need to move from passive video monitoring to real-time, automated decision-making. Traditional video systems generate enormous amounts of data, but without intelligence at the edge, most of that data is never acted upon.
This is where edge AI on Axis cameras changes the game.
By deploying custom deep learning models directly on the camera using ACAP (AXIS Camera Application Platform) you can analyze video streams in real time, reduce bandwidth usage, and trigger actions instantly without relying on cloud infrastructure or on-prem servers. For system integrators, IT companies, and solution providers, this opens up a new class of scalable, high-value solutions that can be deployed close to the physical environment.
Instead of building full-stack systems from scratch, you can leverage an existing ecosystem of open-source ACAP applications, pre-labeled datasets, and deployment tools, and focus your effort where it matters most: solving the customer’s specific problem (you can read more about this mindset in our article "The Winners Won’t Be the Integrators Who Know the Most AI").
Deploying custom deep learning models on Axis cameras is no longer experimental. It is now a practical way to build scalable, production-ready solutions across security, manufacturing, construction, and logistics. By running AI directly on the camera using ACAP (AXIS Camera Application Platform), organizations can move from passive video recording to real-time, automated decision-making without relying on cloud infrastructure or external servers.
This guide presents a complete workflow for taking a use case from idea to a secure and maintainable deployment. It covers data collection and annotation, model training, optimization to TensorFlow Lite format, and packaging into an ACAP application that runs on the camera’s DLPU. Beyond model development, it focuses on what is critical for real-world adoption: validation and verification of model performance, open-source licenses and requirements for distribution, integration with existing systems such as VMS, PLC, MES, and ERP, and the ability to deploy and operate solutions across a fleet of devices.
For executives and technical decision-makers, the key challenge is not building a demo, but delivering a reliable system that can be trusted in production. This includes ensuring that applications are properly signed according to AXIS OS requirements, that deployment workflows are secure and repeatable, and that monitoring and validation processes are in place to maintain performance over time. These aspects are often overlooked in technical guides, but they are essential for reducing risk and enabling long-term value.
The core principle is simple: reuse what already exists and focus on the use case. By leveraging commercial or open-source ACAP applications, proven model architectures, and standardized deployment patterns, teams can significantly reduce development time while improving robustness. This allows system integrators and solution providers to focus on delivering measurable outcomes, rather than building infrastructure.
Whether the goal is to improve safety compliance, automate quality inspection, or optimize logistics operations, this guide provides a structured and field-tested approach to move from prototype to production with confidence.
If you are primarily interested in a simpler and more practical way to get started without going deep into the technical details, you can skip ahead to the section “A Simpler Way to Build and Deploy Edge AI on Axis Cameras”. There, we describe a streamlined workflow where you can work directly in RoboFlow to build and validate your models, while we handle optimization, packaging, signing, and deployment as a production-ready ACAP application.
Custom edge AI applications on Axis cameras are already delivering value across multiple industries:
Security & Surveillance
Go beyond motion detection with intelligent object detection, intrusion alerts, and behavioral analysis running entirely on-device. All Axis cameras today can already detect people and vehicles, but when this is not enough, a custom deep learning model might be the solution. Use cases includes balaclava detection for banks, dog detection for cashierless stores, e-bike detection for traffic monitoring, phone detection for bus drivers, cigarette smoking detection for petroleum industries, etc.
Construction & Personal Safety
Ensure safer worksites by monitoring compliance and detecting risks in real time. While many safety processes today rely on manual supervision or post-incident reporting, edge AI enables continuous, automated enforcement directly on-site, even in environments with limited connectivity. Custom models can be used to detect missing PPE such as helmets, safety vests, gloves, or goggles, as well as identify unsafe behaviors like entering restricted zones, working at height without protection, or operating machinery incorrectly. Cameras can also monitor proximity between workers and heavy equipment or Autonomous Mobile Robots (AMR) to reduce collision risks.
Manufacturing & Quality Assurance
Move quality control closer to the production line by performing visual inspection directly on the edge. Instead of relying on remote monitoring systems or manual inspection, Axis cameras with custom AI models can continuously monitor production in real time. Typical use cases include detecting surface defects, verifying correct assembly of components, or ensuring that required steps in a process have been completed. This can be applied across industries from electronics and automotive to food production and pharmaceuticals. Beyond detection, edge AI can also be used for process monitoring such as counting items or measuring throughput.
Logistics & Operational Efficiency
Optimize flows of goods and assets by turning cameras into intelligent asset tracking and automation points. In logistics environments, visibility and traceability are often limited by manual processes or fragmented systems. While many use cases can be solved by our easier to deploy edge app for visual QR code decoding and tracking, edge AI helps bridge the the gap for the last remaining use cases. Custom models can be used to track assets as they move through facilities, verify that items pass through the correct checkpoints or count assets like pallets waiting in a loading bay. Cameras can therefore monitor congestion, detect bottlenecks, and provide insights into how goods and vehicles (e.g., forklifts, trucks) move within warehouses, terminals, or distribution centers.
All of these use cases follow the same fundamental pattern:
Train a custom deep learning model for your specific task.
Optimize it for edge deployment.
Package it into an existing ACAP application.
Deploy it across your camera fleet.
For integrators and IT professionals, this approach represents a shift from hardware installation to solution delivery, from reactive monitoring to proactive automation and from manual observation to situational awareness.
You can benefit from this without building everything yourself. The Axis ecosystem, combined with open-source tools and existing ACAP applications, allows you to reuse infrastructure and focus on differentiation through your models and use cases.
At its core, computer vision is about teaching machines to interpret images the same way humans do. Instead of using rules written by programmers, modern systems rely on deep learning models trained on data. Rather than explicitly defining what a “helmet” or a “forklift” looks like, you provide the model with thousands of labeled examples, and it learns the patterns automatically.
For the most common and practical use cases on Axis cameras, this comes down to object detection models like YOLO (You Only Look Once). These models take an image as input and output bounding boxes with class labels (e.g., “person”, “helmet”, “pallet”) along with confidence scores. This makes them ideal for real-world automation tasks such as counting objects, verifying conditions, or triggering alerts.
From a system perspective, a computer vision pipeline typically consists of three steps:
Preprocessing: Resizing and formatting the image so it matches what the model expects.
Inference: Running the image through the neural network to generate predictions.
Post-processing: Filtering, thresholding, and interpreting the results into meaningful actions.
For a complete system, this vision pipeline is often extended with further processing, logic and decision making (often done directly in the Axis camera). The system should often also integrate with remote components such as a Video Management System (VMS), Physical security information management (PSIM), Manufacturing Execution Systems (MES), SCADA / Industrial Control System, Enterprise Resource Planning (ERP) system or a proprietary cloud service.
When running deep learning models on edge devices like Axis cameras, this pipeline needs to be highly optimized. Unlike cloud or GPU-based systems, edge hardware has strict constraints on power, memory, and supported operations. This is why models are typically converted and optimized for edge deployment.
Another important concept is that computer vision models are probabilistic, not deterministic. They don’t “know” how things work, they make predictions based on visual patterns they’ve learned. This means that performance depends heavily on the quality and representativeness of the training data, and understanding failure cases is just as important as measuring accuracy.
We will go through all of these aspects in great detail in this extensive "ultimate guide" for object detection deployed to Axis cameras. But, the key takeaway is this that you don’t need to be a deep learning expert to build valuable solutions. If you understand how to frame a problem as a vision task, collect relevant data, and evaluate results, you can leverage existing tools and models to create powerful edge AI applications.
If you want a deeper introduction to the fundamentals of computer vision, we recommend our Computer Vision Crash Course in Python and if you want to dig deep into the complexities of edge-deployed AI we can recommend How to Make YOLO Models Fast on Your Favorite Chip by Ultralytics.
If you are an advanced-level developer or data scientist and you want maximum flexibility while building an edge AI product based on the Axis cameras, then you should take a look at our guide to plan a deep learning project for the ACAP platform. If you're on the other hand just want to get started as quickly and easily as possible with model training and deployment, then we recommend following the simple processes that has been tested both by us at FixedIT.ai, but also by many other companies across the world. This let's you ride on the work and success of other companies and you will start producing real business value in much less time.

The standardized workflow that we will present in this detailed guide is created based on years of experimentation and experience. It's designed to be robust, efficient and should get you from idea to deployed product in the minimal time possible.
The core of the idea is simple: Use what already exist and focus on your use case. The great thing with a good ecosystem like the Axis ACAP is that there are both official open-source examples from Axis, third-party open-source code from independent creators and professional applications from vendors such as FixedIT.ai. Using this, you don't need to reinvent the infrastructure. Instead, all you need to do is to train your own deep learning model, bundle it into an existing application and install it in your cameras.
What we will explore in this guide is:
Methods for data collection. This ranges from using the IP camera's build-in recording functionality, using the camera's built-in event rule engine to upload data to a remote storage or using the FixedIT Data Agent to create advanced real-time logic that allows you to collect only images that actually makes sense for your use case.
Setting up a scalable and efficient annotation workflow using RoboFlow, a tool that can considerably increase the annotation speed and decrease the cost while ensuring you get a high quality dataset that will lead to a good deep learning model.
Training, optimizing and exporting a YOLOv5 deep learning model for object detection tasks. This model is specially tailored to be compatible and efficient when used in DLPU equipped network cameras from Axis.
Using production-ready tools such as TensorBoard and FiftyOne to validate and evaluate the accuracy of your trained deep learning models. This is a prerequisite to deploy production ready models to paying customers.
Using existing edge applications (ACAP apps) for the Axis cameras to deploy your deep learning model as an onboard analytics model that works without internet or server access. We will look at applications such as the official open-source YOLOv5 ACAP app from Axis, the open-source app DetectX and the swiss army knife of ACAP apps: the FixedIT Data Agent. While the first two can be used to run the model inference and the FixedIT Data Agent let's you design and assemble your own edge-based logic and decision making.
Modern AI systems don’t rely on just one processor. Instead, they combine different types of chips, each optimized for a specific part of the workload. The camera's CPU is the general-purpose “brain” that handles coordination, logic, and tasks like image preprocessing and post-processing of the model output, but it’s relatively slow for deep learning math. On a regular deep-learning server, the GPU improves performance by running thousands of operations in parallel, which is why it’s commonly used both for training models and often also for real-time inference.
However, for real-time edge applications, specialized chips like NPUs (Neural Processing Units) and Edge TPUs are becoming the most important: these are purpose-built to run neural networks extremely efficiently, executing the same mathematical operations as CPUs and GPUs but much faster and with far lower power consumption. In a small edge device, power consumption is not only important due to the cost of electricity, it's also important because device overheating is usually the factor limiting how much processing you can get into a small device.
In practice, a system like an Axis camera will often use all of these together, but the purpose-built deep learning hardware is what is used to actually run the model. Since there are multiple types of this hardware (NPU, edge TPU, etc.), Axis use "DLPU" (Deep Learning Processing Unit) as the standard name for them.
This means, that to be able to efficiently run a deep learning model in your Axis camera, you need a camera with a DLPU. You can look for this in the AXIS Product Selector Tool.

The AXIS Product Selector let's you find cameras with edge-deep-learning capabilities. But, they are not all the same.
But, not all DLPUs are created equal. Axis cameras are using different SoC (System on Chip) and depending on the SoC, the DLPU will be a different type of hardware. Since the devices are very specialized to become as efficient as possible, a model created for one DLPU is often not compatible with another DLPU. You can read more about this in the "Finding a camera for deep learning" section of our $12/month ACAP Intro course. Signing up to the course with a debit/credit card directly from our learning portal will give you direct access to the course.
For now, all you need to really know is that the following guide will be applicable to cameras with the ARTPEC-8 and ARTPEC-9 SoCs. We strongly recommend going with the ARTPEC-9 versions.
In difference from traditional computer vision, deep learning models does not require a programmer to explain what describes an object. Instead, they learn by looking at a lot of data. While the benefits are that they can learn to identify an object much more accurately than what a programmer can make traditional algorithms do (in most cases), and that you don't need to hire a programmer that spends months perfecting the algorithms, the drawbacks are that they require a large amount of training data.
A labelled dataset might sound complex, but it's just a collection of images together with some text files that tells the model where the objects of interest are. Since the YOLOv5 model is bounding-box based, we should use axis-aligned rectangles to mark where the objects are located.

A labelled image is simply the raw image plus a text file with the location of bounding boxes around all objects that the model should find. In this example, we have two classes: bottles and caps.
There's no requirements on what tool to use to create this labelled dataset, but what we will look at in this guide is RoboFlow. In another video, we showed how you can do the same completely for free by using the open-source tool LabelStudio running on your own computer. For a commercial project where time is money and where multiple people will collaborate on the same project, we do however recommend using a more professional tool such as RoboFlow. The benefits are many such as automated labeling, built-in version control and team management with limited access to data labelers.

RoboFlow is a paid tool that you can use to accelerate your annotation work. Used right, we find it to be well worth the money, but used wrong it can quickly become expensive.

The base price is a subscription, but many tasks will consume credits that you can either pay for using the "Flex Billing" option or by prepaing for credits.
Roboflow is what you will use to annotate your images (i.e. marking objects of different classes using a bounding box). Of course, it's possible to manually label each object in the image, but since you will likely need thousands of images to create the first acceptable version of the model, it would be a huge waste of time to do all that annotation manually.

The real power of Roboflow comes when you start using iterative approaches to preannotate (auto label) new data using existing versions of your deep learning model. The concept is simple, but in practice, the implementation is often hard.
The basic idea is that if you have a bit of annotated training data, then you can use that to train a first version of a model. This model will not be very good, but it's better than nothing. Now, use this model to propose bounding boxes for all your new training data. Instead of adding every single bounding box from scratch, everything the annotator needs to do is to correct a few proposals that are not correct. After doing this to a few hundred images, train a new model and repeat the process.

Auto labeling with a model trained on a small dataset is not perfect, but it gives a good starting point where a human annotator can do the final corrections. This saves both time to production and salary cost to annotators (which is typically a considerable part of a deep learning project's total costs).
Roboflow can also assist you before you have even trained your first model. Using "Zero-Shot Tools" you can explain in plain language what you are trying to detect, or you can just press a single point in the image and the intelligent models will try to figure out based on their general knowledge what you are trying to label.

By training a model such as RF-DETR, you can quickly automate your labeling processes already with a small dataset. This then allows you to create a larger dataset that can be used to train a deep learning model optimized for the Axis cameras.
The challenge with doing this in the ACAP domain is that models that can be trained in the RoboFlow tool (such as RF-DETR) are optimized to learn quickly from small datasets, but they are not created to be compatible with the DLPU in the Axis cameras. The YOLOv5 model optimized for the Axis cameras is however compatible with the Axis DLPUs, but it does not learn as quickly from small datasets and it's not trivial to use it in RoboFlow. Instead, we have created a workflow where to different models are used for preannotation and for deployment.

Handling edge cases such as partially visible objects in a consistent and intentional manner is of utterly importance to create a good solution for a practical use case.
When annotating, you will discover many edge cases that should be handled in a thoughtful way. This might include partially visible objects, reflections of objects in mirrors or objects out of their normal context. How you handle these edge cases is of utterly importance for the accuracy of your deep learning model. There is no one-size-fits-all solution to this problem, so this is something that we at FixedIT.ai are working on together with our customers. Together, we can use your deep understanding of the domain and our specialist knowledge of deep learning for Axis cameras. If you are interested in assistance in this process, see our ACAP Developer Acceleration Program.
Once your dataset is ready (containing a few thousand images with high-quality annotations), export the dataset in the YOLOv5 format. The simplest option is to download it as a zip file, but when spending a lot of time with it, we recommend an API-based automation.

Now, once you have a dataset comes the time to train a deep learning model. In RoboFlow, you can train a model using only a few button clicks. These models trained in RoboFlow will however not be able to run at the edge in an Axis camera. We published a video a few years ago showing how to do the same process in EdgeImpulse, but that too is a paid platform where it's not trivial to get the model optimized for the Axis cameras.
Many teams are spending months optimizing and adapting different model architectures so that they are compatible with the Axis cameras. While doing so makes sense in some cases, for most projects it's better to start with an existing model. In Axis official model zoo you can find information about different model architectures they have tried in the Axis DLPU cameras.
Many of these models are using complex and outdated frameworks that makes training the model painful for even the most experienced data scientist and machine learning engineers, but one stands out: YOLOv5 by Ultralytics. This model architecture comes with a simple to use training framework where everything from training to evaluation and model exporting is packaged in a single project. This means that no coding is required to train and deploy your own deep learning models (although, some commands needs to be run in a terminal).
One thing to look out for is that even if the default YOLOv5 framework supports model export as TFLite (which is what the Axis DLPUs expects), the model architecture needs to be adapted a bit to make it fully compatible with the Axis DLPU hardware. This process is described in the Axis model zoo. This also has downstream effects such as that the official pretrained weights will not be compatible anymore, but you can instead use a pretrained checkpoint from the Axis model zoo.
Getting over these complexities is another thing that we often help our customers with in the ACAP Developer Acceleration Program. We even have a ready-to-use notebook that make the whole process a matter of minutes instead of hours or even days of experimentation.
In the early phases, a Google Colab notebook can be a good way to get started without any need for infrastructure setup, but since the training can often take hours or days, setting up a more robust pipeline can be a good investment. In our program, we can help you set up infrastructure using e.g. AWS SageMaker that will automatically spin-up a GPU machine only for the duration of the training and then automatically stop it again. This saves both time and hundreds of dollars in training cost.
The journey does not stop once you have trained your first deep learning model. As we wrote before, the benefit with deep learning models is that they learn from examples, not from rules. But this means that it's hard to understand how they are "thinking", when they work and when they will fail. The way to do this is by saving a part of the dataset for validation and verification. On this "clean" part of the dataset, you can now run the model to manually validate the correctness of the model.

In our standardized process for development of a deep-learning based ACAP application for edge deployment, there are multiple steps that are affecting the quality of the application and how much trust you can put in the application.
The evaluation of deep learning models is tightly connected to the project planning and discovery phase. Translating a use case's needs to technical requirements and acceptance criteria for the deep learning model is an art that can only be learned through practice. This is of course another case when companies that are part of the FixedIT ACAP Developer Acceleration Program gets a head start in front of their competitors.

Validation and verification of the ACAP application for the Axis cameras is covered by the FixedIT Quality Shield process.
For edge application development for the Axis cameras (ACAP development), we have created a concrete and practical process called the FixedIT Quality Shield. This process is designed with inspiration from the AXIS Security Development Model and the process and execution is essentially the same regardless if the application is a deep learning application or not. This, again, is a standard part of the offering included in the FixedIT ACAP Developer Acceleration Program.
Another part of the quality assurance process is live monitoring of already deployed software. This is especially important when deploying deep learning models to Axis cameras since there exists such a wide range of hardware and software combinations (hundreds of camera models and hundreds of OS releases). While validation and verification before deployment is important, it can never cover all of those combinations.
The solution to this is to implement good methods for health monitoring post deployment. We covered how this operative dashboard can be implemented using the FixedIT Data Agent in our step-by-step blog post "Video Analytics Performance Dashboards: Combining CV Metrics with AI-Driven Anomaly Detection and a Natural Language Chat Interface".

Monitoring your deep learning models running in production cameras is of great importance to ensure a system is robust and working well.
While all these things are important at a holistic level, let's for now focus on how to evaluate and debug your deep learning model that you have trained on your own dataset.
This is, as with many other parts of the project, something that is made slightly more complex since we are targeting edge deployment with our deep learning model. There are a lot of tools on the market to evaluate deep learning models, but most of them focus on models for use in normal GPUs. With a deep learning model deployed to an Axis DLPU camera, there are essentially three layers of the model that you need to evaluate.

Model evaluation for an edge-deployed deep learning model needs to be done in three steps: 1) original model with high-precision numbers, 2) exported and optimized model for compatibility, 3) exported model running in the deployment DLPU.
When training a YOLOv5 model that should be used in an Axis camera, you will first train a high-precision model (using floating point 32). This is the file called best.pt or best_saved_model from the training script. Some evaluation of this model is done automatically by the training script. Since this evaluation is performed after each epoch during the training, you can see how the model accuracy improved over time while training. This charts are typically what is used to compare different training runs and experiments.

This experiment showing two competitive training jobs shows that one training job took three times longer than the other but only marginally increased the accuracy. Not knowing this would be a big drain of money since the GPU time is expensive.
We make use of a tool called TensorBoard to visualize and compare these metrics, but there are many other tools such as Weights & Biases and MLFlow that also can be used.
The next step in the training/deployment pipeline is to convert the high-precision model to an exported and optimized TFLite model. This is the process that produces the best-int8.tflite file. This optimization phase includes a process called quantization which is a destructive compression, meaning that the exported model will be much smaller and more efficient, but will have slightly lower accuracy than the original model.
In the case of YOLOv5, the process used is called post-training quantization (PTQ). This method is especially sensitive to the distribution in the training data vs. the real-time inference data. The quantization can be performed with either per-tensor or per-channel granularity. Depending on these factors, the accuracy loss can be anything from around a percentage to around 5-10% in accuracy loss. This is a significant difference that can't be ignored in a validation and verification process.
The last aspect that is important to understand for evaluation is that the hardware implementations in the DLPU is an approximation. Even if there exists an exact mathematical explanation of how a model should be executed, the actual implementation in practice takes a lot of shortcuts and makes a lot of approximations to achieve a higher frame rate using less electricity. This means that it's not enough to test the model on your developer computer using the TensorFlow Lite runtime, you also need to actually run the model in the camera's DLPU using the larod service to observe the differences in accuracy. This is not a trivial step if you do not have the right tools for it, therefore, we offer tools in our ACAP Developer Acceleration Program that simplifies and automates this for you. You can see an example of the tools in use in this video.

In this LinkedIn post, Daniel showed an example of a model where the difference between inference results in the camera's DLPU and the host version of the TFLite runtime was pivotal, despite in theory they should be the same. The difference is in a scale of 0-255, meaning that an absolute difference of 25 represents a 10% error.
When evaluating the accuracy and the failure modes of an object detection model, the only practical way for a human to fully understand it and get a high-level intuition of when it works and when it doesn't is to visualize the results on top of images using bounding boxes. This can be done with tools such as FiftyOne, but there's also other tools like ActiveLoop that we showed how to use in this video.

A tool like FiftyOne can be used together with the evaluation and inference tools from the FixedIT ACAP Developer Acceleration Program to visualize the difference between host model inference and DLPU inference in the camera. The green boxes are annotated by a human, the deep-blue boxes are detections from the quantized model on host and the light-blue are detections from the same exact model instead running in the Axis camera's DLPU hardware.
The tool can also be used to inspect many picture's inference results at the same time to further understand and analyze limitations of the model that can be used to iteratively improve the quality of the dataset and trained model.

When using multiple classes (like we do in this case; bottles and caps) it can be useful to reconfigure the colors of the boxes to be set per class instead.

Another aspect that is critical to understand is the real-time performance of the model and the deep learning application. There are a few levers that can be adjusted on the YOLOv5 model to explore the accuracy vs. frame rate trade off. These are:
Input resolution: Decides how large images the deep learning model with look at. This is typically considerably lower than the maximum resolution of the camera. Selecting too small resolution will make it impossible for the model to find objects far away, but too high resolution will make the training very slow, will require larger datasets and will make the inference slow.
Model size factor: The YOLOv5 model comes with different configurations like "nano", "small" and "medium". This configuration controls the depth of the architecture and therefore how much knowledge that can be encoded in the model. A more complex problem where generalization is important requires a deeper model, while a more specialized model can typically be more shallow without noticeable loss in accuracy.
These tools and processes is what differs between a company creating great deep-learning based applications and one that creates products that only works in a demo video but fails in the real life. Being part of the ACAP Developer Acceleration Program gives you access to both the tools, knowledge and experience needed for your team to fully utilize these tools.
Congratulations! So, you have successfully trained a deep learning model that is compatible with the Axis camera's DLPU and now you want to deploy it to a camera and run it live to trigger alarms, alerts or automation workflows?
This is where the ACAP (AXIS Camera Application Platform) really comes in. Depending on the amount of flexibility and customization you need, you might or might not need to do any programming, but anyway, if you have not already done it you should sign up for our $12/month ACAP Intro course and start learning. This course will introduce both the concept of ACAP applications, dive deeper into the Axis cameras as a deployment platform, explore different AXIS OS tracks and much more. This is a must read for anyone who are using Axis cameras for more than trivial video surveillance.
When creating deep learning solutions for a server or host application, the most common language to use is Python. For a while, there was an experimental Python-based SDK for the Axis cameras that made it easier to do quick deployments to the cameras. In a real-life situation, this SDK did however turnout to be suboptimal and problematic, therefore, Axis did deprecate it and it should not be used anymore. This means that creating a new application from scratch would involve a lot of C-programming, cross-compilation and use of low-level libraries. Luckily, there are few reasons to create something from scratch since the ecosystem offering has evolved a lot during the last few years.
When it comes to ready-to-use ACAP applications, you have two open-source options to choose from. The first is Axis' official example application which is intended to be used as inspiration and possibly a base for a production application. The application focuses on demonstrating how to perform the model inference, image preprocessing and detections post processing in an efficient way using zero-copy Direct memory access (DMA). The application also shows how to use the Bounding Box API to draw live detections on the video stream.
That is, however, as far as that application goes. There is no way to configure include or exclude zones and there's no natively supported way to extract or use the live detections. If you prefer to use this one and wants to consume the detection data without doing any programming in C, then you can take a look at the FixedIT Data Agent and how we configured it in this guide to parse detection data from the messages the YOLOv5 app writes to the system log.

The official example application from Axis will run a YOLOv5 model in the camera and draw a live overlay on the video stream, but that's all it does.
The second option is to use the independent open-source application DetectX. This is a more feature complete application that comes with a device user interface where you can configure include zones and output integrations such as MQTT and HTTP push.

The DetectX open-source application offers more configuration of model inference settings and can produce real-time outputs in multiple formats.
For real-world professional use cases, you should consider using an application from a company like FixedIT.ai. This will not only enable more customizations and better integrations, but you can be sure that the application is created to be robust, reliable and production ready.
Another things that you should carefully consider before investing in edge-AI capabilities is the full application life cycle. This includes aspects such as how you will install the application, how you can update the deep learning model and how you can track and detect any issues in the field. You can always schedule a cost-free consultation meeting with us at FixedIT to discuss these aspects.
With a deep learning model running live in the camera, the next thing to consider is how the application should interact with the environment. When using the ACAP SDK to create an edge application for the Axis cameras, there are a few different options for interaction that are by default enabled by the SDK libraries.

Some of the most commonly used features are:
Sending events on the event bus: All Axis cameras (and other Axis devices) has a built-in event bus. An ACAP application can send timestamped events with custom metadata included to this event bus. These events can then be either streamed over RTSP together with the live video, or they can be used in the Axis rule engine to trigger custom actions.
Exposing custom data on the web server: An ACAP application typically exposes HTTP-based APIs and a web-based user interface for configuration and debugging. This interface can be used to expose object detection data, e.g. through an HTTP-based REST API that reports on the current number of objects in the scene.
Showing a live video overlay: As we could see in the official Axis example app for YOLOv5, the application can draw a live overlay on the video feed. This is in most cases used for configuration, validation and debugging. In some cases, doing this might, however, be enough to solve the task. That would be the case for deterrence where you want to show people that they are seen by displaying a live feed with face-detection overlays, or it might be used for augmenting the view for e.g. the officer of the watch or the mate on a ship by automatically detecting other ships and aids for navigation.
Controlling digital outputs, relays or audio equipment: In most cases, this would be performed by having the application trigger an event on the event bus and then configuring an event rule to enable/disable a digital I/O or to send a REST message to an Axis speaker or strobe light. These things can, however, also be controlled directly from the ACAP app. This can be useful to reduce the need of configuration, or to get more flexibility. For example, to play an audio clip when an object is detected, you would get more flexibility and how and what sound the speaker should produce if you stream the audio directly from the application instead of using the event bus.
You can learn more about all this in our webinar "What is an ACAP and how can it benefit you?".
The event bus is an open system that can be extended to a VMS (Video management System), e.g. AXIS Camera Station Pro. The amount of support for Axis-styled and ONVIF-styled events differs from VMS to VMS. For example, the YourSix VMS does not integrate with third-party events from Axis devices (although, you can get around this by using the digital inputs and outputs).

The VMS "YourSix" does not support third-party events, but you can use the I/O peripherals to consume alarms from a third-party ACAP app.
Most VMS software also expose REST APIs or similar that can be used to send custom event and detection data to them for consumption in the VMS or alarm center. For example, AXIS Camera Station Pro exposes an API that can be used to send data and make it searchable. An example of how this can be done using the FixedIT Data Agent can be seen in this work-in-progress PR.

By using the FixedIT Data Agent as a bridge, you can send detection data to AXIS Camera Station Pro and make video searchable based on the detection data.
Custom integrations, custom processing logic and decision making often requires some programming in the ACAP app. For those of you who want a faster to develop and more robust way of doing this, you can however the FixedIT Data Agent as a development platform to build custom data adapters and edge workflows using modern high-level languages like the Python-like Starlark language and the Telegraf framework.

The FixedIT Data Agent platform allows you to build custom edge functionality for Axis cameras in less time, with fewer bugs and more modern tools that are easier to work with.
You can read a developer introduction about the FixedIT Data Agent here and you can read more here about one of the example projects we have created using it. You can also find a repository of example projects here.

Integrations and logic that are not handled by the YOLOv5 deep learning ACAP app can easily be implemented using the FixedIT Data Agent.
People from the process control industry can benefit by thinking about the FixedIT Data Agent similarly to what a PLC can be used for. Our guide "Pattern: From Overwhelming Data Streams to Meaningful Actions" describes this pattern in more detail.

A common pattern is to use a custom edge-deployed deep-learning model together with the FixedIT Data Agent to create custom dashboards for OE/BI.
Many data-heavy use cases depends on a dashboard showing information derived from the deep learning models detections. This might be operational data for optimization or it might be business insights used for strategic planning. You can learn more about this in our webinar "Smarter Insights from Smarter Cameras: Dashboards for Retail and Developers" or by reading the technical article named "Pattern: Using the FixedIT Data Agent with InfluxDB and Grafana to Create Dashboards".
At this point, you have it all figured out. You have collected training data, annotated a dataset, used it to train a custom deep learning model and even deployed it to an edge application running in the Axis cameras, complete with integrations to dashboards, a Video Management System and real-time automation for process control.
What's left now is taking a step back and thinking of the deployment phase, the maintenance phase and the operations of the whole project.
Do You Need to Become an Axis Partner?
There are a few things you should be aware of that relates to the open SDK where anyone can develop applications and the AXIS Technology Integration Partner program (TIP).
Trusted partners, like FixedIT.ai, have a few benefits that other companies do not get:
Ability to sign ACAP applications with a key trusted by the Axis cameras and AXIS OS: This is key to enable simple, secure and robust installation of ACAP applications in your cameras.
Early access to beta firmware: To ensure long-term compatibility with Axis cameras, both experience and access to the early releases of AXIS OS is pivotal.

In AXIS OS 12, a slider can be flipped to allow the installation of unsigned ACAP applications. In AXIS OS 13, this will no longer be possible.
If you are the intended user of your own application, then your only option to sign the application is to work with a trusted partner like FixedIT.ai that can validate and sign the application for you.
If you on the other hand have created a commercial application that you are selling, then you can apply to become a partner so that you can sign your own ACAP app. You can read more about this in the "Finding a camera for deep learning" section of our $12/month ACAP Intro course. This process and everything around it is another thing that we are helping you with in our ACAP Developer Acceleration Program. By guiding you through the process, explaining all the requirements and preparing you for what you need to do and when you can take the different actions, we can minimize risk, confusion and expensive mistakes.
Have You Reviewed the Open Source Licenses?
When using code or software created by someone else you need to think about what open-source license the code or software is released under and how that affects what you are allowed to do with it. This is something that can easily be missed and lead to large penalties or the need to freely share your derived project with someone else against your will. We are not lawyers and this is not legal advice, so you need to read the licenses and make your own conclusions from that.
Generally, the licenses of all components used in this article do allow commercial use. If you are going to use the deep learning ACAP internally for your own operations, then there shouldn't be much to think about. However, if you are going to distribute the ACAP application with your deep learning model in it, then you need to be more careful about what you are and are not allowed to do. This does e.g. apply if you are intending to sell the ACAP application as part of your product.
In our experience, you do not need to worry much about the license of the official Axis example ACAP (Apache-2.0 license) and the DetectX application (MIT). But, you do have to:
Include the original license notice: For both the MIT and Apache-2.0 license, you are obligated to distribute the original license notice together with the application. The ACAP platform has built-in functionality to bundle these license files.
State changes: The Apache-2.0 license also requires you to state any changes that you have done to the code.
Other than this, these two licenses are in our opinion very permissive.
TensorBoard and FiftyOne are also distributed under the Apache-2.0 license which allows for commercial use. These tools are never distributed, only used internally.
The YOLOv5 framework makes it a bit more tricky (AGPL-3.0 license). The license allows commercial use, but there is, however, a requirement that if you distribute the YOLOv5 framework to another user, you need to also provide them with the source code and the build instructions. For AGPL-3.0, providing a service over the network does also count as distribution. This means that if you are providing a web service to someone else and that web service is using the YOLOv5 framework to run deep learning inference or to train a model for them, then you also need to provide them with the code including any modifications that you have done to it. This can e.g. be seen in how RoboFlow had to pay Ultralytics to acquire a commercial license that allows them to use the YOLOv5 framework as part of their service without adopting the AGPL-3.0 license.
But, this is a very different situation from what applies to the use described in this guide and this is where it gets really complex. Nowhere in this article is the YOLOv5 framework used to provide a hosted service for someone else. The framework is used as an internal tool to train your own models, and this does not count as distribution (using open-source tools internally is common practice in most companies). After training the model with the YOLOv5 framework, the model is exported as a TFLite file. In difference from the common inference mode where the YOLOv5 framework is used to run the inference and post processing, the TFLite model can be used without any dependency on the YOLOv5 framework. The YOLOv5 framework is never bundled in the ACAP application.
With this in mind, you should independently review and assess all licence terms. Interpretations may differ between parties until tested in court within the relevant jurisdiction. In addition, factors beyond strict legal liability should be considered. For example, for a startup, the impact on an investor’s due diligence process can be critical.
In this guide, we have focused on how to leverage existing infrastructure, tools and building blocks to build incredibly powerful deep-learning based edge applications and deploy them directly to the Axis IP cameras without any other hardware, servers or cloud connection needed.
If this is not enough for you, there is a whole world of edge-based deep learning to explore. The ACAP SDK is an open platform where you can program your own edge applications in C or C++. The DLPU framework is allowing you to load any compatible TFLite model using the larod library, the VDO video library and the AxOverlay rendering library. While the DLPUs do not support every layer and operation from frameworks such as TensorFlow and PyTorch, they support enough to make most types of architectures compatible. It's not an easy project, but with the collected expertise and tools from the ACAP Developer Acceleration Program it is definitely doable (as you can see in our video "AutoML for AXIS ACAP/DLPU and U-net pixel-wise segmentation").
For this kind of work, we want to again stress the importance of good viability tools such as the FixedIT Data Agent Observer ACAP dashboards that shows camera health and let's you correlate it to your edge application and deep learning inference.

With the FixedIT Data Agent Observer ACAP, you can easily track the health and performance of your cameras over time. For ACAP developers, this kind of visibility is a game changer. You can find an example in this post.
For many teams, the biggest challenge is not the idea or the use case. It is the complexity of the tools, infrastructure, and deployment process. To address this, we have developed a workflow that separates what you need to do from what requires specialized expertise.

With this simple workflow, you can train your own models in the graphical user interface of RoboFlow, but use our team to train an optimized model and package it into a signed ACAP app. This removes all need for infrastructure on your side while still giving you all the flexibility to experiment with the data and annotation.
In this setup, you work entirely in RoboFlow. Using its intuitive interface, you can upload data, annotate images, and train RoboFlow models with a single click that you can then use to auto label new data. This allows you to iterate quickly, validate your use case, and build a high-quality dataset without installing any tools or managing infrastructure. Everything happens in the browser, which makes it accessible even if you are not a machine learning expert.
Once your model shows strong performance and your dataset has reached sufficient scale, we take over the next step. Using your dataset, we train a production-ready YOLOv5 model that is optimized for Axis DLPUs. We then package the model into an ACAP application, ensure it meets compatibility and performance requirements, and sign the application according to AXIS OS security standards.
The result is a fully deployable, production-ready edge AI solution delivered as a signed ACAP application. You get a simple and fast workflow, while we handle optimization, packaging, signing, and deployment using our existing infrastructure and proven processes.
This approach lets you focus on your domain expertise and your use case, while still achieving a robust, scalable, and secure deployment on Axis cameras.
Want to try this workflow with your own use case?
Book a free consultation and we will help you validate your idea, review your dataset, and outline a path to a production-ready ACAP deployment.