چگونه با هوش مصنوعی عکس پرسنلی استاندارد ۳x۴ بسازیم؟
تاریخ انتشار: 2025/12/18
امروزه با پیشرفت هوش مصنوعی، ساخت عکس پاسپورتی و عکس پرسنلی با کیفیت بالا، بدون مراجعه به آتلیه، بهراحتی امکانپذیر شده است. اما نکتهی بسیار مهم این است که عکس نهایی کاملاً طبیعی، واقعی و مطابق استانداردهای رسمی باشد؛ نه شبیه تصاویر مصنوعی، رباتیک یا بیشازحد ویرایششده.
در این مقاله بهصورت کامل بررسی میکنیم که چگونه با استفاده از یک پرامپت دقیق و حرفهای، عکس پاسپورتی فوتورئالستیک با هوش مصنوعی بسازیم؛ عکسی که از نظر نور، ترکیببندی، چهره و استانداردهای بینالمللی، هیچ تفاوتی با عکس آتلیهای ندارد.
چرا استفاده از هوش مصنوعی برای عکس پاسپورتی؟
استفاده از AI برای ساخت عکس پاسپورتی مزایای زیادی دارد:
-
حذف هزینههای آتلیه
-
سرعت بسیار بالا
-
امکان اصلاح نور، پسزمینه و کادر
-
حفظ شباهت کامل با چهره واقعی
-
خروجی استاندارد برای پاسپورت، ویزا، کارت ملی و مدارک رسمی
اما فقط در صورتی نتیجه قابل قبول است که پرامپت بهدرستی نوشته شده باشد.
هدف اصلی پرامپت (Core Objective)
هدف این پرامپت، تولید یک عکس پرسنلی یا پاسپورتی با ویژگیهای زیر است:
-
کاملاً واقعی (Photorealistic)
-
بدون ظاهر مصنوعی یا مومی
-
حضور طبیعی و زندهی انسان در تصویر
-
نسبت تصویر اجباری 3:4 عمودی
-
وضوح بسیار بالا (حداقل 300 DPI)
مهمترین اصل: خروجی نهایی باید از نظر بصری کاملاً غیرقابل تشخیص از عکس واقعی باشد.
شرایط چهره و صورت (Facial Requirements)
برای اینکه عکس مورد تأیید سیستمهای رسمی باشد، صورت باید کاملاً استاندارد ثبت شود:
✅ حالت صورت
-
صورت کاملاً روبهروی دوربین
-
سر بدون هیچگونه کجشدگی
-
دهان بسته، بدون نمایش دندان
-
حالت چهره خنثی و طبیعی
✅ چشمها
-
چشمها باز و واضح
-
نگاه مستقیم به لنز دوربین
-
بدون خیرهشدن مصنوعی
-
وجود بازتاب نور طبیعی (Catchlight) برای زندهبودن نگاه
❌ عینک و اکسسوری
-
استفاده از عینک کاملاً ممنوع
-
هرگونه اکسسوری مثل:
-
گوشواره
-
پیرسینگ
-
گردنبند
-
کلاه یا هدبند
-
هدفون
باید بهطور کامل حذف شود، حتی اگر در عکس مرجع وجود داشته باشد.
-
مو و ریش (حساسترین بخش پرامپت)
مو
-
مرتب و ساده
-
بدون پوشاندن چشم یا ابرو
-
بدون سایه روی صورت
ریش و سبیل (بسیار مهم)
اگر فرد در تصویر مرجع ریش یا سبیل دارد:
-
انتقال ۱۰۰٪ دقیق
-
بدون پرپشتتر کردن
-
بدون تیرهتر کردن
-
بدون تغییر فرم یا طول
هرگونه زیباسازی یا دستکاری در ریش و سبیل = خطای جدی در خروجی
پوشش استاندارد در عکس پاسپورتی
برای آقایان
-
فقط پیراهن رسمی یقهدار یا پیراهن + کت
-
تیشرت، پولوشرت یا لباس یقهباز ممنوع
-
رنگ لباس باید با پسزمینه سفید کنتراست داشته باشد
(سرمهای، مشکی، زغالی، قهوهای تیره، زرشکی)
برای خانمها (الزامی)
-
فقط مقنعه ساده و تیره
-
بدون نمایش لباس دیگر
-
پوشش کامل گردن و شانهها
-
مو تقریباً کامل داخل مقنعه
-
آرایش بسیار ملایم و طبیعی
نورپردازی و پسزمینه (Photo Quality)
پسزمینه
-
سفید کاملاً یکدست
-
بدون گرادیانت یا سایه
نور
-
نور استودیویی نرم
-
نور اصلی از روبهرو
-
بدون سایه زیر چانه یا گردن
-
چهره طبیعی، نه تخت و نه بیشازحد برجسته
کادربندی و ترکیببندی (Framing)
یکی از مهمترین بخشهای عکس پاسپورتی:
-
نسبت تصویر: ۳:۴ عمودی
-
ارتفاع سر: حدود ۶۰ تا ۷۰ درصد کل تصویر
-
فاصلهی مناسب از بالای سر (Headroom)
-
نمایش کامل سر و گردن
-
فقط بخش بالایی شانهها
پرسپکتیو
-
شبیه لنز 50 تا 85 میلیمتر
-
بدون اعوجاج واید
-
بدون بزرگشدن بینی یا عقبرفتن چانه
فوتورئالیسم و جلوگیری از مصنوعیشدن تصویر
برای تأیید نهایی:
-
حفظ بافت طبیعی پوست
-
نمایش منافذ و جزئیات واقعی
-
حذف فیلترهای زیباسازی
-
عدم تغییر ساختار چهره
-
شباهت کامل به تصویر مرجع
عکس نهایی نباید شبیه:
-
CGI
-
مانکن
-
تصویر مومی
-
رندر سهبعدی
باشد.
مشخصات خروجی نهایی (Output Specifications)
-
نسبت تصویر: 3:4 عمودی (اجباری)
-
رزولوشن: حداقل 300 DPI
-
رنگی (نه سیاهوسفید)
-
نادیدهگرفتن کامل نسبت تصویر عکس مرجع
جمعبندی
اگر قصد دارید با هوش مصنوعی عکس پاسپورتی یا پرسنلی بسازید که:
-
واقعی باشد
-
توسط سیستمهای رسمی رد نشود
-
و کاملاً حرفهای به نظر برسد
باید از پرامپتی استفاده کنید که تمام جزئیات بالا را رعایت کند. این پرامپت دقیقاً برای همین هدف طراحی شده و میتواند جایگزین کامل عکاسی آتلیهای باشد.
Core Objective (ABSOLUTELY CRITICAL)
Generate a high-resolution, professional, and exceptionally photorealistic ID/passport photo using the provided reference image of the person. The final image must convey a natural, alive, and authentic human presence, completely devoid of any artificial, robotic, or wax-figure-like appearance. The output aspect ratio must be 3:4, regardless of the reference image's original aspect ratio.
I. Subject & Facial Requirements (Crucial for Naturalism)
Face & Expression: Must be 100% full-frontal. The facial expression must be naturally neutral and relaxed. Mouth closed, teeth not visible. Head must not be tilted.
Eyes & Gaze: Eyes must be open, clear, and fully visible. The gaze must be directed straight at the camera lens, but crucially, it must be natural and not overly wide, stiff, or unnaturally staring. The eyes must include subtle, natural catchlights to ensure they look "alive" and not robotic.
Eyeglasses: Strictly forbidden.
Accessories (STRICTLY FORBIDDEN): Absolutely no accessories are permitted. This includes, but is not limited to: piercings (nose, lip, eyebrow, etc.), earrings, necklaces, hats, caps, headbands, or headphones. The final image must be free of all such items, even if they are present in the reference image.
Hair & Facial Hair (CRITICAL FIDELITY - NON-NEGOTIABLE):
Hair: Neatly styled and simple. Hair must not cover the eyes, eyebrows, or any significant part of the face.
Facial Hair (e.g., beard, mustache): (CRITICAL FIDELITY - NON-NEGOTIABLE) If facial hair is present in the reference image, it must be an exact 1:1 transfer of the style, length, and density from the reference. The AI's priority must be absolute fidelity over aesthetic enhancement. DO NOT 'fill in,' 'darken,' 'thicken,' or 'lengthen' any part of the facial hair. Any modification or exaggeration is a critical failure.
II. Attire & Appearance (The Clothing)
For Men:
Style (Strict): Must be a formal button-down or button-up collared shirt (a 'dress shirt'). A formal jacket over this type of shirt is also acceptable. Explicitly forbid t-shirts, polo shirts, uniforms, or any collarless tops.
Color (Variety Required): Must contrast strongly with the white background. Actively vary the color choice for the attire. While dark blue/navy is acceptable, also frequently use other appropriate, solid, dark colors such as black, dark grey (charcoal), dark brown, or dark maroon/burgundy.
For Women (CRITICAL & MANDATORY):
Attire: Regardless of the reference image, if the subject is female, the final photo MUST show only a standard, solid-color dark (e.g., black) Maghnae.
Exclusion: No other clothing (like a collared shirt, jacket, or coat) should be visible. The Maghnae itself is the complete attire shown in the frame.
Fit & Hair: It must be worn neatly, fully covering the neck and shoulders. Hair must be almost entirely tucked inside the Maghnae, with minimal to no stray hair visible on the forehead or face. It must not cast any shadows on the face. The entire face oval must remain clearly visible.
Makeup: If makeup is present, ensure it is minimal (natural makeup) and natural.
III. Technical & Artistic Requirements (The Photo)
Background: Must be a perfectly uniform, plain, and solid bright white.
Lighting (CRITICAL): Must emulate professional, soft, studio portrait lighting. Lighting must be balanced and primarily frontal, ensuring no harsh shadows on the face, under the chin, or on the neck. It should provide a natural, subtle dimensionality to the face rather than a flat, "pasted-on" look. No distracting shadows should be cast on the white background.
IV. Framing, Perspective & Composition (CRITICAL - HIGH PRIORITY)
Proportional Framing (Strict): The head (measured from the bottom of the chin to the top of the hair/scalp) must occupy a specific and consistent portion of the total vertical height of the 3:4 frame, approximately 60% to 70%.
Content: The frame must capture the full head, the full neck, and only the very top of the shoulders (which, for women, will be covered by the Maghnae).
Headroom: There must be a clear, small, and consistent amount of empty white space (headroom) between the top of the head and the top edge of the frame.
Perspective & Focal Length (Strict): Emulate the perspective of a standard portrait lens (e.g., 50-85mm equivalent). The perspective must be flat, with zero wide-angle distortion (e.g., no enlarged nose, bulging forehead, or receding chin). The internal framing of the subject must fit within the strict 3:4 vertical aspect ratio, even if the reference image is different.
V. Photorealism & Anti-Artificiality (CRITICAL)
Overall Natural Appearance: The generated image MUST be indistinguishable from a real photograph. It must strongly avoid any 'plastic,' 'overly-processed,' 'artificial,' 'CGI,' 'robot-like,' 'wax-figure,' or 'painted' look.
Texture & Detail: The image must be exceptionally photorealistic. Retain natural skin textures, subtle pores, natural variations, and realistic lighting interplay. Do not over-smooth the skin (no "beauty filters" or airbrushing that removes natural human details).
Fidelity: The likeness to the reference image is paramount. Do not alter the person's facial structure, natural skin tone, or identifying features beyond what is required for an ID photo.
VI. Output Specifications (MANDATORY & ABSOLUTELY STRICT)
Aspect Ratio (CRITICAL - OVERRIDING COMMAND): The final image must be vertical (portrait orientation). It must strictly adhere to the 3:4 aspect ratio.
CRUCIALLY: THE ASPECT RATIO OF THE SOURCE/REFERENCE IMAGE MUST BE COMPLETELY IGNORED AND OVERRIDDEN. The reference image's dimensions (e.g., square, horizontal, or any other ratio) are irrelevant and MUST NOT influence the output aspect ratio. The final output MUST be forced to 3:4, and the content must be framed within this 3:4 ratio as per Section IV.
Resolution: Minimum 300 DPI.
Format: Color (not black and white).
← بازگشت به وبلاگ