Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
We use a modified AlexNet to perform 6-class classification on bone joint fluid
|
| 5 |
+
|
| 6 |
+
#Image Preprocess
|
| 7 |
+
|
| 8 |
+
The original test strip image samples vary in size, so the system first adjusts all test strip images to a uniform size of 100*100 using linear interpolation.
|
| 9 |
+
|
| 10 |
+
Use random cropping to crop 100100 images into 8080 images. Random cropping increases the diversity of samples to some extent, which helps improve model performance.
|
| 11 |
+
Scale each pixel value on each channel of the image from 0-255 to 0-1.
|
| 12 |
+
Shift each pixel value to the range of (-1,1).
|
| 13 |
+
#classification
|
| 14 |
+
|
| 15 |
+
Based on the number of white blood cells, the test strips are categorized into the following six classes: test strips with a white blood cell count in the range of [0,1000) belong to Class 1; test strips with a white blood cell count in the range of [1000,2000) belong to Class 2; test strips with a white blood cell count in the range of [2000,3000) belong to Class 3; test strips with a white blood cell count in the range of [3000,4000) belong to Class 4; test strips with a white blood cell count in the range of [4000,5000) belong to Class 5; and test strips with a white blood cell count in the range of [5000,+∞) belong to Class 6.
|
| 16 |
+
|
| 17 |
+
predict_model.py is the code file for testing data
|
| 18 |
+
|
| 19 |
+
label.txt is an example of the used label
|