Improve Python Perspective Correction Script

  • Tila: Closed
  • Palkinto: $75
  • Vastaanotetut työt: 16
  • Voittaja: mbsheikh2018

Kilpailun tehtävänanto

I'm seeking a freelance Python developer to improve the performance of a perspective correction script which is currently struggling with shapes that have more than 4 points.

I have a Python script that does perspective correction of the images.
It works in cases where the shape has 4 corners.
If a shape has more than 4 corners, the script will not work.
Please see attached Working-Case.jpg and NON-Working-Case.jpg
The script obviously fails on the "L" shapes.
The NON-Working-Case.jpg has the expected result simulated.

Attached is a zipped folder with everything you need to start.
To run a script, use this command coordinates.py {filename}
Example coordinates.py UE0ydkLyu4.jpg
The "source" folder has various source images that have working and non-working cases.

I need a solution that will work in most "non-working" cases.

This script also has a function that saves points coordinates to JSON (before, after, and applied translations)
It needs to be working and save only 4 points.


Once a first working solution is submitted, I will make this contest "Guaranteed".

Please don't post your code publically so other people will not copy your code.

Suositellut taidot

Työnantajan palaute

“Very positive experience. Maryam was a pleasure to work with. ”

Profiilikuva ashevillemnt, United States.

Julkinen selvennystaulu

  • ashevillemnt
    Kilpailun järjestäjä
    • 4 viikkoa sitten

    I have run all the submitted scripts.
    I will be doing a comparison within the next two days.
    I will also be testing the point coordinates.
    If anyone is interested in seeing different results, I uploaded them here: https://u.pcloud.link/publink/show?code=kZLCpb0Zq4HpJeR4517XKMlW8BtAbLDnSJ0V
    The file names are randomly assigned for each submission.

    • 4 viikkoa sitten
  • ashevillemnt
    Kilpailun järjestäjä
    • 4 viikkoa sitten

    Once again, thank you everyone for the participation!
    I will be running tests on the scripts during the next few days.
    If anyone made any updates to their scripts, you can still share them with me within the next 24 hours.

    • 4 viikkoa sitten
  • mbsheikh2018
    mbsheikh2018
    • 1 kuukausi sitten

    Hi, i have shared another refined version that is working more better

    • 1 kuukausi sitten
  • achyuttiwari22
    achyuttiwari22
    • 1 kuukausi sitten

    #15

    • 1 kuukausi sitten
  • ashevillemnt
    Kilpailun järjestäjä
    • 1 kuukausi sitten

    I have added some before and expected "after" images.
    They were simulated in Photoshop.
    I have also increased the contest prize to $75.
    This contest is now Guaranteed.

    • 1 kuukausi sitten
  • muyen2023
    muyen2023
    • 1 kuukausi sitten

    Please check my entry#14

    • 1 kuukausi sitten
  • muyen2023
    muyen2023
    • 1 kuukausi sitten

    Please check my entry #12

    • 1 kuukausi sitten
  • muyen2023
    muyen2023
    • 1 kuukausi sitten

    Please check my entry#13

    • 1 kuukausi sitten
  • sawerababar65
    sawerababar65
    • 1 kuukausi sitten

    Dear Client, I would greatly appreciate your response and feedback.

    • 1 kuukausi sitten
  • sawerababar65
    sawerababar65
    • 1 kuukausi sitten

    I hope you're well. Could you kindly review and provide feedback on the Python Perspective Correction Script I've worked on? Thank you, Sawera Babar."

    • 1 kuukausi sitten
  • mbsheikh2018
    mbsheikh2018
    • 1 kuukausi sitten

    I have just shared with you directly the updated version of script and it should work with all source images to identify edges, rectangles and also transform them.

    • 1 kuukausi sitten
  • achyuttiwari22
    achyuttiwari22
    • 1 kuukausi sitten

    Have a check over entry #2 . This is basically output after execution of code for image which was not working with previous code.

    • 1 kuukausi sitten
    1. ashevillemnt
      Kilpailun järjestäjä
      • 1 kuukausi sitten

      Thanks for your entry.
      The output code doesn't mean that script is working properly.
      I will need to test the script before I can accept your entry.

      • 1 kuukausi sitten
  • mbsheikh2018
    mbsheikh2018
    • 1 kuukausi sitten

    Hi, I have achieved that as well, and attached both console screen shot and the rectangle image. Would ask to get my code first and see if it works for you, Thanks

    • 1 kuukausi sitten
  • achyuttiwari22
    achyuttiwari22
    • 1 kuukausi sitten

    Can help you in resolving the errors. Connect with me.

    • 1 kuukausi sitten

Näytä lisää kommentteja

Kuinka päästä alkuun kilpailuiden kanssa

  • Ilmoita kilpailusi

    Ilmoita kilpailusi Nopeaa ja helppoa

  • Saat valtavasti töitä

    Vastaanota tonnikaupalla osallistumisia Ympäri maailmaa

  • Myönnä palkinto parhaalle työlle

    Myönnä palkinto parhaalle työlle Lataa tiedostot - Helppoa!

Ilmoita kilpailu nyt tai liity tänään!