noahzhy commited on
Commit
1ed13ab
1 Parent(s): 3a5d9c5

add few bg

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- title: WorldLicensePlateBuilder
3
- emoji: 📉
4
  colorFrom: indigo
5
  colorTo: gray
6
  sdk: gradio
 
1
  ---
2
+ title: World License Plate Builder
3
+ emoji: 🌏
4
  colorFrom: indigo
5
  colorTo: gray
6
  sdk: gradio
app.py CHANGED
@@ -90,6 +90,7 @@ def get_mask(cfg):
90
 
91
  mask, _ = resize_height(mask, 512)
92
  mask_wo_border = mask.copy()
 
93
  mask = mask.filter(ImageFilter.MaxFilter(5)).filter(ImageFilter.GaussianBlur(1.5))
94
 
95
  ord_, _ = resize_height(ord_, 512, nearest=True)
 
90
 
91
  mask, _ = resize_height(mask, 512)
92
  mask_wo_border = mask.copy()
93
+ mask_wo_border = mask_wo_border.filter(ImageFilter.MaxFilter(3)).filter(ImageFilter.GaussianBlur(1.5))
94
  mask = mask.filter(ImageFilter.MaxFilter(5)).filter(ImageFilter.GaussianBlur(1.5))
95
 
96
  ord_, _ = resize_height(ord_, 512, nearest=True)
config/de_car/background/de.jpg ADDED
config/jp_car/background/jp.jpg ADDED
config/jp_car/background/jp1.jpg ADDED
config/jp_car/background/jp2.jpg ADDED
config/kr_car/background/kr.jpg ADDED
config/kr_taxi/background/kr_taxi.jpg ADDED
config/kr_truck/background/kr.jpg ADDED
config/kr_truck/config.yaml CHANGED
@@ -3,6 +3,7 @@ name: "kr_truck"
3
  plateNums: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
4
  plateChars: ["바", "사", "아", "자"]
5
  plateCities: ["서울", "부산", "대구", "인천", "광주", "대전", "울산", "경기", "강원", "충북", "충남", "전북", "전남", "경북", "경남", "제주"]
 
6
  # format is a string including #, A, 0, and @
7
  # # representing any number and letter
8
  # A representing any letter
 
3
  plateNums: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
4
  plateChars: ["바", "사", "아", "자"]
5
  plateCities: ["서울", "부산", "대구", "인천", "광주", "대전", "울산", "경기", "강원", "충북", "충남", "전북", "전남", "경북", "경남", "제주"]
6
+ plateTextColor: "#FFFFFF"
7
  # format is a string including #, A, 0, and @
8
  # # representing any number and letter
9
  # A representing any letter
config/us_cali/0/0_1717504259546480000.png DELETED
Binary file (789 Bytes)
 
config/us_cali/0/0_1718300252502397000.png ADDED
config/us_cali/0/1_1717504259545714000.png DELETED
Binary file (525 Bytes)
 
config/us_cali/0/1_1718300252502587000.png ADDED
config/us_cali/0/2_1717504259545880000.png DELETED
Binary file (944 Bytes)
 
config/us_cali/0/2_1718300252502688000.png ADDED
config/us_cali/0/3_1717504259545966000.png DELETED
Binary file (986 Bytes)
 
config/us_cali/0/3_1718300252502765000.png ADDED
config/us_cali/0/4_1717504259546045000.png DELETED
Binary file (730 Bytes)
 
config/us_cali/0/4_1718300252502838000.png ADDED
config/us_cali/0/5_1717504259546121000.png DELETED
Binary file (835 Bytes)
 
config/us_cali/0/5_1718300252502918000.png ADDED
config/us_cali/0/6_1717504259546192000.png DELETED
Binary file (1.05 kB)
 
config/us_cali/0/6_1718300252503096000.png ADDED
config/us_cali/0/7_1717504259546266000.png DELETED
Binary file (666 Bytes)
 
config/us_cali/0/7_1718300252503214000.png ADDED
config/us_cali/0/8_1717504259546339000.png DELETED
Binary file (1.01 kB)
 
config/us_cali/0/8_1718300252503402000.png ADDED
config/us_cali/0/9_1717504259546410000.png DELETED
Binary file (1.03 kB)
 
config/us_cali/0/9_1718300252503570000.png ADDED