{"id":15696787,"url":"https://github.com/louishenrifranc/paintforme","last_synced_at":"2025-05-08T23:28:56.745Z","repository":{"id":73399092,"uuid":"79724715","full_name":"louishenrifranc/PaintForMe","owner":"louishenrifranc","description":"Simple Android app to transform picture to similar drawing","archived":false,"fork":false,"pushed_at":"2017-02-05T11:44:25.000Z","size":61649,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T19:21:19.514Z","etag":null,"topics":["android","deeplearning","tensorflow","vgg19"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/louishenrifranc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-22T15:07:57.000Z","updated_at":"2019-07-20T17:33:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b33549b-e666-4ac8-add7-e7e5daaf4366","html_url":"https://github.com/louishenrifranc/PaintForMe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louishenrifranc%2FPaintForMe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louishenrifranc%2FPaintForMe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louishenrifranc%2FPaintForMe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louishenrifranc%2FPaintForMe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/louishenrifranc","download_url":"https://codeload.github.com/louishenrifranc/PaintForMe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253162746,"owners_count":21863970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","deeplearning","tensorflow","vgg19"],"created_at":"2024-10-03T19:09:57.166Z","updated_at":"2025-05-08T23:28:56.737Z","avatar_url":"https://github.com/louishenrifranc.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e Do you feel a lack of creativity while drawing sometimes? \n\u003e Stuck at a museum in front of La Joconde, ever wanted to find closely looking alike painting?  \n\u003e Just bored about life, make your routine panorama looking alike a painting?  \n\n__Download the PaintForMe app__\n\n# What for\n* Take a picture with your phone, or search on on your local drive. \n* Send the picture to the server, and wait for paintings which are similar in the style of the initial sended picture.\nhttp://www.inference.vc/content/images/2016/01/9k-.jpg\n\n# Examples\n* Example with a picture of building:  \n![](https://github.com/ConUHacks/image_to_painting/blob/master/demos/demo1.gif)\n* Example with a picture of Venise:  \n![](https://github.com/ConUHacks/image_to_painting/blob/master/demos/demo2.gif)\n* Example with a garden picture:  \n![](https://github.com/ConUHacks/image_to_painting/blob/master/demos/demo3.gif)\n* Example with La Joconde:  \n![](https://github.com/ConUHacks/image_to_painting/blob/master/demos/demo4.gif)  \n_(still training the accuracy)_\n\n# Usage\n## Play with the app\n* Get a Firebase Account, setup your 'google-services.json' and build a new project\n* or, use the apk provided\n\n## Play with the server\nTo reproduce the results:  \n1. Download the dataset at ![kaggle.com](https://www.kaggle.com/c/painter-by-numbers/data)  \n2. Download the neural networks weights at ![google drive](https://drive.google.com/file/d/0Bz7KyqmuGsilZ2RVeVhKY0FyRmc/view). I used this deep neural network architecture [vgg-19](https://arxiv.org/abs/1409.1556)\n3. Compute the vector representation for painting using ```script_python/model.py```  \n4. Set Firebase config credentials in the ```backend.py```. For more information about the api, I used ![pyrebase](https://github.com/thisbejim/Pyrebase#database)  \n5. Launch the server with ```python backend.py```  \n\n# Visualisation of the latent space\nVisualisation of a set of pictures using PCA algorithm and tensorboard Embedding\n![](https://github.com/ConUHacks/image_to_painting/blob/master/demos/visualisation.gif)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouishenrifranc%2Fpaintforme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flouishenrifranc%2Fpaintforme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouishenrifranc%2Fpaintforme/lists"}