Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Camera2 ve CameraX, uygulamanızın satıcıların Android cihazlarda uyguladığı aşağıdaki uzantılara erişmesine olanak tanıyan bir Extensions API'si sağlar:
Otomatik: Uzatma modunu, satıcı kitaplığı uygulamasına bağlı olarak mevcut sahne arka planına göre ayarlar. Örneğin, düşük ışık koşullarında fotoğraf çekmek için Otomatik mod Gece moduna geçer. Portre fotoğraflarda,
Yüz rötuşu veya Bokeh otomatik olarak uygulanır.
Bokeh: Ön plandaki özneyi netleştirir ve arka planı bulanıklaştırır.
Genellikle, arka planı bulanık ve yumuşak olan portre fotoğrafları çekmek için kullanılır.
Yüz rötuşu: Cilt dokusunu, göz altı rengini ve daha fazlasını rötuşlar.
HDR (Yüksek Dinamik Aralık): Pozlama aralığını genişleterek daha canlı fotoğraflar elde etmenizi sağlar. HDR modunda kamera, çeşitli pozlama değerleriyle birkaç fotoğraf çeker ve bunları tek bir fotoğrafta birleştirir.
Gece: Düşük ışıkta çekilen fotoğrafları daha parlak hale getirir. Kamera, çeşitli pozlama değerlerinde birkaç fotoğraf çeker ve bunları tek bir fotoğrafta birleştirir. Bu işlem birkaç saniye sürebilir. Kamera fotoğraf çekerken kullanıcının telefonu sabit tutması gerekir.
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-21 UTC.
[null,null,["Son güncelleme tarihi: 2025-08-21 UTC."],[],[],null,["# Camera extensions\n\n[Camera2](/training/camera2) and [CameraX](/training/camerax) provide an Extensions\nAPI that lets your app access the following extensions that vendors have implemented\non Android devices:\n\n- **Auto:** adjusts the extension mode according to the current scene background, which depends on the vendor library implementation. For example, in low light scenarios, Auto switches to Night to take a picture. For portrait photos, Auto applies Face Retouch or Bokeh.\n- **Bokeh:** sharpens the foreground subject and blurs the background. Usually used to take portrait photos of people with a soft, out-of-focus background.\n- **Face Retouch:** touches up skin texture, under-eye tone, and more.\n- **HDR (High Dynamic Range):** widens exposure range, resulting in more vivid photos. In HDR mode, the camera takes several photos with various exposure values and merges them into one.\n- **Night:** brightens photos in low-light situations. The camera takes several photos at various exposure values and merge them into one. This process can take several seconds, and the user should hold the phone still while the camera captures photos.\n\nThe [Camera2](/training/camera2/extensions-api) and\n[CameraX](/training/camerax/extensions-api) Extension APIs expose the same set\nof extensions, which are available on many\n[supported devices](/training/camera/supported-devices).\n| **Note:** Camera2 and CameraX extensions are only available for the preview and image capture use cases, not video capture.\n\nSupported devices\n-----------------\n\nNot all devices support extensions, and even if a device has\nextensions support, it does not support all extensions.\n\nFor a list of known devices that support extensions,\nsee [Supported devices](/training/camera/supported-devices). To check if\nan extension is available on your device, see the\n[Camera2 Extensions API](/training/camera2/extensions-api) and\n[CameraX Extensions API](/training/camerax/extensions-api)\ndocumentation, respectively.\n\nNext steps\n----------\n\nLearn how to enable camera extensions for your app:\n\n- [Camera2 Extensions API documentation](/training/camera2/extensions-api).\n- [CameraX Extensions API documentation](/training/camerax/extensions-api)."]]