method: BLCT2017-07-02
Authors: Jan Zdenek, Hideki Nakayama
Description: A CNN is combined with the bag-of- visual-words approach. A patch-based approach is adopted to solve the issue of variable sizes and aspect ratios of the input images. Individual local patches extracted from training image data are used to train the CNN with 6 convolutional layers. Feature vectors of all patches from each training image are fed to the trained CNN and the output is extracted from the penultimate layer of the network. Random combinations
of feature vectors are created to form local convolutional triplets and the 3 vectors in each triplet are added. The local convolutional triplets are used to create a bag-of-visual-words vocabulary with the size of 1024 codewords. Each image is then represented as a vector of codewords which are then aggregated into histograms of occurrences. The histograms are used for global representation of each image. An MLP with two hidden layers and a “Dropout” after each layer is used for the final classification.
Confusion Matrix
Detection | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Arabic | Latin | Chinese | Japanese | Korean | Bangla | Symbols | Mixed | None | ||
GT | Arabic | 4571 | 507 | 17 | 21 | 15 | 4 | 7 | 0 | 0 |
Latin | 143 | 59208 | 366 | 374 | 269 | 85 | 92 | 0 | 0 | |
Chinese | 2 | 534 | 3471 | 683 | 54 | 4 | 2 | 0 | 0 | |
Japanese | 10 | 2887 | 1021 | 4020 | 194 | 13 | 12 | 0 | 0 | |
Korean | 16 | 3319 | 439 | 367 | 8810 | 33 | 8 | 0 | 0 | |
Bangla | 1 | 216 | 39 | 31 | 16 | 2241 | 1 | 0 | 0 | |
Symbols | 24 | 1368 | 20 | 89 | 22 | 7 | 1966 | 0 | 0 | |
Mixed | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
None | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |