CROHME_2014 | 2014 Lei Hu , Kenny Davila

 by   DPRL Python Version: Current License: GPL-3.0

kandi X-RAY | CROHME_2014 Summary

kandi X-RAY | CROHME_2014 Summary

CROHME_2014 is a Python library. CROHME_2014 has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. However CROHME_2014 build file is not available. You can download it from GitHub.

Copyright (c) 2013-2014 Lei Hu, Kenny Davila, Francisco Alvaro, Richard Zanibbi. DPRL CROHME 2014 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. DPRL CROHME 2014 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with DPRL CROHME 2014. If not, see This document is about DPRL's submission for the CROHME 2014. CROHME is the abbreviation of Competition on Recognition of Online Handwritten Mathematical Expression. The handwritten mathematical expression is preprocessed and rendered to an image. Symbol segmentation considers strokes in time series, using a binary AdaBoost classifier to determine which stroke pairs to merge. Then for each stroke, we compute three kinds of shape context features (stroke pair, local neighborhood and global shape contexts) with different scales, 21 stroke pair geometric features and symbol classification scores for the current stroke and stroke pair. The stroke pair shape context features covers the current stroke and the following stroke in time series. The local neighborhood shape context features includes the current stroke and its three nearest neighbor strokes in distance while the global shape context features covers the expression. Principal component analysis (PCA) is used for dimensionality reduction. The details of the segmentation can be found in the paper Segmenting Handwritten Math Symbols Using AdaBoost and Multi-Scale Shape Context Features. The symbol classifier uses a SVM with Gaussian Kernel trained for probabilistic classification for the symbol classification task. The feature vector used to describe each symbol contains a combination of general on-line features with some adaptations of off-line features. The on-line features used include the normalized length of the lines, number of traces, covariance matrix of the point coordinates, number of points with high variation in curvature and total angular variation used to draw each symbol. The off-line features include: normalized aspect ratio; the count, position of the first and position of the last times that traces intersect a set of lines at fixed horizontal and vertical positions (crossings); 2D fuzzy histograms of points and fuzzy histograms of orientations of the lines. All symbols are pre-processed in order to smooth the traces and reduce the amount of noise present on the symbol. More details about the symbol classifier can be found in the paper Using Off-line Features and Synthetic Data for On-line Handwritten Math Symbol Recognition. The parser recursively: 1) groups vertical structures (e.g. fractions, summations and square roots), 2) extracts the dominant operator (e.g. fraction line) in each vertical group, and then 3) locates symbols on the main baseline, and on the main baselines in superscripted and subscripted regions by finding an MST defined over candidate symbol pairs with their associated classes and spatial relationship, and then 4) repeats the procedure in nested regions of vertical structures (e.g. fraction numerators and denominators).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              CROHME_2014 has a low active ecosystem.
              It has 16 star(s) with 12 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 0 have been closed. On average issues are closed in 1626 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of CROHME_2014 is current.

            kandi-Quality Quality

              CROHME_2014 has no bugs reported.

            kandi-Security Security

              CROHME_2014 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              CROHME_2014 is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              CROHME_2014 releases are not available. You will need to build from source code and install.
              CROHME_2014 has no build file. You will be need to create the build yourself to build the component from source.

            Top functions reviewed by kandi - BETA

            kandi has reviewed CROHME_2014 and discovered the below as its top functions. This is intended to give you an instant insight into CROHME_2014 implemented functionality, and help decide if they suit your requirements.
            • Demo CROHME
            • Calculates the R
            • Compute the top n_top labels for the given confidences
            • Classifies the given trace group
            • This function parses the CROHME section of CROHME
            • Compute the RST similarity between two symbols
            • Get distance stats from a given path
            • Returns a set of all dots with the given threshold
            • Calculate the extents of the strokes
            • Returns a list of feature types
            • Returns a list of supported subsegments types
            • Compute the context shape of this stroke
            • Return the angle between two vectors
            • Load the KML KML traces
            • Merge dots
            • Test for classification classification
            • Compute the top N top N_top labels
            • Returns a dictionary of valid segments for each segment
            • Test if we are fuzzy segments
            • Extracts the extents of the bounding box
            • Remove the most recent strokes
            • Gets the info of a line
            • Count the number of strokes that are non - adjacent strokes
            • Test for all dots in dot notation
            • Classify the given trace group
            • Return a list of all possible combinations
            • Save the bounding box as SVG
            • Center of the bounding box
            Get all kandi verified functions for this library.

            CROHME_2014 Key Features

            No Key Features are available at this moment for CROHME_2014.

            CROHME_2014 Examples and Code Snippets

            No Code Snippets are available at this moment for CROHME_2014.

            Community Discussions

            No Community Discussions are available at this moment for CROHME_2014.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install CROHME_2014

            You can download it from GitHub.
            You can use CROHME_2014 like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            The codes for the spatial relationship classifier are writeen in C++. All the other parts are written in Python. The version of Python we need is Python 2.7.3 or above. The usage is: python DPRL.pyc DPRL_CROHME2014 <input_path> <output_path>. Both input_path and output_path are abosolute path. The input_path contains the xxx.inkml files need to be recognized and the output_path contains the recognition results xxx.lg without inherited relationships. The input inkml file is in the format of CROHME and the description of the data file format can be found at CROHME data format. The output .lg file is label graph file and its format can be found at label graph file format. A Label Graph is a labeled adjacency matrix representation for a graph. More details about label graph and inherited relationships can be found in the paper Evaluating structural pattern recognition for handwritten math via primitive label graphs. Library CROHMELib is needed to produce the .lg file. The details of CROHMElib can be found in CROHMELib document.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/DPRL/CROHME_2014.git

          • CLI

            gh repo clone DPRL/CROHME_2014

          • sshUrl

            git@github.com:DPRL/CROHME_2014.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link