Skip to content

kumarparth380/MathImageAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math image analyser

A Node.js application that uses the Google Cloud Vision API to detect mathematical visual elements (such as numbers, formulas, graphs) in images.

Prerequisites

  • Node.js: Ensure you have Node.js installed.
  • Google Cloud Vision API Key: Set up a Google Cloud project, enable the Vision API, and get your API key. Follow the setup guide here.

Installation

  1. Clone the repository:

    git clone https://github.com/kumarparth380/MathImageAnalyzer.git
    cd MathImageAnalyzer
  2. Install dependencies:

    npm install
  3. Replace 'CLOUD_VISION_API_KEY' in .env so it could be used in index.js with your actual Google Cloud Vision API key.

Usage

  1. Add your images (in .png format) to the images/ folder.

  2. Run the script:

    node index.js

The script will output whether each image contains mathematical visual elements (true or false).

License

MIT License.

About

Detects mathematical visual elements (e.g., graphs, formulas) in images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published