Commit d9fab5ff04b249527722fbd0507ae9a8a347d7c9
1 parent
65854488
Fixed some nn comments
Showing
1 changed file
with
2 additions
and
2 deletions
openbr/plugins/nn.cpp
| @@ -20,7 +20,7 @@ static void storeMLP(const CvANN_MLP &mlp, QDataStream &stream) | @@ -20,7 +20,7 @@ static void storeMLP(const CvANN_MLP &mlp, QDataStream &stream) | ||
| 20 | tempFile.open(); | 20 | tempFile.open(); |
| 21 | tempFile.close(); | 21 | tempFile.close(); |
| 22 | 22 | ||
| 23 | - // Save SVM to local file | 23 | + // Save MLP to local file |
| 24 | mlp.save(qPrintable(tempFile.fileName())); | 24 | mlp.save(qPrintable(tempFile.fileName())); |
| 25 | 25 | ||
| 26 | // Copy local file contents to stream | 26 | // Copy local file contents to stream |
| @@ -42,7 +42,7 @@ static void loadMLP(CvANN_MLP &mlp, QDataStream &stream) | @@ -42,7 +42,7 @@ static void loadMLP(CvANN_MLP &mlp, QDataStream &stream) | ||
| 42 | tempFile.write(data); | 42 | tempFile.write(data); |
| 43 | tempFile.close(); | 43 | tempFile.close(); |
| 44 | 44 | ||
| 45 | - // Load SVM from local file | 45 | + // Load MLP from local file |
| 46 | mlp.load(qPrintable(tempFile.fileName())); | 46 | mlp.load(qPrintable(tempFile.fileName())); |
| 47 | } | 47 | } |
| 48 | 48 |