Comments (3)
Great question -- weakly supervised training has been very challenging to implement (even more than I anticipated). The original authors have not provided an official implementation (not that they should feel obligated to do so) and the dribs and drabs in the issues for the official repository have been difficult for me to follow.
As an alternative, I've been working on generating a labeled dataset by training a character detector on cropped bounding boxes and then using it to label the character boxes in a word-level labeled dataset. The results have been okay but not great. I've put what I have so far in labeling such a dataset using this approach in this experimental function. I've tried to document the approach used to create those labels in this experimental notebook.
I would very much like to have a functioning end-to-end weakly supervised pipeline. Being realistic, I don't know when / if I'll have the available time to give that the focus it needs. If you want to take a crack at it, I would be exceedingly grateful, as I'm sure many others would be.
from keras-ocr.
I found several implementations, maybe that helps.
- https://github.com/RubanSeven/CRAFT_keras/blob/master/train.py
- https://github.com/backtime92/CRAFT-Reimplementation/blob/master/watershed.py
- https://github.com/autonise/CRAFT-Remade/blob/master/train_weak_supervision/trainer.py
- https://github.com/dotieuthien/CRAFT/blob/master/process_label.py
from keras-ocr.
@faustomorales, I want to ask you a question, this code https://keras-ocr.readthedocs.io/en/latest/examples/fine_tuning_detector.html is weakly supervised training, I use it to train icdar 2013 dataset,but the result is very bad
from keras-ocr.
Related Issues (20)
- Can load pretrain custom digits model
- Predicted result strings are empty --> Predicted: ['', '', '', '', '', ''] HOT 1
- how to add keras-ocr new model?
- Error when training detector with batch size > 1
- local variable "image" out of scope in keras-ocr/tools.py
- Keras_ocr library not detecting specific texts from the image
- Please Help i cant display the evaluation score after prediction
- How to predict numbers only? HOT 1
- Evaluation of my model HOT 2
- Python 3.10 support HOT 2
- What version of matplotlib are you guys using?
- Could not download HOT 1
- Very inaccurate results with keras-ocr tflite model HOT 1
- Cannot train Recognizer - ValueError: Exception encountered when calling layer 'lambda_1' (type Lambda). HOT 5
- "Tried to convert 'num' to a tensor and failed. Error: None values not supported." HOT 1
- Can I get Korean Text from Image? Using keras-ocr HOT 1
- Open Source License HOT 1
- Adding an example for fine-tuning both detector & recognizer using an your own dataset HOT 4
- Detecting vertical text with craft HOT 3
- Can I extract the text color too?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keras-ocr.