Code Monkey home page Code Monkey logo

joker's People

Contributors

jnoxro avatar

Stargazers

 avatar

Watchers

 avatar

joker's Issues

threading language update: Jobs and Assignments

threads do the assignments contained within a job.

eg:

Job 1 - ocr
assignment 1 - compare target with model 1,2,3
assignment 1 - compare target with model 3,4,5
...
Job 2 - ocr
...
Job 3 - img threshold
...

Make thread control a new class

So threads can carry out many different tasks whilst program runs (eh threshold actions, OCR, training), they OCR controller should be a new class, with functions to change private variables threads can access for jobs

Negative scoring is abstract

negative scoring values for training would currently be trail and error for users.

Training should test a range of negative values automatically to find optimal

Don't force GM install

Add building the jk executable as a cmake option.

If users only want to use the library there is no need for a local GM install, plus they may want extra GM features.

Let them hand it themselves.

Remove need for graphics magick?

Only operations carried out by GraphicsMagick are image read and threshold > could try read that directly and remove the dependency

Untested on clean OS's

Joker has only been tested (build and binary) on systems set up for development with multiple libraries and GraphicsMagick already installed. In order to make robust installation instructions tests need making on clean distros

Model format not tested for performance

Model format and save/load functions were left after a working version found.

I/O not saturated - 3ms to open 35.3kB model = 12MB/s so lots of room for improvement.

pixelaverage does not average pixels

when training a model pixelaverage simply sums how often a pixel contains data, this should be converted to fixed range (eg 0-100, or 0-1000) to prevent massive number calculations

Scoring not normalised

a well matching A may receive a massively different score than a well matching W for example. An 'ideal score' or similar should be found for each model character, which can then be used to have the score for each model char be a function of that models ideal score.

CMakelists.txt is messy

CMakelists.txt is hacked together to something that happens to build. This should be rewritten.

Negative scoring needs reworked

Some cases in which score should be reduced results in score increase eg:

Model = negative score Val, image = present
(-neg Val) * (-1 for present) = increase

Instead could use 0 for model negative scoring positions, then use an if statement to reduce score.

EVERY case of misalignment should decrease score.

A character is always output

currently the highest scoring result is output, no matter the score.

This may remain, but an ocr class function should be added to output the score so developers can set their own minimum scores.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.