spatial-computing / strabo-text-recognition

Strabo (Ver=1.5)
http://spatial-computing.github.io/#projects
2 stars 1 forks source link

Fix the way Strabo exchanges parameters between classes #4

Closed ialok closed 7 years ago

ialok commented 7 years ago

Background:

  • Few classes/methods exchange parameters by hard-coding them in the source
  • These variable may have an impact on the performance of the detection algorithm Existing Scenario:
  • Change the parameter value and compile the code each time Fix:
  • [x] Trace through the code to find these hard-coded parameters
  • [x] Update the configuration files with these parameters
  • [x] Use the static class StraboParameters to read from the config
  • [x] Update the old parameter instances with StraboParameters function call
ialok commented 7 years ago

@yaoyichi @wangzyusc This moves most of the hard-coded values to the App.config. However, few still exists which are more specific to the class logic. Ignoring those for now