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الصادرات
قم بتنزيل الصورة المتنوعة بحجم كامل
عن هذه الأداة
نقل النمط العصبي يعيد رسم محتوى صورة واحدة مع نسيج وألوان أخرى. كانت الطرق المبكرة تحتاج إلى دقائق لكل صورة على بطاقة رسومات قوية. شبكات النمط العصبي السريع، التي قدمها جونسون وألاهي وفاي في عام 2016، تعلم نمطًا واحدًا مسبقًا بحيث لا تحتاج كل صورة جديدة إلى مرور سريع واحد فقط. هذه الأداة تشغل أربع شبكات من هذا القبيل من حديقة حيوانات ONNX Model في متصفحك: الفسيفساء والحلوى و أميرة المطر والأودني.
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 × 3000 من الميناء بأسلوب الحلوى بتفاصيل متوسطة (768 بكسل، 20 بلاط) وقوة 80 في المائة حوالي 8 ثوان وتصدر بحجم كامل 4000 × 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.
هل تم تحميل صورتي؟
لا، الأساليب تعمل على جهازك
