Reading meters with tensorflow












1












$begingroup$


I'm new to ML world and been reading about ML and TensorFlow.
My goal is to read the following example in real time with Android phone:



enter image description here



So I tried firebase ML OCR and it works really good, it reads the complete value but it does not read the decimal point and also reads a lot of the surrounding text.
So my idea is that I should first detect black and red bounding boxes and then detect individual numbers inside




  1. is this the right way to go? How would I accomplish this?

  2. Also how do you use two kinds of a model, one to extract a part of the image (black and red bounding areas) and then pass them to OCR model?

  3. What about last digit which can always be in between two numbers (example: 1 and 2)?










share|improve this question







New contributor




dfilkovi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$

















    1












    $begingroup$


    I'm new to ML world and been reading about ML and TensorFlow.
    My goal is to read the following example in real time with Android phone:



    enter image description here



    So I tried firebase ML OCR and it works really good, it reads the complete value but it does not read the decimal point and also reads a lot of the surrounding text.
    So my idea is that I should first detect black and red bounding boxes and then detect individual numbers inside




    1. is this the right way to go? How would I accomplish this?

    2. Also how do you use two kinds of a model, one to extract a part of the image (black and red bounding areas) and then pass them to OCR model?

    3. What about last digit which can always be in between two numbers (example: 1 and 2)?










    share|improve this question







    New contributor




    dfilkovi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.







    $endgroup$















      1












      1








      1





      $begingroup$


      I'm new to ML world and been reading about ML and TensorFlow.
      My goal is to read the following example in real time with Android phone:



      enter image description here



      So I tried firebase ML OCR and it works really good, it reads the complete value but it does not read the decimal point and also reads a lot of the surrounding text.
      So my idea is that I should first detect black and red bounding boxes and then detect individual numbers inside




      1. is this the right way to go? How would I accomplish this?

      2. Also how do you use two kinds of a model, one to extract a part of the image (black and red bounding areas) and then pass them to OCR model?

      3. What about last digit which can always be in between two numbers (example: 1 and 2)?










      share|improve this question







      New contributor




      dfilkovi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.







      $endgroup$




      I'm new to ML world and been reading about ML and TensorFlow.
      My goal is to read the following example in real time with Android phone:



      enter image description here



      So I tried firebase ML OCR and it works really good, it reads the complete value but it does not read the decimal point and also reads a lot of the surrounding text.
      So my idea is that I should first detect black and red bounding boxes and then detect individual numbers inside




      1. is this the right way to go? How would I accomplish this?

      2. Also how do you use two kinds of a model, one to extract a part of the image (black and red bounding areas) and then pass them to OCR model?

      3. What about last digit which can always be in between two numbers (example: 1 and 2)?







      machine-learning tensorflow ocr






      share|improve this question







      New contributor




      dfilkovi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      dfilkovi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      dfilkovi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      dfilkovidfilkovi

      1061




      1061




      New contributor




      dfilkovi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      dfilkovi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      dfilkovi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          Two options :




          1. Use pre-built libraries for OCR + Bounding Box detection (E.g.: https://www.pyimagesearch.com/2018/08/20/opencv-text-detection-east-text-detector/ for Bouding Box detection and then OpenCV / Tessract for OCR)


          enter image description here




          1. Train a Deep learning model for Text Detection in scene . Examples : https://github.com/qjadud1994/CRNN-Keras and https://github.com/mvoelk/ssd_detectors






          share|improve this answer









          $endgroup$













            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            });
            });
            }, "mathjax-editing");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "557"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });






            dfilkovi is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f46344%2freading-meters-with-tensorflow%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0












            $begingroup$

            Two options :




            1. Use pre-built libraries for OCR + Bounding Box detection (E.g.: https://www.pyimagesearch.com/2018/08/20/opencv-text-detection-east-text-detector/ for Bouding Box detection and then OpenCV / Tessract for OCR)


            enter image description here




            1. Train a Deep learning model for Text Detection in scene . Examples : https://github.com/qjadud1994/CRNN-Keras and https://github.com/mvoelk/ssd_detectors






            share|improve this answer









            $endgroup$


















              0












              $begingroup$

              Two options :




              1. Use pre-built libraries for OCR + Bounding Box detection (E.g.: https://www.pyimagesearch.com/2018/08/20/opencv-text-detection-east-text-detector/ for Bouding Box detection and then OpenCV / Tessract for OCR)


              enter image description here




              1. Train a Deep learning model for Text Detection in scene . Examples : https://github.com/qjadud1994/CRNN-Keras and https://github.com/mvoelk/ssd_detectors






              share|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                Two options :




                1. Use pre-built libraries for OCR + Bounding Box detection (E.g.: https://www.pyimagesearch.com/2018/08/20/opencv-text-detection-east-text-detector/ for Bouding Box detection and then OpenCV / Tessract for OCR)


                enter image description here




                1. Train a Deep learning model for Text Detection in scene . Examples : https://github.com/qjadud1994/CRNN-Keras and https://github.com/mvoelk/ssd_detectors






                share|improve this answer









                $endgroup$



                Two options :




                1. Use pre-built libraries for OCR + Bounding Box detection (E.g.: https://www.pyimagesearch.com/2018/08/20/opencv-text-detection-east-text-detector/ for Bouding Box detection and then OpenCV / Tessract for OCR)


                enter image description here




                1. Train a Deep learning model for Text Detection in scene . Examples : https://github.com/qjadud1994/CRNN-Keras and https://github.com/mvoelk/ssd_detectors







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 20 hours ago









                Shamit VermaShamit Verma

                65016




                65016






















                    dfilkovi is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    dfilkovi is a new contributor. Be nice, and check out our Code of Conduct.













                    dfilkovi is a new contributor. Be nice, and check out our Code of Conduct.












                    dfilkovi is a new contributor. Be nice, and check out our Code of Conduct.
















                    Thanks for contributing an answer to Data Science Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f46344%2freading-meters-with-tensorflow%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to label and detect the document text images

                    Vallis Paradisi

                    Tabula Rosettana