Smart AI Tools

AI Selfie Passport Photo Maker

सीधे अपने टेढ़े-मेढ़े सेल्फी फोटो को अपलोड करें। AI खुद ही उसका टेढ़ापन (tilt) हटाकर उसे सीधा कर देगा और आप उसे पासपोर्ट साइज में क्रॉप करके डाउनलोड कर सकेंगे।

Upload Selfie / Photo (फोटो अपलोड करें)

Drag and drop your photo here, or click to browse. Supports JPG, PNG.

(यहाँ अपनी फोटो खींचे या चुनें)

🤖 Method 2: Copy ChatGPT Prompt (चैटजीपीटी से सीधा करें)

यदि आप ऊपर दी गई AI से संतुष्ट नहीं हैं, तो इस प्रॉम्प्ट का उपयोग चैटजीपीटी में करके पाइथन के द्वारा अपनी फोटो सीधा करा सकते हैं।

Click to Copy

Please write and run a Python script in Code Interpreter using OpenCV and PIL to align and crop this image. Follow these steps: 1. Load the image. 2. Brute-force Rotation Scan (to handle extreme tilts where standard face detection fails): Load cv2 face and eye cascade classifiers ('haarcascade_frontalface_default.xml' and 'haarcascade_eye.xml'). Rotate the image from -180 to +180 degrees in steps of 10 degrees. For each rotated image, run face detection. If a face is found, run eye detection inside the face box. Score the rotation: Score = (number of faces found * 100) + (number of eyes found * 50). Find the rotation angle that gives the maximum score. 3. Apply Rotation: Rotate the original image by the best angle found. 4. Passport Crop: Run face detection on this rotated image. If a face is found, crop the image to a standard 3.5:4.5 passport aspect ratio, centering the face so that the face/head width occupies about 50-60% of the crop width, and the head vertical height occupies 60-70% of the crop height. If no face is detected, simply crop the center of the rotated image to a 3.5:4.5 ratio. 5. Save the output and provide a download link. Do not generate a new AI image; edit the uploaded file.

English Usage Guide

1

Upload Photo

Select your tilted selfie/portrait photo in the upload box above.

2

Run AI Align / Adjust manually

Click the "Run AI Align" button to instantly estimate rotation and crop the face. You can also drag the photo and tweak sliders to adjust framing.

3

Enhance Quality & Border

Fine-tune brightness, contrast, and choose white or blue background borders as needed for passport rules.

4

Download Photo

Click "Download Passport Photo" to save the high-res 3.5x4.5cm ready-to-print image.

हिंदी गाइड (User Guide)

1

फोटो अपलोड करें

ऊपर दिए गए बॉक्स में अपनी टेढ़ी या तिरछी खींची हुई फोटो को सिलेक्ट करें।

2

AI अलाइनमेंट चलायें / मैनुअल बदलें

"Run AI Align" बटन पर क्लिक करके सीधे इमेज सीधी करें। आवश्यकतानुसार फोटो को ड्रैग करके या ज़ूम स्लाइडर से सेट करें।

3

चमक व बॉर्डर चुनें

ब्राइटनेस बढ़ाएं और वाइट या ब्लू बॉर्डर में से मनपसंद कटलाइन सिलेक्ट करें ताकि प्रिंटिंग में आसानी हो।

4

फोटो डाउनलोड करें

"Download Passport Photo" बटन पर क्लिक करके परफेक्ट रेडी फोटो अपने कंप्यूटर या मोबाइल में सुरक्षित करें!

💡 Important Tips for VLEs (महत्वपूर्ण टिप्स)

  • This tool uses client-side canvas transformations coupled with Google Gemini API to align crooked heads automatically.
  • If face alignment fails due to lighting or extreme rotation, you can use the interactive Crop Board and manual sliders to perfectly straighten, scale, and align the face.