女人被狂躁到高潮视频免费无遮挡,内射人妻骚骚骚,免费人成小说在线观看网站,九九影院午夜理论片少妇,免费av永久免费网址

當(dāng)前位置:首頁(yè) > > 充電吧
[導(dǎo)讀]CameraFocusImportStatement:?? import QtMultimedia 5.0PropertiescustomFocusPoint: pointfocusMode :enu

CameraFocus

ImportStatement:?? import QtMultimedia 5.0

Properties

customFocusPoint: point

focusMode :enumeration

focusPointMode: enumeration

focusZones :list

Methods

boolisFocusModeSupported(mode)

boolisFocusPointModeSupported(mode)

DetailedDescription

CameraFocus是QtMultimedia 5.0模塊的一部分。

這個(gè)組件允許我們?cè)O(shè)置人工還是自動(dòng)對(duì)焦。包括選擇自動(dòng)對(duì)焦時(shí)相機(jī)幀的任何部分的信息。它是Camera的一部分,使用Camera的focus屬性訪問(wèn),它不能直接被使用。

importQtQuick 2.0

importQtMultimedia 5.0

Item {

??? width: 640

??? height: 360

??? Camera {

??????? id: camera

??????? focus {

??????????? focusMode: Camera.FocusMacro

??????????? focusPointMode:Camera.FocusPointCustom

??????????? customFocusPoint: Qt.point(0.2,0.2) // Focus relative to top-left corner

??????? }

??? }

??? VideoOutput {

??????? source: camera

???????anchors.fill: parent

??? }

}

PropertyDocumentation

customFocusPoint: point

指定焦點(diǎn)的中心,以幀的左上角頂點(diǎn)為(0,0),幀的中心為(0.5,0.5)的焦點(diǎn)的坐標(biāo)點(diǎn)。這個(gè)點(diǎn)只用在FocusPointCustom的集中模式。

focusMode :enumeration

當(dāng)前相機(jī)的焦點(diǎn)模式,它是下面的值之一:

描述

FocusManual

手動(dòng)或定焦模式。.

FocusHyperfocal

關(guān)注超過(guò)焦距的距離,最大景深被激活,所有目標(biāo)的距離在這個(gè)距離的一半到無(wú)限遠(yuǎn)之間將被設(shè)置。

FocusInfinity

焦點(diǎn)嚴(yán)格到無(wú)窮大。

FocusAuto

一次性自動(dòng)對(duì)焦模式。

FocusContinuous

連續(xù)自動(dòng)對(duì)焦模式。

FocusMacro

一次性和接近相機(jī)的物體對(duì)焦的模式。.

聯(lián)合多個(gè)模式是可能的,例如Camera.FocusMacro + Camera.FocusContinuous。在自動(dòng)對(duì)焦模式,focusPointMode和focusZones屬性控制自動(dòng)對(duì)焦怎樣執(zhí)行。

focusPointMode: enumeration

當(dāng)前相機(jī)的焦點(diǎn)模式。它被用于自動(dòng)對(duì)焦模式,決定相機(jī)聚焦在什么上。如果當(dāng)前的焦點(diǎn)模式是Camera.FocusPointCustom,customFocusPoint屬性允許我們指定對(duì)焦到當(dāng)前幀的那一部分。這個(gè)屬性的值是下列之一:

描述

FocusPointAuto

自動(dòng)選擇一個(gè)或多個(gè)焦點(diǎn)。

FocusPointCenter

幀中心為焦點(diǎn)

FocusPointFaceDetection

聚焦在幀上.

FocusPointCustom

聚焦在customFocusPoint? 指定的點(diǎn)。

focusZones :list

當(dāng)前相機(jī)焦點(diǎn)區(qū)域的列表。每個(gè)包含的區(qū)域指定同一坐標(biāo)作為customFocusPoint。區(qū)域狀態(tài)是下面的一個(gè)值之一。

描述

Camera.FocusAreaUnused

焦點(diǎn)區(qū)域未用在自動(dòng)對(duì)焦上.

Camera.FocusAreaSelected

焦點(diǎn)區(qū)域用于自動(dòng)對(duì)焦,但不是焦點(diǎn)

Camera.FocusAreaFocused

焦點(diǎn)區(qū)域用于自動(dòng)對(duì)焦,是焦點(diǎn)

VideoOutput{

??? id: viewfinder

??? source: camera

?

??? //display focus areas on camera viewfinder:

??? Repeater {

????????? model: camera.focus.focusZones

????????? Rectangle {

????????????? border {

????????????????? width: 2

????????????????? color: status ==Camera.FocusAreaFocused ? "green" : "white"

????????????? }

????????????? color: "transparent"

? ????????????// Map from the relative,normalized frame coordinates

????????????? property variant mappedRect:viewfinder.mapNormalizedRectToItem(area);

????????????? x: mappedRect.x

????????????? y: mappedRect.y

????????????? width: mappedRect.width

???? ?????????height: mappedRect.height

????????? }

??? }

}

MethodDocumentation

boolisFocusModeSupported(mode) const

如果提供的模式支持集中模式,則返回真,否則返回假。

boolisFocusPointModeSupported(mode) const

如果提供的模式支持焦點(diǎn)模式,則返回真,否則返回假。

本站聲明: 本文章由作者或相關(guān)機(jī)構(gòu)授權(quán)發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點(diǎn),本站亦不保證或承諾內(nèi)容真實(shí)性等。需要轉(zhuǎn)載請(qǐng)聯(lián)系該專欄作者,如若文章內(nèi)容侵犯您的權(quán)益,請(qǐng)及時(shí)聯(lián)系本站刪除。
換一批
延伸閱讀

  隨著技術(shù)發(fā)展,尤其是智能手機(jī)的發(fā)展,很多傳感器的技術(shù)逐漸成熟,特別今年以來(lái),資本的追逐,加上Google、Amazon等幾大巨頭紛紛布局無(wú)人機(jī)項(xiàng)目,整個(gè)無(wú)人機(jī)市場(chǎng)開始進(jìn)入大眾視野?,F(xiàn)階段,無(wú)

關(guān)鍵字: camera lily 大疆 無(wú)人機(jī) 極飛 phantom3

2019年12月,微軟啟官宣了一系列基于Fluent Design設(shè)計(jì)的現(xiàn)代化Windows 10圖標(biāo),涵蓋Mail and Calendar、計(jì)算器和照片等等。上月,微軟已經(jīng)邀請(qǐng)Windows Insider成員對(duì)多個(gè)...

關(guān)鍵字: camera design fluent Windows

我發(fā)現(xiàn)許多朋友對(duì)Camera Go Android Go手機(jī)提供更好的相機(jī)體驗(yàn)的報(bào)道更感興趣。 我已經(jīng)收集了有關(guān)Camera Go的信息,在這里與所有人共享。

關(guān)鍵字: Android camera 拍照

Components(組件)? ? Component 是由 Qt 框架或開發(fā)者封裝好的、只暴露了必要接口的 QML 類型,可以重復(fù)利用。一個(gè) QML 組件就像一個(gè)黑盒子,它通過(guò)屬性、信號(hào)、函數(shù)和外部

關(guān)鍵字: qml 動(dòng)態(tài)構(gòu)建組件

????????最近遇到一個(gè)很有意思的問(wèn)題,在QML中,新建一個(gè)js文件,這個(gè)js文件是獨(dú)立專門解析一些數(shù)據(jù)的,qml可以創(chuàng)建一個(gè)線程來(lái)單獨(dú)訪問(wèn),有趣的是我想通過(guò)這個(gè)js文件來(lái)訪問(wèn)另外一個(gè)js文件的內(nèi)

關(guān)鍵字: js qml

最近在開發(fā)一些關(guān)于安卓的app的程序,期間發(fā)現(xiàn)了很多坑,于是想到在此記下,以便后續(xù)能更好的總結(jié)。 一、C++注冊(cè)QML規(guī)范 C++注冊(cè)qml共有兩種機(jī)制,第一種是采用qmlRegisterType注

關(guān)鍵字: qml QT qt安卓

轉(zhuǎn)載于:http://blog.csdn.net/foruok/article/details/23528293??我將從實(shí)踐出發(fā),帶領(lǐng)大家一步一步完成在 Android 上的第一個(gè) Qt 應(yīng)用: H

關(guān)鍵字: Android for qml QT

????今天在Qt for Android跑離線數(shù)據(jù),要使用到Sqlite數(shù)據(jù)庫(kù),當(dāng)時(shí)是在pc端跑過(guò)了的,一切流程都很ok了,所以就準(zhǔn)備轉(zhuǎn)移到安卓設(shè)備上面試一試,發(fā)現(xiàn)剛運(yùn)行初始化Sqlite時(shí)就出現(xiàn)了

關(guān)鍵字: qml sqlite localstorage

今天有個(gè)朋友遇見了一個(gè)問(wèn)題,在使用qml中Menu控件時(shí)不知道如何設(shè)置字體顏色或其他樣式,于是我看了下官方文檔,當(dāng)前版本為Qt 5.9系列,看了文檔之后,發(fā)現(xiàn)只有使用import QtQuick.Co

關(guān)鍵字: menu qml menu自定義實(shí)現(xiàn)

最近在 REAL210 android 上調(diào)試 CAMERA 驅(qū)動(dòng)。發(fā)現(xiàn)原來(lái)的開發(fā)板只支持 640*320 以及 320*240 ,但是用的是 OV3640 300W 的攝像頭,應(yīng)該可以拍照到 204

關(guān)鍵字: Android camera 照片大小
關(guān)閉