Crop all written letters from image to form a website2019 Community Moderator ElectionCreating an image data set from a set of 2D points?How to properly rotate image and labels for semantic segmentation data augmentation in Tensorflow?How to filter out babies from image datasetIs it good in general to subtract background from a sequence of images for learning?PIL image library cant open image in google colab while the runtime is GPUWhy does TensorFlow convert my decoded image to float32 instead of uint8/16?
Filter any system log file by date or date range
Why is consensus so controversial in Britain?
How much of data wrangling is a data scientist's job?
What typically incentivizes a professor to change jobs to a lower ranking university?
What does the "remote control" for a QF-4 look like?
Which country benefited the most from UN Security Council vetoes?
Do I have a twin with permutated remainders?
Decision tree nodes overlapping with Tikz
Could an aircraft fly or hover using only jets of compressed air?
Why do I get two different answers for this counting problem?
What does it mean to describe someone as a butt steak?
Uncaught TypeError: 'set' on proxy: trap returned falsish for property Name
Did Shadowfax go to Valinor?
Today is the Center
meaning of に in 本当に?
Approximately how much travel time was saved by the opening of the Suez Canal in 1869?
Has there ever been an airliner design involving reducing generator load by installing solar panels?
Operational amplifier as a comparator at high frequency
Roll the carpet
Maximum likelihood parameters deviate from posterior distributions
Theorems that impeded progress
How to source a part of a file
how to check a propriety using r studio
I'm flying to France today and my passport expires in less than 2 months
Crop all written letters from image to form a website
2019 Community Moderator ElectionCreating an image data set from a set of 2D points?How to properly rotate image and labels for semantic segmentation data augmentation in Tensorflow?How to filter out babies from image datasetIs it good in general to subtract background from a sequence of images for learning?PIL image library cant open image in google colab while the runtime is GPUWhy does TensorFlow convert my decoded image to float32 instead of uint8/16?
$begingroup$
Above image has handwritten hindi / deavanagari letters all on a single
image.Task is to Prepare a dataset from the given assignment.jpg image using image
processing toolsIdon't have clarity whether i can use photoshop editing tools like adobe photoshop etc.
If image processing tools mean opencv , is it really possible to create like a emnist like dataset from single image.
I am not able to come up with any way to seperate the letters from eachother
Finally i had done it by combining adaptive thresholding,bluring,and morphological, It is helpful to check out find contours for two part letters by @Salman and @Jeru Luke , it really helped me.
image-preprocessing
$endgroup$
add a comment |
$begingroup$
Above image has handwritten hindi / deavanagari letters all on a single
image.Task is to Prepare a dataset from the given assignment.jpg image using image
processing toolsIdon't have clarity whether i can use photoshop editing tools like adobe photoshop etc.
If image processing tools mean opencv , is it really possible to create like a emnist like dataset from single image.
I am not able to come up with any way to seperate the letters from eachother
Finally i had done it by combining adaptive thresholding,bluring,and morphological, It is helpful to check out find contours for two part letters by @Salman and @Jeru Luke , it really helped me.
image-preprocessing
$endgroup$
$begingroup$
I actually posted it in AI stack overflow, where members suggested i post it here.I don't have any knowledge in domain of computer vision or image processing.Thanks in advance for help
$endgroup$
– Papasani Mohansrinivas
Mar 27 at 16:51
add a comment |
$begingroup$
Above image has handwritten hindi / deavanagari letters all on a single
image.Task is to Prepare a dataset from the given assignment.jpg image using image
processing toolsIdon't have clarity whether i can use photoshop editing tools like adobe photoshop etc.
If image processing tools mean opencv , is it really possible to create like a emnist like dataset from single image.
I am not able to come up with any way to seperate the letters from eachother
Finally i had done it by combining adaptive thresholding,bluring,and morphological, It is helpful to check out find contours for two part letters by @Salman and @Jeru Luke , it really helped me.
image-preprocessing
$endgroup$
Above image has handwritten hindi / deavanagari letters all on a single
image.Task is to Prepare a dataset from the given assignment.jpg image using image
processing toolsIdon't have clarity whether i can use photoshop editing tools like adobe photoshop etc.
If image processing tools mean opencv , is it really possible to create like a emnist like dataset from single image.
I am not able to come up with any way to seperate the letters from eachother
Finally i had done it by combining adaptive thresholding,bluring,and morphological, It is helpful to check out find contours for two part letters by @Salman and @Jeru Luke , it really helped me.
image-preprocessing
image-preprocessing
edited yesterday
Papasani Mohansrinivas
asked Mar 27 at 16:43
Papasani MohansrinivasPapasani Mohansrinivas
84
84
$begingroup$
I actually posted it in AI stack overflow, where members suggested i post it here.I don't have any knowledge in domain of computer vision or image processing.Thanks in advance for help
$endgroup$
– Papasani Mohansrinivas
Mar 27 at 16:51
add a comment |
$begingroup$
I actually posted it in AI stack overflow, where members suggested i post it here.I don't have any knowledge in domain of computer vision or image processing.Thanks in advance for help
$endgroup$
– Papasani Mohansrinivas
Mar 27 at 16:51
$begingroup$
I actually posted it in AI stack overflow, where members suggested i post it here.I don't have any knowledge in domain of computer vision or image processing.Thanks in advance for help
$endgroup$
– Papasani Mohansrinivas
Mar 27 at 16:51
$begingroup$
I actually posted it in AI stack overflow, where members suggested i post it here.I don't have any knowledge in domain of computer vision or image processing.Thanks in advance for help
$endgroup$
– Papasani Mohansrinivas
Mar 27 at 16:51
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
This can be done with OpenCV.
Code needs to :
- Prep-process image to enhance contrast
- Use OpenCV to identify 'bounding box' for each character
- Save each character's image as a new file
Code example : http://cvisiondemy.com/extract-roi-from-image-with-python-and-opencv/
$endgroup$
$begingroup$
Wow ! thanks @Shamit Verma, i actually searched internet for counters code on opencv,thanks for link.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 11:43
$begingroup$
one last request , could you point me to literature on contours !.I am satisfied with your answer ,i am just stating that me directly learning deep learning have given me surprise that we can do bounding boxes with out advanced techniques!.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 12:10
$begingroup$
These are useful articles + papers to start in this area : towardsdatascience.com/… , learnopencv.com/… , eng.ucmerced.edu/people/jyang44/papers/cvpr16_contour_final.pdf
$endgroup$
– Shamit Verma
Mar 29 at 13:00
add a comment |
$begingroup$
This is a simple problem and cetainly could be solved using any photo editing application like Adobe Photoshop. This would be a lot of manual labour.
But if you want to automate the process of extracting all letters from these image, I would suggest you to use OpenCV and build a contour detector and find contours in the image and then crop the contours to extract all the images.
The accuracy of your detector could be improved by converting the image to black and white or binary image or apply some threshold.you can read more about OpenCV contours here.
This blog might also be a little handy.
$endgroup$
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48098%2fcrop-all-written-letters-from-image-to-form-a-website%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
This can be done with OpenCV.
Code needs to :
- Prep-process image to enhance contrast
- Use OpenCV to identify 'bounding box' for each character
- Save each character's image as a new file
Code example : http://cvisiondemy.com/extract-roi-from-image-with-python-and-opencv/
$endgroup$
$begingroup$
Wow ! thanks @Shamit Verma, i actually searched internet for counters code on opencv,thanks for link.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 11:43
$begingroup$
one last request , could you point me to literature on contours !.I am satisfied with your answer ,i am just stating that me directly learning deep learning have given me surprise that we can do bounding boxes with out advanced techniques!.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 12:10
$begingroup$
These are useful articles + papers to start in this area : towardsdatascience.com/… , learnopencv.com/… , eng.ucmerced.edu/people/jyang44/papers/cvpr16_contour_final.pdf
$endgroup$
– Shamit Verma
Mar 29 at 13:00
add a comment |
$begingroup$
This can be done with OpenCV.
Code needs to :
- Prep-process image to enhance contrast
- Use OpenCV to identify 'bounding box' for each character
- Save each character's image as a new file
Code example : http://cvisiondemy.com/extract-roi-from-image-with-python-and-opencv/
$endgroup$
$begingroup$
Wow ! thanks @Shamit Verma, i actually searched internet for counters code on opencv,thanks for link.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 11:43
$begingroup$
one last request , could you point me to literature on contours !.I am satisfied with your answer ,i am just stating that me directly learning deep learning have given me surprise that we can do bounding boxes with out advanced techniques!.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 12:10
$begingroup$
These are useful articles + papers to start in this area : towardsdatascience.com/… , learnopencv.com/… , eng.ucmerced.edu/people/jyang44/papers/cvpr16_contour_final.pdf
$endgroup$
– Shamit Verma
Mar 29 at 13:00
add a comment |
$begingroup$
This can be done with OpenCV.
Code needs to :
- Prep-process image to enhance contrast
- Use OpenCV to identify 'bounding box' for each character
- Save each character's image as a new file
Code example : http://cvisiondemy.com/extract-roi-from-image-with-python-and-opencv/
$endgroup$
This can be done with OpenCV.
Code needs to :
- Prep-process image to enhance contrast
- Use OpenCV to identify 'bounding box' for each character
- Save each character's image as a new file
Code example : http://cvisiondemy.com/extract-roi-from-image-with-python-and-opencv/
answered Mar 28 at 6:24
Shamit VermaShamit Verma
1,4291214
1,4291214
$begingroup$
Wow ! thanks @Shamit Verma, i actually searched internet for counters code on opencv,thanks for link.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 11:43
$begingroup$
one last request , could you point me to literature on contours !.I am satisfied with your answer ,i am just stating that me directly learning deep learning have given me surprise that we can do bounding boxes with out advanced techniques!.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 12:10
$begingroup$
These are useful articles + papers to start in this area : towardsdatascience.com/… , learnopencv.com/… , eng.ucmerced.edu/people/jyang44/papers/cvpr16_contour_final.pdf
$endgroup$
– Shamit Verma
Mar 29 at 13:00
add a comment |
$begingroup$
Wow ! thanks @Shamit Verma, i actually searched internet for counters code on opencv,thanks for link.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 11:43
$begingroup$
one last request , could you point me to literature on contours !.I am satisfied with your answer ,i am just stating that me directly learning deep learning have given me surprise that we can do bounding boxes with out advanced techniques!.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 12:10
$begingroup$
These are useful articles + papers to start in this area : towardsdatascience.com/… , learnopencv.com/… , eng.ucmerced.edu/people/jyang44/papers/cvpr16_contour_final.pdf
$endgroup$
– Shamit Verma
Mar 29 at 13:00
$begingroup$
Wow ! thanks @Shamit Verma, i actually searched internet for counters code on opencv,thanks for link.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 11:43
$begingroup$
Wow ! thanks @Shamit Verma, i actually searched internet for counters code on opencv,thanks for link.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 11:43
$begingroup$
one last request , could you point me to literature on contours !.I am satisfied with your answer ,i am just stating that me directly learning deep learning have given me surprise that we can do bounding boxes with out advanced techniques!.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 12:10
$begingroup$
one last request , could you point me to literature on contours !.I am satisfied with your answer ,i am just stating that me directly learning deep learning have given me surprise that we can do bounding boxes with out advanced techniques!.
$endgroup$
– Papasani Mohansrinivas
Mar 29 at 12:10
$begingroup$
These are useful articles + papers to start in this area : towardsdatascience.com/… , learnopencv.com/… , eng.ucmerced.edu/people/jyang44/papers/cvpr16_contour_final.pdf
$endgroup$
– Shamit Verma
Mar 29 at 13:00
$begingroup$
These are useful articles + papers to start in this area : towardsdatascience.com/… , learnopencv.com/… , eng.ucmerced.edu/people/jyang44/papers/cvpr16_contour_final.pdf
$endgroup$
– Shamit Verma
Mar 29 at 13:00
add a comment |
$begingroup$
This is a simple problem and cetainly could be solved using any photo editing application like Adobe Photoshop. This would be a lot of manual labour.
But if you want to automate the process of extracting all letters from these image, I would suggest you to use OpenCV and build a contour detector and find contours in the image and then crop the contours to extract all the images.
The accuracy of your detector could be improved by converting the image to black and white or binary image or apply some threshold.you can read more about OpenCV contours here.
This blog might also be a little handy.
$endgroup$
add a comment |
$begingroup$
This is a simple problem and cetainly could be solved using any photo editing application like Adobe Photoshop. This would be a lot of manual labour.
But if you want to automate the process of extracting all letters from these image, I would suggest you to use OpenCV and build a contour detector and find contours in the image and then crop the contours to extract all the images.
The accuracy of your detector could be improved by converting the image to black and white or binary image or apply some threshold.you can read more about OpenCV contours here.
This blog might also be a little handy.
$endgroup$
add a comment |
$begingroup$
This is a simple problem and cetainly could be solved using any photo editing application like Adobe Photoshop. This would be a lot of manual labour.
But if you want to automate the process of extracting all letters from these image, I would suggest you to use OpenCV and build a contour detector and find contours in the image and then crop the contours to extract all the images.
The accuracy of your detector could be improved by converting the image to black and white or binary image or apply some threshold.you can read more about OpenCV contours here.
This blog might also be a little handy.
$endgroup$
This is a simple problem and cetainly could be solved using any photo editing application like Adobe Photoshop. This would be a lot of manual labour.
But if you want to automate the process of extracting all letters from these image, I would suggest you to use OpenCV and build a contour detector and find contours in the image and then crop the contours to extract all the images.
The accuracy of your detector could be improved by converting the image to black and white or binary image or apply some threshold.you can read more about OpenCV contours here.
This blog might also be a little handy.
edited Mar 28 at 6:48
answered Mar 28 at 6:04
thanatozthanatoz
569319
569319
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48098%2fcrop-all-written-letters-from-image-to-form-a-website%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
$begingroup$
I actually posted it in AI stack overflow, where members suggested i post it here.I don't have any knowledge in domain of computer vision or image processing.Thanks in advance for help
$endgroup$
– Papasani Mohansrinivas
Mar 27 at 16:51