CLI linux software that builds a version of a scanned image to fit it's original based on QR codes

W Toku

A PDF Page is generated by our software, that inserts a QR Code or a Barcode at a certain position of that page.

This very same Page is further printed and signed by technicians and, after that, is scanned.

The scanned image does not match it’s original file.

What we need is a command line interface software that runs on linux, windows and osx and that will change the scanned image so it perfectly matches it’s original file.

The command line interface should follow the use cases below:

#1 Find QR code inside any png/jpg image.

##########################################

Command:

--------

qrbarcode --findqr [url removed, login to view]

Result:

--------

{ 'filename': '[url removed, login to view]', 'width': 600, 'height': 1024, codes: [{ 'type': 'qr', 'value': 'text of the QR tag', 'position': { 'tl': [10, 10] 'tr': [50, 20], 'bl': [10, 50], 'br': [50, 50] }] }

#2 Find Barcode inside any png/jpg image.

##########################################

Command:

--------

qrbarcode --findbarcode [url removed, login to view]

Result:

--------

{ 'filename': '[url removed, login to view]', 'width': 600, 'height': 1024, codes: [{ 'type': 'bar', 'value': '098729464917', 'position': { 'tl': [10, 10] 'tr': [50, 20], 'bl': [10, 20], 'br': [50, 20] }] }

#3 Deskew and crop an image to fit it's original

##########################################

Command:

--------

qrbarcode --fit [url removed, login to view] --code "{ 'type': 'qr', 'value': 'text of the QR tag', 'position': { 'tl': [[url removed, login to view], [url removed, login to view]] 'tr': [[url removed, login to view], [url removed, login to view]], 'bl': [[url removed, login to view], [url removed, login to view]], 'br': [[url removed, login to view], [url removed, login to view]] }" [url removed, login to view]

Result:

--------

[url removed, login to view] generated based on the scanned image ([url removed, login to view]) but corrected using the information of the position of the qr code (or bar code).

Suggested Process of correcting the Scanned Image:

---------------------------------------------------

- Find the QR Code and it’s position on the scanned image, and find the one that matches the code argument (make sure we’re looking at the expected QR)

- Based on the corners of the QR Code, deskew the image (the QR Code becomes perfectly horizontal)

- Trim the Scanned Image so that the QR Code will match it’s relative position (as a percentage from top, left, bottom, right) to it’s position on the Original PDF Final (code argument);

- To that matter, this function will receive, as parameters, the QR Code position (4 corners) as percentages of the page size (From Left to Right, From Top to Bottom)

Further Details:

----------------

1) How to Deskew the Page (Rotation Correction)

- A line connecting the two top corners of the first QR-Code found on the image can have it’s angle calculated.

- Assuming the QR Code Top/Left Corner is QR-TL, QR Code Top/Right Corner is QR-TR and X,Y are it's corresponding coordinate (represented in pixels), the image angle is (QR-TL.Y minus QR-TR.Y) / (QR-TR.X minus QR-TL.X)

2) Trimming the Page (Position Correction)

- Say that in the original file the QR Code position is represented by QROrigTR, QROrigTL (both with X and Y coordinates and in pixels)

- Say that in the original final Page size is represented by POrig (also in pixels)

- This Function should FIND AGAIN QR Code Position in the Image and use the position of the QR Code in the image (again, after matching the code with the parameter)

- Say that QR Code position is represented by QRTR and QRTL (both with X and Y coordinates)

- Say that the size of the Scanned Page is represented by PScan

- Trim the page LEFT by Crop = [ QRTL.X-PScan.X*QROrigTL.X/POrig.X ] / [ 1-QROrigTL.X/POrig.X ]

- If Crop is Negative, a blank border is to be added to the image (the opposite effect of a trim), with Image Page height and Crop as width.

- Trim the page TOP by Crop = [ QRTL.Y-PScanY*QROrigTL.Y/POrigY ] / [ 1- QROrigTL.Y/POrig.Y ]

- If Crop is Negative, a blank border is to be added to the image (the opposite effect of a trim) with Image Page width and Crop as height.

Umiejętności: Grafika komputerowa, Architektura oprogramowania, Tworzenie oprogramowania

Zobacz więcej: create qr codes with logo or image fast, design a logo based only on the image and sketch attached yoga fit please try using either one a few or all of the following col, image recognition qr codes java code, cli software linux, css fit image based size, installation program custom software linux, b2evolution blog software linux, face morphing software linux, digital signage software linux, css fit image, free meeting style software linux vnc, bluethoot advertising software linux, html fit image table size, video chat software linux, fit image table, fit image table background html, video conferencing software linux, forex platform software linux, vbnet codes write image mysql, linux cli vlc server, fit image css, best fit image size collate, insurance broker software linux, fit image photofunia, poker software linux

Numer ID Projektu: #12744020

Przyznane użytkownikowi:

AImobile

Dear sir. Thank you. I will do my best to satisfy you. I have a rich experience on OCR and have done many projects. Thanks.

$800 USD w ciągu 20 dni
(2 Ocen)
3.8

6 freelancerów złożyło ofertę na średnią kwotę w wysokości $1100 do tego projektu.

pointlogic

Hello, I have successfully completed more than 250 projects here, I have an experience of 10 years in web designing and development. Having excellent skills of php, mysql,Angular.js,node.js,jquery, paypal integrations, Więcej

$750 USD w ciągu 10 dni
(55 Ocen)
6.8
AleenaIlyas

Hello, I have read what you exactly need, however I would like to ask you a few questions. I do work smart and do not rest until I get the job done. Please feel free to ping me anytime so we can have a detailed discuss Więcej

$1250 USD w ciągu 20 dni
(9 Ocen)
5.8
indivar

Hi There, Hope you doing great !!! I have been through your requirement, and would like to discuss more with you regarding same. I am a Redhat Certified System Administrator/Engineer having 4 years of experie Więcej

$1500 USD w ciągu 15 dni
(4 Ocen)
5.0
expertdevteam

Hello Sir, We are an Indian development company here. we have checked your posted details here and want more clarification in it, so message us to discuss on it more then we will able to move on it. Thanks

$753 USD w ciągu 20 dni
(8 Ocen)
4.6
mmadi

Dear Client, Greetings from Flowgica technologies, I have experience with these skills. We do have similar experience doing something similar to yours therefore I am looking forward to discuss and move ahead. Our late Więcej

$1050 USD w ciągu 24 dni
(5 Ocen)
4.0
PerfectlyCoding

Dear client, Thanks for your attention. I am android and iOS app, web server developer. I will like to work on your project and deliver the project. I have developed many applications involving various functionalit Więcej

$1250 USD w ciągu 20 dni
(0 Ocen)
0.0