Python app to process images - image quantization and summarize

Zaprto Objavljeno pred 4 letoma/leti Plačilo ob prevzemu
Zaprto Plačilo ob prevzemu

We need to process an image to simplify it into blocks of color. For this job we want to be able to run your python exe against an image or folder of images , provide some parameters in a simple config file or dialog and have it output the manipulated image and the data array that we need.

here is the flow of what we are looking for - lets start with this sample image

[login to view URL]

now we want to specify how many blocks we want to break this image in to. lets say something like 25 - here is a zip of the image in 25 parts (5 rows x 5 columns )

[login to view URL]

now we need to process the individual image parts to summarize their colors to their blended simplest form, I think the proper term here is quantization - i found this as an example online

[login to view URL]

if you use this specific image from the zip [login to view URL] you end up with this output -

[login to view URL]

another demo

[login to view URL]

so the output from the page should be a couple things

1- for each image we start with we will make a folder for it so we can dump in all of the new meta info. in the end it will be something like

/imagename/[login to view URL]

/imagename/tiles/

Inside of that we will put all of the image tiles

/imagename/tiles/[login to view URL]

2- next we need to summarize all of the tiles and then we can assemble them back to a single png - png must be used here so we dont have compression issues with viewing the outcome. This can sit in the root

/imagename/[login to view URL]

3- last we need to make the json file with all of the data. The data is 2 parts

1- we need the rgb value of each summarized file that is taken from sampling each of the tiles in step 1. So in our example we will have 25 RGB values, 1 per each tile. We also need to associate each value with the tile. i think we can use coordinates like (row,column) so the above example image would be (5,4) and the rgb color. not sure exactly how to structure that but I trust you can make it nice and organized.

here is a helpful writeup on how pinterest goes about something similar in terms of getting avg or dominant color

[login to view URL] I don't know if this is the most sound algo to use here but I wanted to make sure to give context to what sort of color averaging we are trying to do. Also found this lib which i think might be useful by just setting the color count to 1 [login to view URL] I think python has similar things with pillow

I think in python the right tool is probably pillow but I care a lot about the tech we are using so if you have an algorithm or some code from another repo please let me know so i can make sure we agree with the approach

to apply for this job you must include the following or the proposal will be downvoted (to avoid spam and generic posts)

1- what lib will you use in python for quantizing or summarizing?

2- if we get a python exe from you on this can we easily run it on windows against a single image or folder of images?

3- do you have any questions about what we need?

4-any issues putting some code comments in your solution so when we review it w can easily see how things are working? specifically we want to know how your cutting the tiles and how the quantization works.

Python Image Processing C++ programiranje

ID projekta: #22200449

Več o projektu

9 predlogov Oddaljen projekt Aktiven pred 4 letoma/leti

9 freelancerjev ponuja v povprečju za $213 na tem delu

liveexperts123

Hi there, I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the Več

$250 USD v 6 dneh
(42 ocen)
7.0
adampohp79

Hi sir Your job is exciting me. That is a very simple job for me. I can complete your job perfectly and plz check my profile in freelancer. I have 13 years experiment with python. Let me do this job for you now just to Več

$140 USD v 7 dneh
(58 ocen)
6.0
dinhfreedom

Dear sir. Your project attracted my attention at first glance, because I've extensive experience in image processing and python programming. I'm really confident about your project, and very eager to join your project. Več

$140 USD v 7 dneh
(47 ocen)
6.1
naravila

Dear sir! ⭐I am very interested in your project and I am exciting. ⭐I read your project details carefully and I though that I am the best fit developer for your project. ⭐I have rich experience about your proj Več

$300 USD v 3 dneh
(15 ocen)
5.4
umg536

Hi there, Being an expert in C, and C++ programming I can do this project for you. please leave a message on my chat so we can discuss the budget and deadline of the project. Also, have a look at my profile for my rev Več

$250 USD v 6 dneh
(10 ocen)
4.9
Rahulllkumarrr

1) Will use among from OpenCV , Pillow and Scikit Image. 2) I will give you a EXE file in which I will explain how to use single image and how to use images folder. 3) You have stated your project way more clearly but Več

$399 USD v 15 dneh
(24 ocen)
5.2
billion4world1

Hi, Dear! I just have checked your job description. I am a website expert and have enough knowledge with PHP, javascript, CSS, HTML. Especially, Python/Django is my top skill. If u hire me, u will get a good freelancer Več

$111 USD v 7 dneh
(4 ocen)
2.9
Ahmed8033

Hi, I will use OpenCV library for your images, it provides a function to find average RGB or HSI value of image so quantization will be done with OpenCV, i will write the app in such a way that it will be able to extr Več

$120 USD v 7 dneh
(4 ocen)
2.9