Giter VIP home page Giter VIP logo

digitclassifier's Introduction

The Tableizer App

Team Members

Rafael Ramos
Yashas Roy
Anny Truong
Devin Wieker

Intro

We created an app to read in handwritten digits in table form and conver them into digital tables that can be copied into a spreadsheet.

Data

MNIST and Semeion Handwritten Digit databases

Segmentation

Used Gradient Filter to segment the image into individual digits

Model

Used Keras to build Convolutional Neural Network

Tableization

Identify single vs multi digit numbers in cells and classifying cells into rows and columns

digitclassifier's People

Contributors

dwieker avatar yashasroy avatar

Stargazers

Ohidur Rahman Bappy avatar Al Whatmough avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

rafaeljmramos

digitclassifier's Issues

AttributeError: 'list' object has no attribute 'min'

save_segmented_img("E:/Shezartech/OCR/Vietnamese/vietnamese-alphabet-146.jpeg")
C:\Users\DELL\Anaconda3\lib\site-packages\skimage\transform_warps.py:84: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15.
warn("The default mode, 'constant', will be changed to 'reflect' in "
C:\Users\DELL\Anaconda3\lib\site-packages\keras\engine\base_layer.py:1109: UserWarning: Update your Conv2D call to the Keras 2 API: Conv2D(name="convolution2d_1", activity_regularizer=None, trainable=True, input_dtype="float32", batch_input_shape=[None, 1, ..., activation="linear", kernel_size=(3, 3), filters=32, strides=[1, 1], padding="valid", data_format="channels_first", kernel_initializer="glorot_uniform", kernel_regularizer=None, bias_regularizer=None, kernel_constraint=None, bias_constraint=None, use_bias=True)
return cls(**config)
C:\Users\DELL\Anaconda3\lib\site-packages\keras\engine\base_layer.py:1109: UserWarning: Update your Conv2D call to the Keras 2 API: Conv2D(name="convolution2d_2", activity_regularizer=None, trainable=True, activation="linear", kernel_size=(3, 3), filters=32, strides=[1, 1], padding="valid", data_format="channels_first", kernel_initializer="glorot_uniform", kernel_regularizer=None, bias_regularizer=None, kernel_constraint=None, bias_constraint=None, use_bias=True)
return cls(**config)
C:\Users\DELL\Anaconda3\lib\site-packages\keras\engine\base_layer.py:1109: UserWarning: Update your MaxPooling2D call to the Keras 2 API: MaxPooling2D(name="maxpooling2d_1", trainable=True, pool_size=[2, 2], strides=[2, 2], padding="valid", data_format="channels_first")
return cls(**config)
C:\Users\DELL\Anaconda3\lib\site-packages\keras\engine\base_layer.py:1109: UserWarning: Update your Dropout call to the Keras 2 API: Dropout(trainable=True, name="dropout_1", rate=0.25)
return cls(**config)
C:\Users\DELL\Anaconda3\lib\site-packages\keras\engine\base_layer.py:1109: UserWarning: Update your Dense call to the Keras 2 API: Dense(name="dense_1", activity_regularizer=None, trainable=True, input_dim=None, activation="linear", units=128, kernel_initializer="glorot_uniform", kernel_regularizer=None, bias_regularizer=None, kernel_constraint=None, bias_constraint=None, use_bias=True)
return cls(**config)
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
pad_width must be of integral type.
C:\Users\DELL\Anaconda3\lib\site-packages\keras\engine\base_layer.py:1109: UserWarning: Update your Dropout call to the Keras 2 API: Dropout(trainable=True, name="dropout_2", rate=0.5)
return cls(**config)
C:\Users\DELL\Anaconda3\lib\site-packages\keras\engine\base_layer.py:1109: UserWarning: Update your Dense call to the Keras 2 API: Dense(name="dense_2", activity_regularizer=None, trainable=True, input_dim=None, activation="linear", units=10, kernel_initializer="glorot_uniform", kernel_regularizer=None, bias_regularizer=None, kernel_constraint=None, bias_constraint=None, use_bias=True)
return cls(**config)
Traceback (most recent call last):

File "", line 1, in
save_segmented_img("E:/Shezartech/OCR/Vietnamese/vietnamese-alphabet-146.jpeg")

File "", line 93, in save_segmented_img
coords, probs = scan_image(im)

File "", line 80, in scan_image
y_pred = keras.predict_proba(X, verbose=0)

File "C:\Users\DELL\Anaconda3\lib\site-packages\keras\engine\sequential.py", line 246, in predict_proba
if preds.min() < 0. or preds.max() > 1.:

AttributeError: 'list' object has no attribute 'min'

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.