AWS Public Sector Blog

Reducing transcription costs by 60% using AWS AI/ML services

AWS branded background design with text overlay that says "Reducing transcription costs by 60% using AWS AI/ML services"

In the world of law enforcement and justice, every piece of evidence has a significant impact. From recorded testimonies to jail cell conversations, audiovisual files can play an important role in accurately documenting evidence that can make or break a case. Delivering these files in an easily accessible manner enables district attorneys to thoroughly evaluate and analyze evidence for presentation in court.

Challenges

The process of transcribing video or audio files has traditionally been manual and time-consuming, leading to error-prone and costly services that can negatively affect the integrity of legal proceedings. Beyond the need for accurate and cost-effective transcriptions, attorneys have determined a need for timestamping capabilities, speaker identification, search and replace capabilities, the highlighting of specific words, editing capabilities, and most importantly, shortened turnaround times.

Solution overview

To address the need for quicker turnaround and more accurate transcription of audiovisual files, the Contra Costa County (CCC) District Attorney’s (DA) Office reached out to Amazon Web Services (AWS) and partnered with AWS Partner ScaleCapacity to develop a solution that would automate the manual transcription process. The solution needed to be able to identify words with low confidence scores and specific words of interest on a case-by-case basis.

The CCC DA’s Office determined the best approach was to build a solution that is cloud-based and serverless and provided a secure, efficient, and scalable system with a user-friendly interface. The three parties collaborated to identify application and functionality requirements and developed the application according to CCC requirements. The application is integrated with Microsoft Azure AD for single sign-on authentication.

Figure 1 provides a high-level view of the application flow.

Figure 1. High-level workflow of the solution described in this post.

The solution includes the following AWS services:

  • Amazon CloudFront – A content delivery network (CDN) service built for high performance, security, and developer convenience
  • Amazon Cognito – A service that helps you implement customer identity and access management into your web and mobile applications
  • Amazon EventBridge – A serverless event bus that helps you receive, filter, transform, route, and deliver events
  • Amazon CloudWatch – A service that monitors applications, responds to performance changes, optimizes resource use, and provides insights into operational health
  • AWS Transcribe – A fully managed, automatic speech recognition (ASR) service
  • AWS Lambda – A serverless computing service
  • Amazon API Gateway – A fully managed service to create, publish, and manage APIs at scale
  • Amazon Simple Storage Service (Amazon S3) – For highly scalable and durable object storage
  • Amazon DynamoDB, a fully managed NoSQL database service

Access to the application is provided using single sign-on (integrated with Azure AD and Amazon Cognito). CloudFront distribution is used to serve the application, and Cognito is an identity provider for authentication and authorization. 

Figure 2 provides a high-level view of the application infrastructure architecture.

Figure 2. High-level architecture diagram of the solution described in this post.

Solution walkthrough: Reducing transcription costs using AWS AI/ML services

The solution proceeds following these steps:

  1. Attorneys and case analysts upload audio and video evidence collected using a variety of methods (body-worn cameras, recorded interviews, jail calls) through the user interface. The user identifies specific words of interest to be highlighted in the document and initiates the transcription process.
  2. Within a few seconds, a transcription document is generated, which not only identifies words of interest specified by the user but also identifies transcribed words with low confidence scores for further confirmation.
  3. Once transcribed, the user has access to an interface to view and edit transcribed data along with a media player to play audiovisual content.
  4. The transcription includes speaker ID assignments, leaving speaker names to be populated by the user.
  5. The corresponding transcribed data is highlighted as the media file plays.
  6. Timestamps on the transcribed content correlate to timestamps on the uploaded media file, allowing side-by-side comparison and the ability to edit the transcribed document.
  7. Search and search and replace features allow for faster editing time.
  8. Additional features include keystrokes to play, pause, rewind, and fast forward.
  9. The final document can be downloaded as a Word document on the user’s desktop.

Next steps and enhancements

Current enhancement plans include transcription of non-English audiovisual files with the capability of translating the transcribed content to English.

The developed solution supports the most common audiovisual formats, allows for batch uploads of 10 raw audiovisual files, and supports transcription of audiovisual files in multiple languages. Future enhancements will provide the option to translate documents from another language into English.

Customer response

The Contra Costa County DA’s Office is thrilled with the application. The faster, user-friendly interface was embraced by personnel, and an immediate cost savings of about 60 percent was realized. The settings were easily configured to meet compliance requirements, including a customized retention period for uploaded and transcribed files. The transcription application improved CCC’s transcription turnaround time from days to minutes with about 80 percent accuracy prior to editing, maintaining the reliability of the evidence presented in court with lower costs and greater speed.

Conclusion

By working with AWS and AWS Partner ScaleCapacity, the Contra Costa County District Attorney’s Office achieved its goal of increasing turnaround times and improving the accuracy of transcription of audiovisual files with lower costs. To learn more about how to use AWS services and partners to improve speed and accuracy in transcription, contact your AWS account representative.

Ekta Vasa

Ekta Vasa

Ekta is a solutions architect for Amazon Web Services (AWS) based in San Francisco. She supports state and local government entities and K12 organizations. Ekta is a trusted advisor by providing best practices and technical recommendations during a customer’s cloud adoption journey. Prior to AWS, she spent more than five years in full stack software development and DevOps with product engineering companies.

Abhijit Gaonkar

Abhijit Gaonkar

Abhijit Gaonkar is a senior DevOps engineer and AWS solutions architect at ScaleCapacity. He has spearheaded multiple cloud migration and modernization projects for public sector clients. His deep understanding of the challenges posed by legacy systems, combined with his expertise in delivering AWS Cloud solutions, has been instrumental in driving customer success.

Javeed Shaik

Javeed Shaik

Javeed Shaik is a director of cloud platform engineering at ScaleCapacity. Over a career of 23 years, he has led multiple data center modernizations, cloud migration, and application modernization for Fortune 100 and Fortune 500 companies and large public sector customers. His unique ability to find innovative solutions to business challenges has been a key contribution to customer success.