分享好友 最新动态首页 最新动态分类 切换频道
人工智能-系列工具(文字识别、人脸检测、图像理解)
2024-12-26 07:50
English | [简体中文](README_zh-Hans.md) <p align="center"> <h3 align="center">AI Solution Kit</h3> </a> </p> <p align="center"> Common Machine Learning Features Kit </p> <p align="center"> <a href=https://download.csdn.net/download/weixin_39108752/"https://awslabs.github.io/aws-ai-solution-kit/en/"><strong>Documentation</strong></a> · <a href=https://download.csdn.net/download/weixin_39108752/"https://github.com/awslabs/aws-ai-solution-kit/releases"><strong>Changelog</strong></a> · <a href=https://download.csdn.net/download/weixin_39108752/"#feature-list"><strong>Feature List</strong></a> </p> <p align="center"> <a href=https://download.csdn.net/download/weixin_39108752/"https://opensource.org/licenses/Apache-2.0"><img src=https://download.csdn.net/download/weixin_39108752/"https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg" alt="Apache 2.0 License"></a> <a href=https://download.csdn.net/download/weixin_39108752/"https://github.com/awslabs/aws-ai-solution-kit/actions/workflows/build-template.yml"><img src=https://download.csdn.net/download/weixin_39108752/"https://github.com/awslabs/aws-ai-solution-kit/actions/workflows/build-template.yml/badge.svg" alt="Build badge"></a> <a href=https://download.csdn.net/download/weixin_39108752/"https://github.com/awslabs/aws-ai-solution-kit/actions/workflows/build-container.yml"><img src=https://download.csdn.net/download/weixin_39108752/"https://github.com/awslabs/aws-ai-solution-kit/actions/workflows/build-container.yml/badge.svg" alt="Build badge"></a> <a href=https://download.csdn.net/download/weixin_39108752/"https://github.com/awslabs/aws-ai-solution-kit/releases"><img src=https://download.csdn.net/download/weixin_39108752/"https://img.shields.io/github/v/release/awslabs/aws-ai-solution-kit?include_prereleases"></a> </p> <br/> ## Introduction This repository contains several pre-trained deep learning models based on AWS Lambda and Amazon SageMaker, for example: general OCR, text similarity, face detection, human image segmentation, image similarity, object recognition, image super resolution (see full list below). By this project, you can download these dockerized modules from Amazon Elastic Container Registry(ECR) and create REST APIs on Amazon API Getaway. Once the project deployed, you can call the REST API to use these features easily. <div align="center"> <img src=https://download.csdn.net/download/weixin_39108752/"https://download.csdn.net/download/weixin_39108752/docs/imgs/ocr_1.png" width="400"> <img src=https://download.csdn.net/download/weixin_39108752/"https://download.csdn.net/download/weixin_39108752/docs/imgs/object_1.png" width="400"> <img src=https://download.csdn.net/download/weixin_39108752/"https://download.csdn.net/download/weixin_39108752/docs/imgs/similarity_1.png" width="400"> <img src=https://download.csdn.net/download/weixin_39108752/"https://download.csdn.net/download/weixin_39108752/docs/imgs/resolution_1.png" width="400"> <img src=https://download.csdn.net/download/weixin_39108752/"https://download.csdn.net/download/weixin_39108752/docs/imgs/segmentation_1.png" width="400"> <img src=https://download.csdn.net/download/weixin_39108752/"https://download.csdn.net/download/weixin_39108752/docs/imgs/face_1.png" width="400"> </div> ## Feature List ### **Optical Character Recognition(OCR)** | **Feature Name** | **Description** | |--------------|-------------| |General OCR (Simplified Chinese)|Recognize and extract Simplified Chinese, numbers, alphabetical characters and symbols| |General OCR (Traditional Chinese)|Recognize and extract Traditional Chinese, numbers, alphabetical characters and symbols| |Custom OCR|Recognize and extract structured text by predefined OCR templates| |Car License Plate|Recognize text on Chinese car license plate| ### **Facial & Body** | **Feature Name** | **Description** | |--------------|-------------| |Face Comparison|Compare two faces of same person and return a confidence score of the similarity| |Face Detection|Detect the face in a image and return coordinate information of the face| |Human Attribute Recognition |Recognize the attributes of the human body in the image| |Human Image Segmentation|Segment human bodies from background and return the alpha channel| ### **Image Understanding** | **Feature Name** | **Description** | |--------------|-------------| |Image Similarity|Compare two images and return similarity score| |Object Recognition|Segment human bodies from background and return the alpha channel| |Pornography Detection|Detect pornographic image in three dimensions (normal, sexy, porn) and return confidence scores| ### **Computer Vision Production** | **Feature Name** | **Description** | |--------------|-------------| |Image Super Resolution|Upscale the resolution and enhance details in the images.| ### **Natural Language Understanding(NLU)** | **Feature Name** | **Description** | |--------------|-------------| |Text Similarity|Compare two Chinese words or sentences and return similarity score.| ## Quick deployment This project is an AWS [Cloud Development Kit(CDK)](https://aws.amazon.com/cdk/) project written in Typescript, if you want to use the above deep learning features without building the entire project, you can use the Amazon CloudFormation template to deploy feature APIs quickly, the generated Amazon CloudFormation template is available at: https://aws-gcr-solutions.s3.amazonaws.com/Aws-gcr-ai-solution-kit/v1.3.0/AI-Solution-Kit.template Below is the quick links to launch the AWS CloudFormation template into your AWS account Region name | Region code | Launch --- | --- | --- Global regions(switch to above region you want to deploy) | us-east-1(default) | [Launch](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/template?stackName=AI-Solution-Kit&templateURL=https://aws-gcr-solutions.s3.amazonaws.com/Aws-gcr-ai-solution-kit/v1.3.0/AI-Solution-Kit.template) AWS China(Beijing) Region | cn-north-1 | [Launch](https://cn-north-1.console.amazonaws.cn/cloudformation/home?region=cn-north-1#/stacks/create/template?stackName=AI-Solution-Kit&templateURL=https://aws-gcr-solutions.s3.cn-north-1.amazonaws.com.cn/Aws-gcr-ai-solution-kit/v1.3.0/AI-Solution-Kit.template) AWS China(Ningxia) Region | cn-northwest-1 | [Launch](https://cn-northwest-1.console.amazonaws.cn/cloudformation/home?region=cn-northwest-1#/stacks/create/template?stackName=AI-Solution-Kit&templateURL=https://aws-gcr-solutions.s3.cn-north-1.amazonaws.com.cn/Aws-gcr-ai-solution-kit/v1.3.0/AI-Solution-Kit.template) Once the AWS CloudFormation template is opened in your AWS account, you can choose the deep learning features in the **Parameters** section, the step-by-step instruction is available at: https://awslabs.github.io/aws-ai-solution-kit/en/deployment/ ## Build from source You can also build this project from source. ### Prerequisites - An AWS account - Configure [credential of aws cli](https://docs.aws.amazon.com/zh_cn/cli/latest/userguide/cli-chap-configure.html) - Install node.js LTS version, such as v14.x - Install Docker Engine - Install the dependencies of solution via executing command ```shell yarn install && npx projen ``` - Initialize the CDK toolkit stack into AWS environment(only for deploying via **AWS CDK** first time) ```shell yarn cdk-init ``` ### Deploy project You can clone this repository to create a local copy on your computer and build this project in root directory by yarn. - [Optional] Build docker images by yarn and push to an Amazon ECR repository ```shell yarn build-containers ``` You can push images to an Amazon ECR repository, the step-by-step instructions is available at: https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-push-ecr-image.html Once the docker images pushed to Amazon ECR repository, please replace the *ecr registry* in *.projenrc.js* file in project root directory. ``` context: { ecrRegistry: 'your-ECR-registry', } ``` - Build CDK project ```shell yarn build ``` - Deploy CDK project *Note* If you do not build docker images, the ECR registry for pre-trained images will use default 'public.ecr.aws/aws-gcr-solutions/aws-gcr-ai-solution-kit' Once the project built, you can deploy to your AWS account. ```shell yarn deploy ``` Once the project deployed, please log in to your AWS console, choose to active deep learning features by updating the Amazon CloudFormation stack. The step-by-step instructions is available at: https://awslabs.github.io/aws-ai-solution-kit/en/deploy-add-delete-api/ ## Architecture This project contains two types of implementation: Building on AWS Lambda and building on Amazon SageMaker. *Note* The Amazon SageMaker type implementation is only available for image super-resolution feature. - Building on AWS Lambda ![Architecture](docs/zh/images/arch-lambda.png) 1. Sending API requests to Amazon API Gateway. The request payload needs to contain the processed image or text. 2. Amazon API Gateway sends received user requests directly to AWS Lambda functions.
最新文章
抖音小店报白怎么联系到小二沟通? 2024技术攻略!(超好用)
报白怎么联系到小二沟通?这是很多抖音小店主经常面临的困扰。在加快营销升级步伐的2024年,我们为您提供了一份超好用的技术攻略,帮助您轻松解决这个问题。我们将从用户视角出发,为您揭示报白背后的联系小二秘密。当您想要了解小店详情、
如何删除360导航并且自定义各浏览器搜索主页
注意:此时只是锁定变更了,并没有设置好主页。 设置好以后关闭浏览器重新进入就可以了。
【Magna(移动4G)应用宝下载】LG Magna 移动4G应用宝8.8.6免费下载
(Android)是腾讯应用中心倾力打造的手机应用商店,致力于为用户丰富、优质、个性化的安卓软件资源和一站式的下载管理体验,全方位覆盖用户的下载、管理、收藏、分享、等多样化需求应用宝2024更新内容1、修复了一些已知的bug应用宝6.7更新
国外直播卖货平台排行榜出炉
国外直播卖货平台崛起,中文平台如何脱颖而出?随着全球化电商趋势的不断发展,国外直播卖货平台日益崭露头角。在这一浪潮中,中文平台如何把握机遇,脱颖而出,成为业界关注的焦点。本文将为您剖析当前国外直播卖货平台的现状,并探讨哪些
陌生城市如何引流,引流三大秘诀大公开286
初到一个陌生城市,如何迅速引流,为自己建立人脉和业务基础,是一个让许多人头疼的问题。本文将为你揭秘陌生城市引流的三大秘诀,助你快速建立人脉,拓展业务。一、主动出击,积极参与当地活动想要融入一个陌生的城市,最直接的方法就是主
扬州常规网络推广成本
扬州的常规网络推广成本会受到多个因素的影响,包括推广的渠道、目标受众的规模、推广的时长等。以下是一些常见的网络推广方式及其大致费用: 1. 百度竞价广告(百度SEM) - 费用结构:按点击付费(CPC)。 - 成本估算:根据行业竞争情况和
轻松掌握,TP钱包购买Luna币详细教程,新手也能快速上手!
在数字货币领域,LUNA(Terra Luna)作为一个备受瞩目的项目,吸引了不少投资者的目光,对于想要进入这一领域的新手来说,使用TP钱包进行交易是一个不错的选择,本文将详细介绍如何在TP钱包上购买LUNA币,帮助你快速成为数字货币市场的参与
正版资料免费精准新奥生肖卡,动态说明分析_1440p16.183
  澳门特别行政区政府高度重视民众的文化生活需求,不断推出新的政策措施以刺激经济和文化的发展。近期,澳门推出的“正版资料免费精准新奥生肖卡”政策受到了广泛关注,旨在丰富市民的文化娱乐生活,同时促进数码创新与传统生肖文化的结
图像转换网页外链构建计划和执行方案
建立一个强大的外链档案对于提升网站在搜索引擎结果页面 (SERP) 上的可见度至关重要。对于图像转换网页而言,获取相关且高质量的外链尤其重要,因为它可以表明该网站是图像转换方面的权威。本文概述了一个详细的网站外链构建计划,旨在帮助
人到中年,事业难突破,投3万和姐姐开店,现日营业额两三千,目标是4000
很欣慰看到段老板发过来的一些案例。人到中年,如果事业不顺,甚至失业,压力是很大的,能找到突破口不容易。看看这位老板怎么做的:大鹏是一位 80 后,此前从事过多种工作,人到中年事业上很难突破,家中上有老下有小,逐渐萌生了在家附近
相关文章
推荐文章
发表评论
0评