Datasets:
Commit
·
dca0b3b
1
Parent(s):
bbadf3a
data set
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitignore +3 -0
- creditCard.yaml +13 -0
- desc.md +29 -0
- images-vis/test/cc_0.jpg +3 -0
- images-vis/test/cc_1.jpg +3 -0
- images-vis/test/cc_10.jpg +3 -0
- images-vis/test/cc_100.jpg +3 -0
- images-vis/test/cc_101.jpg +3 -0
- images-vis/test/cc_102.jpg +3 -0
- images-vis/test/cc_103.jpg +3 -0
- images-vis/test/cc_104.jpg +3 -0
- images-vis/test/cc_105.jpg +3 -0
- images-vis/test/cc_106.jpg +3 -0
- images-vis/test/cc_107.jpg +3 -0
- images-vis/test/cc_108.jpg +3 -0
- images-vis/test/cc_109.jpg +3 -0
- images-vis/test/cc_11.jpg +3 -0
- images-vis/test/cc_110.jpg +3 -0
- images-vis/test/cc_111.jpg +3 -0
- images-vis/test/cc_112.jpg +3 -0
- images-vis/test/cc_113.jpg +3 -0
- images-vis/test/cc_114.jpg +3 -0
- images-vis/test/cc_115.jpg +3 -0
- images-vis/test/cc_116.jpg +3 -0
- images-vis/test/cc_117.jpg +3 -0
- images-vis/test/cc_118.jpg +3 -0
- images-vis/test/cc_119.jpg +3 -0
- images-vis/test/cc_12.jpg +3 -0
- images-vis/test/cc_120.jpg +3 -0
- images-vis/test/cc_121.jpg +3 -0
- images-vis/test/cc_122.jpg +3 -0
- images-vis/test/cc_123.jpg +3 -0
- images-vis/test/cc_124.jpg +3 -0
- images-vis/test/cc_125.jpg +3 -0
- images-vis/test/cc_126.jpg +3 -0
- images-vis/test/cc_127.jpg +3 -0
- images-vis/test/cc_128.jpg +3 -0
- images-vis/test/cc_129.jpg +3 -0
- images-vis/test/cc_13.jpg +3 -0
- images-vis/test/cc_130.jpg +3 -0
- images-vis/test/cc_131.jpg +3 -0
- images-vis/test/cc_132.jpg +3 -0
- images-vis/test/cc_133.jpg +3 -0
- images-vis/test/cc_134.jpg +3 -0
- images-vis/test/cc_135.jpg +3 -0
- images-vis/test/cc_136.jpg +3 -0
- images-vis/test/cc_137.jpg +3 -0
- images-vis/test/cc_138.jpg +3 -0
- images-vis/test/cc_139.jpg +3 -0
- images-vis/test/cc_14.jpg +3 -0
.gitignore
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
weights
|
2 |
+
train-log
|
3 |
+
*.cache
|
creditCard.yaml
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
path: ./creditCardV0.3
|
2 |
+
train: images/train
|
3 |
+
val: images/val
|
4 |
+
test: images/test
|
5 |
+
|
6 |
+
names:
|
7 |
+
0: creditCardFront
|
8 |
+
1: creditCardBack
|
9 |
+
2: text
|
10 |
+
3: chip
|
11 |
+
4: band
|
12 |
+
|
13 |
+
|
desc.md
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Train size: 3401
|
2 |
+
Val size: 1075
|
3 |
+
Test size: 200
|
4 |
+
|
5 |
+
Classes:
|
6 |
+
Credit card front face
|
7 |
+
Credit card back face
|
8 |
+
Text (lines)
|
9 |
+
Chip (in front face)
|
10 |
+
Band (in back face)
|
11 |
+
|
12 |
+
Training command running from the root of the project:
|
13 |
+
yolo train model=./models/yolov8n.pt data=./datasets/creditCardV0.3/creditCard.yaml epochs=300 imgsz=800
|
14 |
+
|
15 |
+
Command to export as tflite bellow. For some reason the exception [ModuleNotFoundError: No module named 'tensorflow_lite_support'] is raised but the tflite files are created:
|
16 |
+
yolo export model=./datasets/creditCardV0.3/weights/best.pt format=tflite
|
17 |
+
|
18 |
+
Command to test:
|
19 |
+
yolo predict model='./datasets/creditCardV0.3/weights/best.pt' source='./test/T0.jpg'
|
20 |
+
yolo predict model='./datasets/creditCardV0.3/weights/best_float16.tflite' source='./test/T0.jpg'
|
21 |
+
yolo predict model='./datasets/creditCardV0.3/weights/best_float30.tflite' source='./test/T0.jpg'
|
22 |
+
|
23 |
+
Notes:
|
24 |
+
|
25 |
+
This data set has an issue with the chip. For some reason it was not generated correctly for some images.
|
26 |
+
The light in the images needs fixing to avoid white clipping parts of the images.
|
27 |
+
The texture of the plastic is too deep some times.
|
28 |
+
|
29 |
+
For more info: https://docs.ultralytics.com/
|
images-vis/test/cc_0.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_1.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_10.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_100.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_101.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_102.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_103.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_104.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_105.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_106.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_107.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_108.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_109.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_11.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_110.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_111.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_112.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_113.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_114.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_115.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_116.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_117.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_118.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_119.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_12.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_120.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_121.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_122.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_123.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_124.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_125.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_126.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_127.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_128.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_129.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_13.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_130.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_131.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_132.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_133.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_134.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_135.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_136.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_137.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_138.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_139.jpg
ADDED
![]() |
Git LFS Details
|
images-vis/test/cc_14.jpg
ADDED
![]() |
Git LFS Details
|