TLDR: Given a scan of a book (sometimes 1-page, sometimes 2-up page spread) your function returns bounding box info for each detected page, along with a confidence rating.
This project is for the creation of a python function, which we will incorporate into a larger python project. You do not need to deliver any UI, installer (other than providing an [login to view URL]), or other components – just the function described below.
Python Function Arguments/parameters:
- JPG or TIFF of a scanned book, open to a single page or a page-spread (as a file path)
- margin/padding (in pixels) to add around the page
- deskew priority preference (see below)
Python Function Returns
- List, of length equal to the number of pages detected. Each item in list to be a tuple containing:
--- bounding box center XY pixel coordinates, using TOP LEFT as [0,0]
--- bounding box width and height in pixels
--- rotation (clockwise = positive) in degrees of deskew
--- confidence rating (0-100) in the proper detection of the crop/rotation for this page
--- bounds violation as a boolean
- each page should be cropped to the minimum bounding box that contains all parts of that page (don't assume the page is properly rectangular) are included, plus the margin/padding passed as an argument
- in some cases, once rotation and margin/padding have been applied the stated crop will fall outside the image area; if this is the case "bounds violation" should be set to TRUE and the bounding box should be returned as-calculated
- pages WILL NOT BE EQUALLY SIZED AND THE GUTTER WILL NOT ALWAYS BE EXACTLY MIDWAY; the center of the gutter of the book should be considered the edge of either page. That is to say, part of your task is the appropriate CV to affirmatively detect the gutter location, and NOT just assume the gutter is half way between the outer edges of the page.
More information about deskew:
- Only allow up to 5º of deskew; anything beyond that should be assumed to be a false-positive
- Priority parameter should allow:
--- "content only" – look for lines of text, and deskew based on their angle
--- "content-then-average" – same as content, but if no suitable content is found with confidence, automatically uses average
--- "outer edge" – deskew based on the angle of the side of the page that is opposite the gutter
--- "top edge" – deskew based on the top edge of the page
--- "bottom edge" – deskew based on the bottom edge of the page
--- "average" – deskew based on the average of (outer edge, top edge, bottom edge)
– must run entirely locally (no internet); therefore no calls to online Google/Amazon/Microsoft APIs
– must run on python 3.7 or 3.8
Example corpus: we have many GB of example JPG files. I have attached 10 to this request, but you can message me for a link to dropbox containing several hundred.
Work would be done under NDA and as work-for hire. Function must be cleanly written, and commented where appropriate.
Delivery should include the python function, a [login to view URL] file, and a one-hour screen sharing session (English language) to walk me through the function's workings.
We understand scope creep and are glad to pay additional for any work we request that is not listed above. Please provide your hourly rate for any such additional work in your proposal/quote.
19 freelancers are bidding on average $568 for this job
Hi, Greetings! ✅checked your project details: Python Function for Page Split and Deskew of scanned book ✅Completed Time: In project deadline We have worked on 600 + Projects. I have 6 + years of the experience i Plus
Dear l am glad to meet you. I read your project details carefully. I understood your idea and requirements but have some questions... I have 5+ years of experience in Django/Python. If you want to work with me, plea Plus
********PLEASE GIVE ME CHANCE TO SHOW MY EXTRA ABILITY************ Thanks for your posting I am a image processing expert using machine learning, such as tensorflow, caffe, darknet and etc. I have developed a lot ocr Plus
Hi,Douglas P! I am very interested in your project! My high skill is Python! I have rich experience in Django, flask, tkinter and so on. Please send me a message so that we can discuss more and more. If you award me, I Plus
Hi, This is Computer Vision, Image processing expert, I have expertise with Image Processing in opencv python. Also I have experiences to Image Restoration, Deskew, especially, Book Restoration 1. detect the bounding e Plus
Hi there. I am very interested in your proposal. I can instantly help you with your starting project with a successful completion. As a professional python developer, I ensure for a perfect ongoing project. You will n Plus
Hello sir. As a computer vision and image processing, machine/deep learning expert, I'm glad to see your project. If you check my profile, you can see I have deep knowledge in image processing with opencv, computer Plus
@@@@ML&DL&Computer Vision Expert@@@@ Thanks for your posting! I am a computer vision and machine learning expert with full experiences in tensorflow, darknet, keras, pytorch, opencv and open vino, android, iOS, C#, C++ Plus
I have acquired relevant skills and exp in the field of Artificial Intelligence and worked tirelessly on my skills, which I will put to use developing your project which will render good results.
Hi, Good day. I read your project description very carefully. I've really rich experience in Python & Computer Vision. Besides I have Doctor Degree and excellent programming skills. If we have a opportunity to work tog Plus
Hello Douglas I can create Python Function for Page Split and Deskew of scanned book I have rich experience in web development using django, React-Express, laravel-vue, Mysql, Mongodb, Codeigniter, WebGL, ...etc in 7 y Plus
Hi, I am a Python expert who can complete your project perfectly and start immediately. Thanks for your interesting and I am sure high quality and fastest delivery. I am always online, work hard and very sensitive to d Plus
I saw your description carefully and i 'm very interesting your project. I have rich experience in Python, so i can do your project perfectly. When you have enough time to discuss about your project with me, please c Plus
Dear man I read your project description very carefully and I hope to work on this project. While doing this project, we must do the top skills to do this project… For doing that, you can face some issues like Yours. B Plus
Hello, manager. how are you? I have read your description and I am very interesting in your project. Because I have rich experience in PWA field such as vue, react and etc. Please check my profile and you can see my Plus
Hello, **Ready to start now to get your work done ASAP ** I review your job details. I am interested in your project and can be great fit for this project. I would like to discuss more about your Project. Have a s Plus
Hi I have gone through your requirement. this can be developed using python. I am highly experience developer in Python development. I am having more than 20 years of experience in software development. So I can comple Plus