Python app to process images - image quantization and summarize

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]


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.

Compétences : Python, Image Processing, Programmation C++

en voir plus : python app engine sample, ubuntu running python app service, process wait image, reshape image python, image processing python, python image pixel manipulation, opencv color quantization python, convert rgb image to numpy array, flatten image python, python image to numpy array, python crop image numpy, remove images image gallery module dotnetnuke, multiple images image png, app display images iphone display, ruby wep app process payment, opensocial container python app engine, python app check phone, python csv process, hide app process, can combine images image

Concernant l'employeur :
( 459 commentaires ) Austin, United States

Nº du projet : #22200449

14 freelance font une offre moyenne de $208 pour ce travail


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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 6 jours
(35 Commentaires)

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(56 Commentaires)

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. Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(46 Commentaires)

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(14 Commentaires)

Hello, Hi, Nice to meet you! I have read your requirements carefully and I am very interesting for your project. I am confident of this project as I'm a professional Python expert with over 5 years of experience. gith Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(31 Commentaires)

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 6 jours
(9 Commentaires)

Pro Python/C++ Programming/Image Processing Expert! Hi client. Once saw a your project, it was very attracted my mind because I am very interested in your project and also, have rich experiences and high skills on the Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(12 Commentaires)

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 15 jours
(17 Commentaires)

How are you? I am a senior web expert with 9 years of experience. I have checked your requirement in detail. I can start right now. Once you award me, I will do my best. I will serve you whenever you want. No Worry a Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(4 Commentaires)

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(3 Commentaires)

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(2 Commentaires)

Hi, 1) I will use numpy with python in order to quantize the image and then split the image in r,g,b separately to find mean of each and recombine them to get a solid dominant color as shown in [login to view URL] Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(1 Évaluation)

Dear Client, I've checked the requirement and understand that :) I've created S..I..M..I..L.A..R.... Project in past. Do you want to see the D.E.M.O.. ????? I'm not here most of the time so kindly please con Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(0 Commentaires)

Hey! I have read through your specifications and believe I would be a great fit for the project. I'm a freelance graphic designer based in Vancouver, Canada. I have 6+ experience in graphic designing. I will provide y Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)