Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
charger-node
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ThiefSil
charger-node
Commits
0f2c12a0
Commit
0f2c12a0
authored
4 months ago
by
최 민서
Browse files
Options
Downloads
Patches
Plain Diff
Update file README.md
parent
5e21694a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+67
-0
67 additions, 0 deletions
README.md
with
67 additions
and
0 deletions
README.md
0 → 100644
+
67
−
0
View file @
0f2c12a0
# 충전기 노드
차량의 충전기를 제어하는 C언어 기반 cpp
## 주요 기능
-
PaddleOCR을 이용한 실시간 번호판 텍스트 인식
-
소켓 서버로 번호판 이미지 파일명 수신
-
촬영된 이미지 및 번호판 조회 HTTP API
## 설치 방법
1.
가상환경 생성 및 활성화:
```
sh
# 시스템 패키지를 포함한 가상환경 생성
python
-m
venv
--system-site-packages
venv
# 가상환경 활성화
source
venv/bin/activate
```
2.
필수 라이브러리 설치:
```
sh
pip
install
opencv-python
pip
install
paddlepaddle
pip
install
paddleocr
```
## 사용 방법
OCR 서버 실행:
```
sh
python ocr.py
```
실행 시 다음 서버가 시작됩니다:
-
OCR TCP 서버 (포트 3000)
-
HTTP 서버 (포트 8000)
### API 엔드포인트
-
`GET /api/images`
- 촬영된 차량 이미지 목록 조회
-
`GET /api/plates`
- 추출된 번호판 이미지 목록 조회
-
`GET /images/{filename}`
- 특정 차량 이미지 조회
-
`GET /plates/{filename}`
- 특정 번호판 이미지 조회
## 요구사항
-
Python 3.8 이상
-
OpenCV
-
PaddleOCR
-
PaddlePaddle
## 프로젝트 구조
```
camera-node-ocr/
├── ocr.py # OCR 서버 구현 코드
└── venv/ # Python 가상환경
# 이미지 저장 경로
../images/ # 원본 차량 이미지
../plates/ # 추출된 번호판 이미지
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment