smaranjitghose / doc2pen

An open source project aimed at making your student life easier!
https://doc2pen.smaranjitghose.com
Creative Commons Zero v1.0 Universal
379 stars 404 forks source link

Import from Page Option #269

Closed smaranjitghose closed 3 years ago

smaranjitghose commented 4 years ago

In the editor page, add a button clicking which the user can upload a text document in .txt or .docx format, and the contents of the file are converted into the corresponding handwritten font

devmadhavvv commented 3 years ago

Can you provide a better description for this issue

smaranjitghose commented 3 years ago

Can you provide a better description for this issue

I have updated it now

Jahnavi-Jonnalagadda commented 3 years ago

@smaranjitghose Would like to work on this issue. Could you please assign this to me.

sahebsunny commented 3 years ago

Sir, I love to work on it. I would be grateful if you can assign this issue to me for DWOC. I want to use Handwriting detection with Optical Character Recognition to get the notes from the image or pdf.

smaranjitghose commented 3 years ago

@Jahnavi-Jonnalagadda Do it in two PRs

1) read the contents of a text file and paste it into our input screen 2) repeat the same for a doc file

smaranjitghose commented 3 years ago

Sir, I love to work on it. I would be grateful if you can assign this issue to me for DWOC. I want to use Handwriting detection with Optical Character Recognition to get the notes from the image or pdf.

Well the goal of this project is quite opposite, we want to generate handwritings from text. There is a way to train a LSTM for it. You can look it up

smaranjitghose commented 3 years ago

@smaranjitghose Would like to work on this issue. Could you please assign this to me.

1 more day

sahebsunny commented 3 years ago

Sir, It's interesting if it's open let me work too

Jahnavi-Jonnalagadda commented 3 years ago

@smaranjitghose, should the code identify the font in the uploaded file and then convert to handwritten?

smaranjitghose commented 3 years ago

@smaranjitghose, should the code identify the font in the uploaded file and then convert to handwritten?

Basic reading of the text works since we would be anyways converting it to handwritten

Jahnavi-Jonnalagadda commented 3 years ago

@smaranjitghose, should the code identify the font in the uploaded file and then convert to handwritten?

Basic reading of the text works since we would be anyways converting it to handwritten

Okay, so just read the text in the uploaded file and convert to handwritten. This what has to be done right?

smaranjitghose commented 3 years ago

@smaranjitghose, should the code identify the font in the uploaded file and then convert to handwritten?

Basic reading of the text works since we would be anyways converting it to handwritten

Okay, so just read the text in the uploaded file and convert to handwritten. This what has to be done right?

Yes Jahnavi

Jahnavi-Jonnalagadda commented 3 years ago

@smaranjitghose, I've unassigned the issue for myself. Found it quite tricky to trace out on how to work on this. Sorry for that.

smaranjitghose commented 3 years ago

@smaranjitghose, I've unassigned the issue for myself. Found it quite tricky to trace out on how to work on this. Sorry for that.

It's fine😊

sahebsunny commented 3 years ago

@smaranjitghose Sir the idea behind this is to read the notes from the doc or image and generate handwriting from that so we could use that handwriting in our output canvas is that correct???

sahebsunny commented 3 years ago

if yes then sir I am thinking of making two different Pr for this 1 for uploading the notes from the doc or image to input and it's obviously going to show up in the output canvas cause the " Page Upload " button does not work properly. 2 for generating the handwriting( writing style ) from the doc or image. is this fine sir

smaranjitghose commented 3 years ago

if yes then sir I am thinking of making two different Pr for this 1 for uploading the notes from the doc or image to input and it's obviously going to show up in the output canvas cause the " Page Upload " button does not work properly. 2 for generating the handwriting( writing style ) from the doc or image. is this fine sir

It's simply that, there is text in a .txt or .doc file your friend sent you, you need to open it, read the text (Simple JS file handling), paste in our window and automatically get it converted.

We don't need any image here.

Do it in two PRs: 1) for the .txt file 2) for the .doc file

Rename the button "Import From"

sahebsunny commented 3 years ago

@smaranjitghose sir I am working on this issue trying to figure out how to convert the RTF to plain text as uploading .txt or .doc file is getting automatically converted in RTF format

smaranjitghose commented 3 years ago

@smaranjitghose sir I am working on this issue trying to figure out how to convert the RTF to plain text as uploading .txt or .doc file is getting automatically converted in RTF format

Okaay

sahebsunny commented 3 years ago

@smaranjitghose sir I am done with this issue but as the source files are modified with react it's taking some time for me to understand.

smaranjitghose commented 3 years ago

@smaranjitghose sir I am done with this issue but as the source files are modified with react it's taking some time for me to understand.

Oh don't worry, just change the branch to compare to base. The master branch is the new react code. The previous HTML,CSS and JS one is on base

sahebsunny commented 3 years ago

thank you sir @smaranjitghose sir im removing the page upload button and adding import from button