GithubHelp home page GithubHelp logo

obfusk / kanjidraw Goto Github PK

View Code? Open in Web Editor NEW
14.0 4.0 0.0 663 KB

kanjidraw - handwritten kanji recognition library + gui

License: GNU Affero General Public License v3.0

Python 97.34% Makefile 2.66%
japanese kanji draw handwriting recognition library gui

kanjidraw's People

Contributors

obfusk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kanjidraw's Issues

optimise!

  • fuzzy: only sort 1x (before match() loop & before offby1 loop)
  • only calculate dirs&locs 1x (pre-calc for DB)

[debian] update package

  • use dh-sequence-python3
  • Standards-Version: 4.6.1
  • update copyright & Maintainer:
  • ack NMU
  • ship AGPL

cleanup code etc.

  • use indent 4
  • add type annotations
  • modernise code & style
  • flake8
  • pylint
  • mypy --strict --disallow-any-unimported
  • supported python versions
  • #21

See also obfusk/jiten#158

gui: support multiple use cases

  • print to stdout instead of copying to clipboard (for scripting)?
  • "oneshot" mode to draw one character, copy/print it, and exit?
  • "multiple" mode to draw multiple characters and copy/print all of them when done?

[Question] Asking about the coordinate of points

Hello author,

strokes is the list of pair (x,y) coordinates. However, I does not understand why you multiply 255 and divide by width or height.

As far as I know, the width and height is equal to 400 ?

Is it just a normalization step to ensure the coordinates are consistent?

How did you define the magic number 255 ?

CleanShot 2023-03-03 at 12 48 34@2x

gui: allow custom styling?

  • (Japanese) font?
  • font size?
  • canvas size? allow resize?
  • number of rows/cols/results?
  • colours? custom themes?

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.