Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Rundiz/line-segmentation-algorithm-to-gcp-vision-webbrowser

Repository files navigation

This repository has been copied from sshniro/line-segmentation-algorithm-to-gcp-vision but modified to be able to use in web browser and included dependencies.

Usage:

<script type="module">
    import * as algo from './line-segmentation-algorithm-to-gcp-vision.js';


    window.addEventListener('DOMContentLoaded', (event) => {
        let data = {};// this data is the response from Google Vision API. The data must contain `responses` property inside.
        console.log(algo.initLineSegmentation(data['responses'][0]));
    });
</script>

Credits:

Releases

No releases published

Packages

No packages published