AI Style Transfer
Apply a neural painting style to your photo, choose the stroke size and strength, keep your own colours if you like, all on your device.
आपके ब्राउज़र में चलता है। आपकी फ़ाइलें कभी आपके डिवाइस से बाहर नहीं जातीं। जाँचने का तरीका देखें
…
कैसे करें
- 1फ़ोटो जोड़ें
परिदृश्य, पालतू या शहर की तस्वीर चुनें।
- 2मॉडल लोड करें
एक बार स्टाइल नेटवर्क डाउनलोड करने के लिए सहमत.
- 3शैली चुनें
मोज़ेक, कैंडी, बारिश की राजकुमारी या उदनी।
- 4विवरण आकार सेट करें
बोल्ड स्ट्रोक के लिए छोटा, ठीक स्ट्रोक्स के लिए बड़ा।
- 5रूप को समायोजित करें
यदि वांछित हो तो शक्ति बदलें और रंगों को बनाए रखें।
- 6निर्यात
पूर्ण आकार में स्टाइल की गई तस्वीर डाउनलोड करें।
इस टूल के बारे में
Neural style transfer repaints the content of one picture with the textures and colours of another. Early methods needed minutes per image on a powerful graphics card. Fast neural style networks, introduced by Johnson, Alahi and Fei-Fei in 2016, learn one style in advance so that each new photo needs only a single quick pass. This tool runs four such networks from the ONNX Model Zoo in your browser: mosaic, candy, rain princess and udnie.
The four styles
Mosaic breaks the picture into bright, tile-like fragments. Candy uses bold, sweet colours with flowing strokes. Rain princess gives dark, glowing tones with wet-looking strokes. Udnie produces abstract, blocky shapes inspired by early modernist painting. Each model is about 6.7 MB and is downloaded only when you first use that style.
Detail size and tiling
The networks were trained on 224 x 224 pixel images and take exactly that size. To work on larger pictures, the tool splits the photo into overlapping 224 pixel tiles, styles each one and blends them with feathered edges so no seams show. The detail size setting decides how big the photo is before tiling: small sizes give large, bold strokes and finish quickly; large sizes give fine strokes and take longer, because many more tiles are painted. The result is then scaled to your original size.
Strength and colour
Strength blends the stylised picture with the original. Values around 60 to 85 percent often look best, keeping faces and details readable. Keep the original colours uses only the brightness pattern of the style and the colours of your photo, a popular technique for subtler, more photographic results.
Speed
On a typical laptop each tile takes a fraction of a second. A medium detail picture is ready in a few seconds; very fine detail can take a minute. Progress is shown while tiles are painted. The work runs on your processor, so nothing is uploaded.
Good subjects
Landscapes, cityscapes, pets, flowers and architecture work well. Portraits benefit from lower strength and the keep-colours option. Busy photos with many small details can become hard to read in strong styles.
Ideas
Posters, greeting cards, album covers, profile pictures and a consistent art series from holiday photos.
Rights
The four networks were trained on well-known artworks and are published under a BSD licence. The pictures you create from your own photos are yours to use, but do not present them as original paintings by the artists whose works inspired the styles.
Limits
Only these four styles are available; training a new style needs a GPU and a training set, which is not possible in a browser. Tile blending is very good but can occasionally show slight variations of texture across a large flat area.
एक उदाहरण
एक बंदरगाह की 4000 x 3000 फोटो के साथ मिडियम डिटेल (768 पिक्सल, 20 टाइलें) और 80 प्रतिशत ताकत लगभग 8 सेकंड लगती है और इसे पोस्टर के रूप में पूर्ण 4000 x 3000 आकार पर निर्यात किया जाता है।
मुख्य बातें
- श्रेणी: इमेज
- आपके ब्राउज़र में चलता है, साइन-अप नहीं, अपलोड नहीं।
- आपका इनपुट आपके डिवाइस पर ही रहता है।
- अंग्रेज़ी में उपलब्ध।
- सामग्री की आख़िरी समीक्षा:
- आधिकारिक स्रोत: Johnson, Alahi and Fei-Fei, Perceptual Losses for Real-Time Style Transfer (2016); ONNX Model Zoo fast neural style (BSD-3-Clause)
अक्सर पूछे जाने वाले सवाल
तेज तंत्रिका शैली हस्तांतरण क्या है?
एक नेटवर्क जो एक कलाकृति पर पूर्व प्रशिक्षण प्राप्त करता है, जो उस शैली की किसी भी तस्वीर को एक ही पास में फिर से पेंट कर देता है।
केवल चार शैलियों क्यों हैं?
प्रत्येक शैली एक अलग से प्रशिक्षित नेटवर्क है. ये चार खुले लाइसेंस हैं और ब्राउज़र के लिए पर्याप्त छोटे हैं.
मैं बेहतर ब्रश स्ट्रोक कैसे प्राप्त करूं?
अधिक विवरण आकार चुनें। इसमें अधिक समय लगता है क्योंकि अधिक टाइलों को चित्रित किया जाता है।
क्या मैं अपनी तस्वीर के रंग रख सकता हूँ?
हाँ. केवल शैली की बनावट का उपयोग करने के लिए मूल रंगों को बनाए रखें।
डाउनलोड कितना बड़ा है?
About 6.7 MB per style, downloaded the first time you use it.
क्या मेरी तस्वीर अपलोड हो गई है?
नहीं, शैली आपके डिवाइस पर चलती है।
