Code Monkey home page Code Monkey logo

handwritten-writer-identification's People

Contributors

evraa avatar kareemosamasobeih avatar muhammad-sayed-mahdy avatar omardesoky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

handwritten-writer-identification's Issues

Dataset

Hello there! I was going through your project and was trying to run it. I am unable to understand how you have assembled data. Can you please explain it a little? I am using a dataset from kaggle which has folders named like 000 001 and so on. It has total of 571 folders with varying number of images. Can you please elaborate a little. Would be of great help.
Hoping to receive a response from your side!

Error

Thanks for your work. I wanted to try your work, but I get an error.

D:\WriterCSharper\handwritten-writer-identification-main>python src/main.py
Traceback (most recent call last):
  File "D:\WriterCSharper\handwritten-writer-identification-main\src\main.py", line 25, in <module>
    res,time = pipeline.pipe(feature='cslbcop', clf='svm',_verbose=VERBOSE, _mode=MODE, test_folder=test_folder)
  File "D:\WriterCSharper\handwritten-writer-identification-main\src\pipeline.py", line 139, in pipe
    X_tune,y_tune = step_1(train_images,_verbose, feat=feature)
  File "D:\WriterCSharper\handwritten-writer-identification-main\src\pipeline.py", line 56, in step_1
    list_images = preprocessing.preprocess(image)
  File "D:\WriterCSharper\handwritten-writer-identification-main\src\preprocessing.py", line 14, in preprocess
    xy_coord_lines = get_lines_coord(thresh)
  File "D:\WriterCSharper\handwritten-writer-identification-main\src\preprocessing.py", line 37, in get_lines_coord
    y_start = lines_indexes[ np.argmax(lines_indexes > (lines_indexes[0]+150) ) ]
IndexError: index 0 is out of bounds for axis 0 with size 0

How can I fix this?

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.