Skip to content

Commit

Permalink
release v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bobhyun committed Jul 30, 2024
1 parent e3a4b41 commit b649c33
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
7 changes: 7 additions & 0 deletions DevGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ TS_ANPR_ENTRY anpr_read_file(
### 1.3. anpr_read_pixels
๋กœ๋”ฉ๋œ ์ด๋ฏธ์ง€์˜ ๋ฉ”๋ชจ๋ฆฌ ๋ฒ„ํผ์—์„œ ์ฐจ๋Ÿ‰ ๋ฒˆํ˜ธ๋ฅผ ์ธ์‹ํ•ฉ๋‹ˆ๋‹ค.
`v2.3.0`๋ถ€ํ„ฐ๋Š” ์ธ์ฝ”๋”ฉ๋œ ์ด๋ฏธ์ง€ ๋ฒ„ํผ๋ฅผ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
```cpp
TS_ANPR_ENTRY anpr_read_pixels(
Expand All @@ -209,10 +210,13 @@ TS_ANPR_ENTRY anpr_read_pixels(
- ์ด๋ฏธ์ง€ ํ”ฝ์…€ ์‹œ์ž‘ ์ฃผ์†Œ
- `width`:
- ์ด๋ฏธ์ง€ ๊ฐ€๋กœ ํ”ฝ์…€ ์ˆ˜
- ์ธ์ฝ”๋”ฉ๋œ ์ด๋ฏธ์ง€์ธ ๊ฒฝ์šฐ ์ด ๋ฐ”์ดํŠธ ์ˆ˜
- `height`:
- ์ด๋ฏธ์ง€ ์„ธ๋กœ ํ”ฝ์…€ ์ˆ˜
- ์ธ์ฝ”๋”ฉ๋œ ์ด๋ฏธ์ง€์ธ ๊ฒฝ์šฐ ์‚ฌ์šฉ์•ˆํ•จ (๊ธฐ๋ณธ๊ฐ’ `0`์œผ๋กœ ์ง€์ •)
- `stride`:
- ์ด๋ฏธ์ง€ ํ•œ ๋ผ์ธ์˜ ๋ฐ”์ดํŠธ ์ˆ˜ (`0`์ด๋ฉด padding์˜์—ญ์ด ์—†๋Š” ๊ฒƒ์œผ๋กœ ๊ฐ„์ฃผํ•˜๊ณ  ์ž๋™ ๊ณ„์‚ฐ)
- ์ธ์ฝ”๋”ฉ๋œ ์ด๋ฏธ์ง€์ธ ๊ฒฝ์šฐ ์‚ฌ์šฉ์•ˆํ•จ (๊ธฐ๋ณธ๊ฐ’ `0`์œผ๋กœ ์ง€์ •)
- `pixelFormat`:
- ์ด๋ฏธ์ง€ ํ”ฝ์…€ ํฌ๋ฉง
- ์ง€์›ํ•˜๋Š” ํ”ฝ์…€ ํฌ๋ฉง:
Expand All @@ -230,6 +234,9 @@ TS_ANPR_ENTRY anpr_read_pixels(
- `IYUV`: YUV420 (12bpp)
- `NV12`: YUV420 (12bpp)
- `NV21`: YUV420 (12bpp)
- ์ง€์›ํ•˜๋Š” ์ด๋ฏธ์ง€ ์ธ์ฝ”๋”ฉ ํ˜•์‹
- `bmp`, `jpg`, `jpeg`, `png`, `pnm`, `pbm`, `pgm`, `ppm`, `jfif`, `webp`
- `encoded`๋กœ ์ง€์ •ํ•˜๋ฉด ์ด๋ฏธ์ง€ ํ˜•์‹ ์ž๋™ ์ธ์‹
- `outputFormat`: *(`anpr_read_file`๊ณผ ๋™์ผ)*
- `options`: *(`anpr_read_file`๊ณผ ๋™์ผ)*

Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ TS-ANPR์€ ๋”ฅ๋Ÿฌ๋‹ ๊ธฐ๋ฐ˜์˜ ๋Œ€ํ•œ๋ฏผ๊ตญ ์ฐจ๋Ÿ‰ ๋ฒˆํ˜ธ ์ธ์‹ ์—”์ง„์ž…๋‹ˆ๋‹ค

#### [๐ŸŽ ์„ค์น˜ ๋ฐฉ๋ฒ•](Usage.md)

#### [โš–๏ธ ๋ผ์ด์„ ์Šค](LICENSE.md)
---

## ๋ชฉ์ฐจ
Expand All @@ -34,6 +35,24 @@ TS-ANPR์€ ๋”ฅ๋Ÿฌ๋‹ ๊ธฐ๋ฐ˜์˜ ๋Œ€ํ•œ๋ฏผ๊ตญ ์ฐจ๋Ÿ‰ ๋ฒˆํ˜ธ ์ธ์‹ ์—”์ง„์ž…๋‹ˆ๋‹ค
---

## ์ตœ์‹  ๋ฒ„์ „ ์ •๋ณด
#### v2.3.0 ์ถœ์‹œ (2024.7.30)๐ŸŽ‰
1. ์ธ์ฝ”๋”ฉ๋œ ์ด๋ฏธ์ง€ ๋ฒ„ํผ ์ž…๋ ฅ ์ง€์›
`jpg`, `png` ๋“ฑ ์ธ์ฝ”๋”ฉ๋œ ์ด๋ฏธ์ง€ ๋ฒ„ํผ๋ฅผ ์ž…๋ ฅ์œผ๋กœ ์ฐจ๋ฒˆ์ธ์‹ํ•˜๋Š” ๋ฐฉ์‹์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.
*(๋„คํŠธ์›Œํฌ๋กœ ์ „์†ก๋ฐ›์€ ์ด๋ฏธ์ง€๋ฅผ ํŒŒ์ผ์— ์ €์žฅํ•˜๊ฑฐ๋‚˜ ๋””์ฝ”๋”ฉํ•˜์ง€ ์•Š๊ณ  ์ฆ‰์‹œ ๋ฒˆํ˜ธ์ธ์‹ํ•˜๋Š” ๊ฒฝ์šฐ ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค.)*
```python
# ํŒŒ์ด์ฌ ์˜ˆ์ œ
result = anpr_read_pixels(
buffer, # ์ด๋ฏธ์ง€ ์‹œ์ž‘ ์ฃผ์†Œ
length, # ์ด๋ฏธ์ง€ ๋ฐ”์ดํŠธ ์ˆ˜
0, # ์‚ฌ์šฉ์•ˆํ•จ
0, # ์‚ฌ์šฉ์•ˆํ•จ
'jpg', # ์••์ถ• ์ด๋ฏธ์ง€ ํ˜•์‹
'json', # ๋ฒˆํ˜ธ์ธ์‹ ๊ฒฐ๊ณผ ์ถœ๋ ฅ ํ˜•์‹
'vms' # ๋ฒˆํ˜ธ์ธ์‹ ์˜ต์…˜
)
```
2. ์ธ์‹๋ฅ  ํ–ฅ์ƒ

#### v2.1.3 ์ถœ์‹œ (2024.6.18)๐ŸŽ‰
1. ์ธ์‹ ์„ฑ๋Šฅ ํ–ฅ์ƒ
- ์ž๋™์ฐจ ํ›„๋ฉด ๊ทผ์ ‘ ์ดฌ์˜ ์ด๋ฏธ์ง€์—์„œ ๋ฏธ์ธ์‹ ํ˜„์ƒ ๊ฐœ์„ 
Expand Down

0 comments on commit b649c33

Please sign in to comment.