VOOZH about

URL: https://thenewstack.io/how-to-easily-add-ai-to-your-applications/

⇱ How to Easily Add AI to Your Applications - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-11-28 10:44:34
How to Easily Add AI to Your Applications
sponsor-oracle,sponsored-post-contributed,
AI / Software Development

How to Easily Add AI to Your Applications

For organizations wanting to derive value from AI quickly, managed services that allow them to integrate AI with their applications may be the answer.
Nov 28th, 2023 10:44am by Jason Monden
👁 Featued image for: How to Easily Add AI to Your Applications
Image from metamorworks on Shutterstock.
Oracle sponsored this post.

AI is powerful, but its innate complexity can give potential business users pause. For many organizations wanting to derive value from AI quickly, managed services that allow them to integrate AI with their applications may be the answer.

The good news is that such managed AI services, which mask complexity from the user, are available. Two key things to consider before going this route are:

  • 1: What capability does the company want to build (or what process does it want to automate)? and
  • 2: How does this need to run based on use case, location and regulatory requirements?

Start with the End in Mind

With AI, the entire process starts with data. The initial objective is to define the type of data required, its sources and the AI service needed.

For example, a manufacturer interested in automating processes to reduce human error, cut costs and increase efficiency in building products will need AI to use images. Images can be captured with stationary cameras or drones depending on the state and location of the finished goods being photographed. Computer vision AI is required for these applications.

Training Versus Inferencing

One advantage of managed AI services is that they take care of training and inferencing. The user simply fine-tunes data for training and calls an API to handle inferencing on the service and model.

This approach is very developer-friendly, allowing the organization to experiment and implement quickly. In addition to automatically handling underlying infrastructure and software for training and inferencing, the services scale those invisible components as needed, with the user interacting at an API level. They are also extremely cost-effective, usually only charging per API call.

The types of data and methods of data capture will differ depending on whether the organization focuses on training or inferencing. Inferencing is the data capture setup needed when the AI is about to go into production. This can be viewed as a preset autonomous drone route. If a model requires custom training, data needs to represent different aspects of possible scenarios. For images, it’s essential to consider lighting, angles, shading and many stages of what may be encountered in the process. These stages could be different lengths of steel pipes and beams.

Where Do I Get Training Data?

Useful data is often scattered across different systems within a business. Occasionally, external data from a specific outside repository or public sources will also be needed.

Importing data, which comes in different forms, requires cleansing and restructuring to be consistent with project initiatives. Once those methods are worked out, the user can create a pipeline that automates the process from data import to data cleansing to data labeling. A labeled data set is the starting point to the AI customization process.

Following a computer vision example, the user could bring in many pipe images showing different angles, lighting, shapes, lengths, quantities and other criteria. Source images would look something like this:

👁 Image

Once source images are collected, the company will create a data set that can be used for custom training. In this process, the AI must be trained for object detection and to spot where a particular object is within an image. This is done by labeling source images with metadata, using what are called bounding boxes. These provide exact coordinates of the object(s) within an image that explain to the model what to look for, taking into consideration various criteria and scenarios mentioned earlier. A labeled image would look like this:

👁 Image

A completely labeled data set will typically be put in object storage for referral by the computer vision AI service when running a model customization. Model customization fine-tuning usually takes 24 hours or less.

When testing the model, users must watch “the confidence factor.” The model will say, in percentage terms, how confident it is that it identified an object. Model accuracy can be gauged by these reported confidence percentages. Usually, 90% or greater results in a very consistent and accurate finding. Users should determine which factors work best for a given scenario and build this logic into the application, as the confidence factor will be included in the API response when the application makes a call to the managed AI service.

The API response will include other details of the findings. In the computer vision case, it will provide the coordinates of where, exactly, on the image it found the object. This enables businesses to do more with the results. They might want to draw the bounding box on the image to show where AI found the object or how many of the objects it found.

The AI Service Is Ready to Go, Now What?

Finally, businesses must consider where and how to deploy AI. They need to think about the data source when in production, and how quickly the AI needs to respond to meet internal and customer needs. If the AI is in the public cloud, it can take time for data to transmit to the public cloud, run through the AI service, generate a response and for the application to act.

If a drone or camera is used, how often should images be updated? What is the expected response time? For images sent every minute, a 30- to 60-second response time is a reasonable expectation for the public cloud. If lower latency, higher volume or closer to real-time responses is required, AI service should be deployed closer to the data source.

Other considerations include regulatory, sovereignty, security and other restrictions. In such cases, all data and AI services must operate either in a cloud region that meets those requirements or in a service that accommodates different geographic deployment models without compromising capabilities.

There are many useful AI services available. This article referred to OCI Vision, but other services include OCI Object Storage, OCI Data Labeling and OCI Modern Data Platform.

While there is broad AI support across all mainstream programming languages, Python has many great libraries to help streamline packaging an application that uses these types of AI services. You can find many live labs from Oracle that make AI services easy to learn and use.

Oracle offers a wide range of technologies for building, testing, and maintaining applications in the cloud and in your data center. Find free tools and learning resources at oracle.com/developer
Learn More
The latest from Oracle
TRENDING STORIES
Jason Monden is director of product management for Oracle Cloud Infrastructure. For over 20 years, Jason has been leading and advising Fortune 500 and startup companies alike. He has focused on enterprise technologies, cloud adoption, application modernization and most recently...
Read more from Jason Monden
Oracle sponsored this post.
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.