Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MhLiao committed Feb 21, 2018
1 parent 9d7dd48 commit 9cf643d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crnn/src/demo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ else
local height, width = imgCrop:size(2), imgCrop:size(3)
imgCrop = Image.scale(imgCrop, 100, 32)[1]
if config.useLexicon then
local resTopN, probTopN = recognizeImageWithLexicion(model_English, imgCrop, lexicon, 1)
local resTopN, probTopN = recognizeImageWithLexicion(model, imgCrop, lexicon, 1)
local text = resTopN[1]
local prob = probTopN[1]
bbox_recognition:write(string.format('%s,%s,%f', bbox, text, prob) .. '\n')
Expand Down

0 comments on commit 9cf643d

Please sign in to comment.