updated to correct AdUnitId
A simple app that takes a picture from gallery or camera, and converts it to an artistic style similar to a famous art work.
Addition includes
- choose pictures from the Gallery or from Camera.
- select from 26 artistic styles.
- adjust the quality (higher quality takes longer, lower quality is faster but smaller in resolution).
- option to save and share the stylized image.
- button to toggle between original and stylized image
Technical details:
----------------------------
This app uses the "TF Stylize" machine learning code base from https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android
( .../examples/android/src/org/tensorflow/demo) which is licensed under the Apache License, Version 2.0 (the "License");
The original codes is a demo which uses a model based on 'A Learned Representation For Artistic Style' to restyle the camera preview image to that of a number of different artists.
This app retains the original stylize_quantized.pb ProtoBuf model.
Works of art used
-----------------------------
The demo used the following 26 pieces of art for training: -
Style 0 by Robert Delaunay; 1937; "Air, Iron and Water"
Style 1 by Roy Lichtenstein; 1975; "Bicentennial Print from America; The Third Century"
Style 2 by Wassily Kandinsky; 1921; "Schwarzer Fleck"
Style 3 by Sol LeWitt; 1995; "brushstrokes"
Style 4 by Natasha Westcoat; ; "June tree"
Style 5 by Wassily Kandinsky; 1913; "Composition VII"
Style 6 by Ei-Q; 1957; "Dawn"
Style 7 by Oscar Bluemner; 1911–1917; "Evening Tones"
Style 8 by Kathryn Corlett; 2012; "Feathers, Petals & Leaves"
Style 9 by Wiener Werkstätte; 1910–1912; "Felsenhuhn"
Style 10 by Paul Klee; 1938 ; "Forest witches"
Style 11 by Eugène Grasset; 1917; "Jalousie"
Style 12 by Robert Delaunay; 1911 ; "la ville de Paris"
Style 13 by Pablo Picasso; 1935; "La muse"
Style 14 by Kim Ik mo; 1995; "Landscape of Daydream 9553"
Style 15 by Unknown; ; "stained glass"
Style 16 by Luigi Russolo; 1910; "Profumo"
Style 17 by Sean Scully; 1971; "Red Light"
Style 18 by Koloman Moser; 2009; "Sigalion"
Style 19 by Vincent Van Gogh; 1889; "Starry Night"
Style 20 by Johannes Molzahn; 1919; "The Idea-Motion-Fight - Dedicated to Karl Liebknecht"
Style 21 by Stuard Davis; 1945–1951; "The Mellow Pad"
Style 22 by Fernand Leger; 1913; "Tangga"
Style 23 by Francis Picabia; 1913; "Udnie (Young American Girl, The Dance)"
Style 24 by Katsushika Hokusai; 1829–1833; "The Great Wave off Kanagawa"
Style 25 by Nikos Hadjikyriakos-Ghikas; 1959; "Wild Garden"