News for hackers. Stuff that matters.

rifkyniyas

Thank you for the feedback and I am looking into the issues you mentioned.

Talking about the first issue, at the moment it is required for all images to be manually cropped to fit only the required part of code to be extracted to improve the accuracy of extracted code (since it get rids of unnecessary file names and numbers if present on image). I think I can provide a better user experience by emphasizing this better. Just to confirm, did you adjust the crop to fit only the required parts or did you cropped with the initial state? If it's the latter, I think tesseract extracted the incorrectly cropped version of image.

My pardons, I didn't get a clear idea of the second issue. Can you elaborate more in to that please? Do you mean any issues with the code formatting/ highlighting?

Show HN: Extract code from image snippets with Code OCR App

https://code-ocr-app.vercel.app/

Hi folks, ever found an interesting code snippet online and ended up manually typing it all out? Frustrating indeed. So I decided to make the Code OCR App. You can now extract the code from any image snippet with just three clicks. 1- Upload your desired file 2- Crop and adjust the image to include only the desired text portion. 3- Once extracted, simply copy and start using in your project...

( Read More... | 2 comments | on HN )