Python OpenCV Developer Needed to Automate TCG Card-Replacement Script
Rozpočet: $200.0
FIXED /
⭐ 0.00 (0)
United States
python, opencv, computer-vision, image-processing, desktop-applications, scripting
Hello all you talented people!
I am (unfortunately) a non-coder and I need a standalone Python utility script for Windows 11.
I use AI tools to generate artworks of characters holding my custom trading cards (making trading cards is my biggest hobby). The cards they are holding are good quality and but a bit blurry. I have separate, massive, high-resolution 25MB master PNG files of those exact same cards. For example, I can generate an image of a character holding a card called "Toxicant Skull", which looks okay until you zoom in, and want it replaced with the actual PNG of "Toxicant Skull" which is ultra sharp.
I need a program with a simple terminal menu where I select the artwork and select my HD card, and the program automatically stamps the HD card perfectly over the blurry one. I've tried making it myself with Claude Code, both using some "fill" attempt to fill a black or neon blank card, and a visual matching version to replace the blurry art with the matching HD one. Both failed me.
GOALS & REQUIREMENTS:
1. It must automatically detect the card's position, 3D tilt, and angle inside the artwork.
2. It must automatically keep fingers, hands, and hair ON TOP of the new card. I do not want the card pasting over the character's fingers. I will show an example of what a perfect version looks like (as Claude Code did manage to make ONE look great).
3. No ugly black borders or shadow bugs around the rotated card frame. The PNG basically must replace the original card in the artwork, and preserving the aspect ratio of the original PNG of is the most important thing, as I cannot completely control the thickness or aspect ratio of the card generated in the artwork.
A quick note on testing:
I'm looking for a universal tool because I generate new card art all the time! Once you finish the script using the 7-or-so samples, I'll do a quick test-run on 3-of-so "blind" images on my end that the script hasn't seen yet. This is just to make sure the program made works on new arts and not just the ones I provide. If it automatically handles those new images just as perfectly without needing any code changes, then we are completely good to go, and I'll release the payment immediately! In fact, if the script passes my blind tests smoothly on the very first try without needing bug fixes, I am more than happy to add a nice bonus to the final payout, along with a glowing five-star review!
(Note: An AI helped me write the exact technical specs below so you know what tools to use):
- Must use OpenCV (SIFT/ORB and Homography/RANSAC) for visual feature matching alignment.
- Must use alpha channel blending for seamless background borders.
- Must use pixel-disparity illumination-normalized masking for foreground occlusion (no rigid RGB skin thresholds).
Also, as I am not a coder, if there is a better way to do what I am requesting, I am 100% open to hearing a better way to have this done. If you a skilled with coding or using AI code and this program would be better using a different tech method let me know.
Due to Upwork's 10-file limit, I have only attached a few core examples here. As soon as we open a chat room together, I will instantly send you the zipped full folder containing all 10 test artworks and all matching HD card PNG files! It also includes various screenshots of my failed attempts, and the 2 programs made by Claude Code that couldn't get those attempts right.
If this program works beautifully, I am highly interested in keeping you on for future contract work! I have several other ideas for small utility apps and tools to support this card game as it expands.
P.S. - "Bonus Stress Test Mat.png" - This is the ultimate end-game test file. There are 6 different active cards flat on the playmat along with 3 card backs on the playmat, for a total of 9. If your script can loop through and replace multiple cards at once on this mat, that's amazing! But if the script can only handle 1, 2 or 3 hand images right now, that is completely fine and it will NOT be a dealbreaker for the project payout.
I appreciate the time of anyone who tries to help me. This card game is my life's work! :)
Otevřít na Upwork