Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shiyutim/recognition
车牌识别 demo
https://github.com/shiyutim/recognition
Last synced: about 1 month ago
JSON representation
车牌识别 demo
- Host: GitHub
- URL: https://github.com/shiyutim/recognition
- Owner: shiyutim
- Created: 2020-04-11T15:27:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T03:14:03.000Z (almost 2 years ago)
- Last Synced: 2023-03-21T10:28:29.914Z (over 1 year ago)
- Language: JavaScript
- Size: 228 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 使用阿里云服务进行车牌识别
## 导航
- [前端](#web-recognition)
- [后端](#server-recognition)## web-recognition
前端,使用 React + ant design 构建。因配置跨域请求,所以请求接口地址为:`/api/getCarInfo` 。
#### 使用
```javascript
cd web-recognition
yarn install
npm run start // localhost:3000
```#### 描述
## server-recognition
后端,使用 `node.js` 调用[阿里云接口](https://market.aliyun.com/products/57124001/cmapi020094.html?spm=5176.730005-56956004.0.0.1b7a3524KT3X65#sku=yuncode1409400000),地址为:`http(s)://ocrcp.market.alicloudapi.com/rest/160601/ocr/ocr_vehicle_plate.json`。
#### 使用
```javascript
cd server-recognition
npm install
npm start // localhost:5000
```#### 描述
使用 `express-generator` 生成项目。```javascript
"aliyun-api-gateway" // 阿里云 sdk
"body-parser" // 解析 `post` 请求
```#### 接口
|路径|方法|参数|
| -- | -- | -- |
|/getCarInfo|post|image(base64)|