JP2023077195A - Information processing device, authentication system, control method, program, and storage medium - Google Patents

Information processing device, authentication system, control method, program, and storage medium Download PDF

Info

Publication number
JP2023077195A
JP2023077195A JP2021190388A JP2021190388A JP2023077195A JP 2023077195 A JP2023077195 A JP 2023077195A JP 2021190388 A JP2021190388 A JP 2021190388A JP 2021190388 A JP2021190388 A JP 2021190388A JP 2023077195 A JP2023077195 A JP 2023077195A
Authority
JP
Japan
Prior art keywords
image
subject
subject area
unit
information processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021190388A
Other languages
Japanese (ja)
Inventor
浩一郎 椀田
Koichiro Wanda
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2021190388A priority Critical patent/JP2023077195A/en
Publication of JP2023077195A publication Critical patent/JP2023077195A/en
Pending legal-status Critical Current

Links

Images

Abstract

To authenticate a subject in a shorter time even when there are multiple subjects in an image.SOLUTION: An information processing device has: an acquisition part 401 for acquiring images; a detection part 402 for detecting a subject area from the image acquired by the acquisition part 401; a determination part 405 for determining the subject area targeted by image adjustment from multiple subject areas when the detection part 402 detects the multiple subject areas from the image; an identification part 404 for identifying the subject area satisfying a prescribed condition from the multiple subject areas detected by the detection part 402 during the image adjustment; an authentication part 406 for authenticating the image in the subject area satisfying the prescribed condition identified by the identification part 404; and an output part 410 for outputting an authentication result by the authentication part 406.SELECTED DRAWING: Figure 1

Description

情報処理装置、認証システム、制御方法、プログラム及び記憶媒体に関する。 The present invention relates to an information processing device, an authentication system, a control method, a program, and a storage medium.

特許文献1では、顔の検出と顔の識別を切り換えて制御する技術が開示されている。また特許文献2では、認証システムが露出や照明の調整手段を保持する技術が開示されている。 Japanese Patent Application Laid-Open No. 2002-200002 discloses a technique for switching and controlling face detection and face identification. Japanese Patent Application Laid-Open No. 2002-200002 discloses a technique in which an authentication system holds means for adjusting exposure and illumination.

特開2008-270896JP 2008-270896 特開2007-94535JP 2007-94535

本発明が解決しようとする課題は、撮像画像内に複数の被写体がある場合でも、より短時間で被写体の認証を行うことである。 The problem to be solved by the present invention is to perform subject authentication in a shorter time even when there are a plurality of subjects in a captured image.

上記課題を解決するために、本発明の一態様に係る情報処理装置は、画像を取得する取得部と、前記取得部が取得した画像から被写体領域を検出する検出部と、前記検出部が前記画像から複数の被写体領域を検出した場合に、前記複数の被写体領域から、画像調整の対象とする被写体領域を決定する決定部と、前記画像の調整中に、前記検出部が検出した前記複数の被写体領域から所定の条件を満たす被写体領域を特定する特定部と、前記特定部が特定した前記所定の条件を満たす被写体領域の画像を認証する認証部と、前記認証部による認証結果を出力する出力部と、を有する。 To solve the above problems, an information processing apparatus according to an aspect of the present invention includes an acquisition unit that acquires an image, a detection unit that detects a subject area from the image acquired by the acquisition unit, and the detection unit that includes the a determination unit that determines, when a plurality of subject regions are detected from an image, a subject region to be subjected to image adjustment from the plurality of subject regions; a specifying unit that specifies a subject area that satisfies a predetermined condition from a subject area; an authentication unit that authenticates an image of the subject area that satisfies the predetermined condition specified by the specifying unit; and an output that outputs an authentication result of the authenticating unit. and

本発明によれば、画像内に複数の被写体がある場合でも、より短時間で被写体の認証を行うことができる。 According to the present invention, even when there are multiple subjects in an image, it is possible to perform subject authentication in a shorter time.

第1の実施形態に係るシステム構成の一例を示す図。The figure which shows an example of the system configuration|structure which concerns on 1st Embodiment. 第1の実施形態に係る撮像装置の装置構成の一例を示す図。1 is a diagram showing an example of the device configuration of an imaging device according to the first embodiment; FIG. 第1の実施形態に係る情報処理装置の装置構成の一例を示す図。1 is a diagram showing an example of the configuration of an information processing apparatus according to a first embodiment; FIG. 第1の実施形態に係る情報処理装置の機能構成の一例を示す図。1 is a diagram showing an example of a functional configuration of an information processing apparatus according to a first embodiment; FIG. 第1の実施形態に係る情報処理装置の動作の一例を示すフローチャート。4 is a flow chart showing an example of the operation of the information processing apparatus according to the first embodiment; 第1の実施形態に係る情報処理装置による認証の様子の一例を示す図。FIG. 4 is a diagram showing an example of how authentication is performed by the information processing apparatus according to the first embodiment;

以下、添付図面を参照して、本発明を実施するための形態について詳細に説明する。以下に説明する実施形態は、本発明の実現手段としての一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されるべきものであり、本発明は以下の実施形態に限定されるものではない。また、後述する各実施形態の一部を適宜組み合わせて構成してもよい。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the accompanying drawings. The embodiments described below are examples of means for realizing the present invention, and should be appropriately modified or changed according to the configuration of the apparatus to which the present invention is applied and various conditions, and the present invention is the following embodiments. is not limited to Also, a part of each embodiment described later may be appropriately combined.

<実施形態1>
(システム構成)
図1は本実施形態に係る撮像装置を含む撮像システムの構成の一例を示す図である。撮像システム100は撮像装置101、ネットワーク102、情報処理装置103、表示装置104(表示部)及び入力装置(入力部)105を有する。
<Embodiment 1>
(System configuration)
FIG. 1 is a diagram showing an example of the configuration of an imaging system including an imaging device according to this embodiment. The imaging system 100 includes an imaging device 101 , a network 102 , an information processing device 103 , a display device 104 (display unit), and an input device (input unit) 105 .

撮像装置101は情報処理装置103とネットワーク102を介して通信可能である。撮像装置101は被写体を撮像して画像を生成し、ネットワーク102を介して情報処理装置103へと撮像した画像を送信する。情報処理装置103には表示装置104及び入力装置105が接続されており、撮像装置101から送られた画像は表示装置104に表示される。また、入力装置105はキーボードやマウス等であり、情報処理装置103を操作するために用いられる。尚、情報処理装置103への操作はネットワーク102を介した撮像装置101の撮像条件の設定やPTZ(Pan Tilt Zoom)の操作を含む。 The imaging device 101 can communicate with the information processing device 103 via the network 102 . The imaging device 101 captures an image of a subject, generates an image, and transmits the captured image to the information processing device 103 via the network 102 . A display device 104 and an input device 105 are connected to the information processing device 103 , and an image sent from the imaging device 101 is displayed on the display device 104 . Also, the input device 105 is a keyboard, a mouse, or the like, and is used to operate the information processing device 103 . Note that operations to the information processing apparatus 103 include setting of imaging conditions of the imaging apparatus 101 via the network 102 and operations of PTZ (Pan Tilt Zoom).

本実施形態では、情報処理装置103、表示装置104及び入力装置105が別体としているが、タッチパネルディスプレイを有するノートPCのように情報処理装置103、表示装置104及び入力装置105が一体となった構成でもよい。また、ネットワーク102を介して接続されている必要はなく、撮像装置101と情報処理装置103が直接接続される構成でもよい。さらに言えば、タッチパネルディスプレイを有するコンシューマカメラのように撮像装置101、情報処理装置103、表示装置104及び入力装置105の全てが一体となった構成でもよい。 In this embodiment, the information processing device 103, the display device 104, and the input device 105 are separately provided, but the information processing device 103, the display device 104, and the input device 105 are integrated like a notebook PC having a touch panel display. may be configured. Also, the imaging apparatus 101 and the information processing apparatus 103 may be directly connected without being connected via the network 102 . Furthermore, like a consumer camera having a touch panel display, the imaging device 101, the information processing device 103, the display device 104, and the input device 105 may all be integrated.

(装置構成)
図2は本実施形態に係る撮像装置の構成の一例を示す図である。撮像装置101は撮像部201、エンコーダ部202、ネットワークI/F203、CPU(Central Processing Unit)204、RAM(Random Access Memory)205及び、ROM(Read Only Memory)206を有する。また、撮像光学系200は撮像装置101に着脱可能に設けられている。
(Device configuration)
FIG. 2 is a diagram showing an example of the configuration of an imaging device according to this embodiment. The imaging device 101 has an imaging unit 201 , an encoder unit 202 , a network I/F 203 , a CPU (Central Processing Unit) 204 , a RAM (Random Access Memory) 205 and a ROM (Read Only Memory) 206 . The imaging optical system 200 is detachably attached to the imaging device 101 .

撮像光学系200は被写体からの光を後述する撮像素子201aの撮像面に集光するレンズであり、例えばズームレンズ、フォーカスレンズ及びぶれ補正レンズ等で構成される。 The imaging optical system 200 is a lens that collects light from an object onto an imaging surface of an imaging element 201a, which will be described later, and is composed of, for example, a zoom lens, a focus lens, and a blur correction lens.

本実施形態では、撮像装置101と撮像光学系200は別体として着脱可能に設けられているが、レンズ一体型のカメラのように撮像装置101が撮像光学系200を有する構成でもよい。 In this embodiment, the imaging device 101 and the imaging optical system 200 are detachably provided as separate units, but the imaging device 101 may have the imaging optical system 200 as in a camera with an integrated lens.

撮像部201は撮像光学系200による被写体の像を撮像し、画像を生成する。撮像部201は、撮像素子201a、増幅器201b及び画像処理部201cを有している。 An imaging unit 201 captures an image of a subject by the imaging optical system 200 and generates an image. The imaging unit 201 has an imaging element 201a, an amplifier 201b, and an image processing unit 201c.

撮像素子201aは撮像光学系200によって撮像面に集光された被写体からの光を画素毎に電気信号に変換して出力する。撮像素子201aは、例えば、CCD(Charge Coupled Device)センサ又はCMOS(Complementary Metal Oxide Semiconductor)センサなどの光電変換素子からなる画素がマトリクス状に配列されたICチップである。撮像素子201aは、主に可視光に高い感度を有しており、画素毎に赤(R)、緑(G)、青(B)のいずれかに高い感度を有するが、赤外光にもある程度の感度を有している。そのため、太陽光が存在する時間帯、および赤外光照明によって照らされている場所などの赤外光で明るい被写体を鮮明に撮像することができる。 The imaging element 201a converts the light from the object condensed on the imaging surface by the imaging optical system 200 into an electric signal for each pixel and outputs the electric signal. The imaging element 201a is an IC chip in which pixels made of photoelectric conversion elements such as a CCD (Charge Coupled Device) sensor or a CMOS (Complementary Metal Oxide Semiconductor) sensor are arranged in a matrix. The image sensor 201a has high sensitivity mainly to visible light, and has high sensitivity to any one of red (R), green (G), and blue (B) for each pixel. It has some sensitivity. Therefore, it is possible to take a clear image of a subject bright with infrared light, such as a time zone when sunlight exists and a place illuminated by infrared light illumination.

増幅器201bは、撮像素子201aから出力された電気信号を増幅して出力する。 The amplifier 201b amplifies and outputs the electrical signal output from the imaging device 201a.

画像処理部201cは、増幅器201bから出力されたアナログ信号である電気信号をデジタル信号へとA/D変換を行い、デモザイキング処理、ホワイトバランス処理、ガンマ処理などを含む画像処理を行ってデジタル画像を生成する。 The image processing unit 201c performs A/D conversion of the electrical signal, which is an analog signal output from the amplifier 201b, into a digital signal, and performs image processing including demosaicing processing, white balance processing, gamma processing, and the like to obtain a digital image. to generate

エンコーダ部202は、撮像部201(画像処理部201c)から出力された画像データをMotiоn JpegやH264、H265などの所定のファイルフォーマットに符号化処理を行う。 The encoder unit 202 encodes the image data output from the imaging unit 201 (image processing unit 201c) into a predetermined file format such as Motion Jpeg, H264, H265.

ネットワークI/F203は、エンコーダ部202から符号化処理された画像データを、ネットワーク102を介して情報処理装置103へと送信する。尚、符号化処理された画像データは後述するRAM205やROM206などの内部記憶装置や、SDカードのような着脱可能な不図示の記憶媒体に記憶されてもよい。また、これらの記憶は、画像処理部201cで出力された後に行われてもよい。その場合、画像データは符号化前のRAWデータが保存される。 A network I/F 203 transmits the encoded image data from the encoder unit 202 to the information processing apparatus 103 via the network 102 . Note that the encoded image data may be stored in an internal storage device such as a RAM 205 or ROM 206, which will be described later, or a detachable storage medium such as an SD card (not shown). Also, these memories may be stored after being output by the image processing unit 201c. In that case, the image data is stored as RAW data before encoding.

CPU204は撮像装置101を統括制御する中央処理装置である。 A CPU 204 is a central processing unit that controls the imaging apparatus 101 .

RAM205はCPU204実行するコンピュータプログラムを一時的に記憶する。また、RAM205はCPU204が処理を実行する際に用いるワークエリアを提供する。またRAM205は、フレームメモリとして機能したり、バッファメモリとして機能したりする。 A RAM 205 temporarily stores computer programs executed by the CPU 204 . Also, the RAM 205 provides a work area used when the CPU 204 executes processing. Also, the RAM 205 functions as a frame memory or as a buffer memory.

ROM206は、CPU204が撮像装置101を制御するためのプログラムなどを記憶する。 The ROM 206 stores programs and the like for the CPU 204 to control the imaging apparatus 101 .

図3は、本実施形態に係る撮像装置にインターネットを介して接続される情報処理装置の構成の一例を示す図である。情報処理装置103は、CPU301、RAM302、ROM303、入力I/F304、出力I/F305及びネットワークI/F406を有する情報処理装置である。 FIG. 3 is a diagram showing an example of the configuration of an information processing device connected via the Internet to an imaging device according to this embodiment. The information processing device 103 is an information processing device having a CPU 301 , a RAM 302 , a ROM 303 , an input I/F 304 , an output I/F 305 and a network I/F 406 .

CPU301は情報処理装置103を統括制御する中央処理装置である。 A CPU 301 is a central processing unit that controls the information processing apparatus 103 .

RAM302はCPU301が情報処理装置103を制御するためのプログラムなどを記憶する。 A RAM 302 stores programs and the like for the CPU 301 to control the information processing apparatus 103 .

ROM303は、CPU301が情報処理装置103を制御するためのプログラムなどを記憶する。 The ROM 303 stores programs and the like for the CPU 301 to control the information processing apparatus 103 .

入力I/F304は、入力装置105と接続してユーザから入力装置105を介して入力された情報処理装置103に対する操作を受け付けるためのインターフェースである。 The input I/F 304 is an interface for receiving an operation for the information processing apparatus 103 that is connected to the input device 105 and input from the user via the input device 105 .

出力I/F306は、表示装置104と接続して撮像装置101から出力された画像を表示装置104に表示させるためインターフェースである。 An output I/F 306 is an interface for connecting to the display device 104 and displaying an image output from the imaging device 101 on the display device 104 .

ネットワークI/F306は、ネットワーク102を介して撮像装置101と接続し、撮像装置101に対する操作情報を入力したり、撮像装置101から出力された画像を受け付けたりするためのインターフェースである。 A network I/F 306 is an interface for connecting to the image capturing apparatus 101 via the network 102 and inputting operation information for the image capturing apparatus 101 and receiving images output from the image capturing apparatus 101 .

(機能構成)
図4は、本実施形態に係る情報処理の機能の構成の一例を示す図である。図4に示す各機能ブロックのうち、ソフトウェアにより実現される機能については、各機能ブロックの機能提供するためのプログラムがROM303等のメモリに記憶される。そして、そのプログラムをRAM302に読み出してCPU301が実行することにより実現される。ハードウェアにより実現される機能については、例えば、所定のコンパイラを用いることで、各機能ブロックの機能を実現するためのプログラムからFPGA上に自動的に専用回路を生成すればよい。FPGAとは、Field Programmable Gate Arrayの略である。また、FPGAと同様にしてゲートアレイ回路を形成し、ハードウェアとして実現するようにしてもよい。また、ASIC(Application Specific Integrated Circuit)により実現するようにしてもよい。なお、図4に示した機能ブロックの構成は一例であり、複数の機能ブロックが1つの機能ブロックを構成するようにしてもよいし、いずれかの機能ブロックが複数の機能を行うブロックに分かれてもよい。
(Function configuration)
FIG. 4 is a diagram showing an example of the configuration of information processing functions according to the present embodiment. Of the functional blocks shown in FIG. 4, for functions realized by software, a program for providing the functions of each functional block is stored in a memory such as the ROM 303 . Then, the program is read out to the RAM 302 and executed by the CPU 301, thereby realizing this. For the functions realized by hardware, for example, by using a predetermined compiler, a dedicated circuit may be automatically generated on the FPGA from a program for realizing the function of each functional block. FPGA is an abbreviation for Field Programmable Gate Array. Also, a gate array circuit may be formed in the same manner as the FPGA and implemented as hardware. Also, it may be realized by an ASIC (Application Specific Integrated Circuit). Note that the configuration of the functional blocks shown in FIG. 4 is an example, and a plurality of functional blocks may constitute one functional block, or one of the functional blocks may be divided into blocks that perform a plurality of functions. good too.

情報処理装置103は、取得部401、検出部402、抽出部403、特定部404、決定部405、認証部406、記憶部407、設定部408、作成部409、出力部410及び管理部411を有する。 The information processing apparatus 103 includes an acquisition unit 401, a detection unit 402, an extraction unit 403, an identification unit 404, a determination unit 405, an authentication unit 406, a storage unit 407, a setting unit 408, a creation unit 409, an output unit 410, and a management unit 411. have.

取得部401は、撮像装置101が撮像した画像を取得する。 The acquisition unit 401 acquires an image captured by the imaging device 101 .

検出部402は、取得部401が取得した画像から被写体領域を検出する。本実施形態では、被写体領域は顔の領域である場合について説明するが、被写体領域は人物全体の領域であってもよいし、動物やモノの領域であってもよい。 A detection unit 402 detects a subject area from the image acquired by the acquisition unit 401 . In the present embodiment, the case where the subject area is the area of the face will be described, but the subject area may be the area of the entire person, or may be the area of an animal or an object.

抽出部403は、検出部402が検出した被写体領域の特徴量を抽出する。本実施形態では、顔の向きや大きさなどの顔の特徴に関する特徴量を抽出する。 The extraction unit 403 extracts the feature amount of the subject area detected by the detection unit 402 . In the present embodiment, feature amounts relating to facial features such as the orientation and size of the face are extracted.

特定部404は、後述する認証部406が認証する被写体領域を特定する。より具体的には、検出部402が検出した被写体領域のうち、所定の条件を満たす被写体領域を特定する。本実施形態における所定の条件とは、被写体領域の輝度が所定の輝度の範囲内にあるか否かである。被写体領域のノイズ量やコントラスト値に応じた所定の条件でもよい。 The specifying unit 404 specifies a subject area to be authenticated by the authentication unit 406, which will be described later. More specifically, among the subject areas detected by the detection unit 402, a subject area that satisfies a predetermined condition is identified. The predetermined condition in this embodiment is whether or not the luminance of the subject area is within a predetermined luminance range. A predetermined condition according to the amount of noise or the contrast value of the subject area may be used.

決定部405は、検出部402が検出した被写体領域から画像調整の対象とする被写体領域を決定する。特に、検出部402が複数の被写体領域を検出した場合に、画像調整の対象とする被写体領域を決定する。決定部405によって決定された画像調整の対象とする被写体領域は、撮像装置101へと出力される。撮像装置101は決定部405によって決定された被写体領域の画像情報に基づいて、画像調整を行う。画像調整とは、例えば絞りや露光時間の制御である。その他にもホワイトバランス補正やNR(Noise Reduction)処理などの後処理も画像調整に含まれる。また、画像調整は撮像装置101による調整に限定されず、情報処理装置103による画像調整も含み得る。 A determination unit 405 determines a subject region to be subjected to image adjustment from the subject regions detected by the detection unit 402 . In particular, when the detection unit 402 detects a plurality of subject areas, the subject area to be subjected to image adjustment is determined. The subject area to be subjected to image adjustment determined by the determination unit 405 is output to the imaging device 101 . The imaging apparatus 101 performs image adjustment based on the image information of the subject area determined by the determination unit 405 . Image adjustment is control of aperture and exposure time, for example. Image adjustment also includes post-processing such as white balance correction and NR (Noise Reduction) processing. Further, image adjustment is not limited to adjustment by the imaging device 101 and may include image adjustment by the information processing device 103 .

認証部406は、特定部404が特定した被写体領域の画像を認証する。調整後の画像における、前記決定部405が決定した被写体領域の画像も認証する。画像の認証は後述する記憶部407に記憶された被写体領域の特徴量と、抽出部403が抽出した被写体領域の特徴量とを比較することによって、記憶部407に記憶された被写体の特徴量に類似する被写体が検出されたかを判定することによって認証する。 An authentication unit 406 authenticates the image of the subject area specified by the specifying unit 404 . The image of the subject region determined by the determination unit 405 in the adjusted image is also authenticated. The image authentication is performed by comparing the feature amount of the subject area stored in the storage unit 407 (to be described later) and the feature amount of the subject area extracted by the extraction unit 403, thereby matching the feature amount of the subject stored in the storage unit 407. Authentication is performed by determining whether similar objects are detected.

記憶部407は、被写体領域の画像の特徴量を記憶する。本実施形態においては、顔の特徴量を記憶する。ユーザや設計者によって事前に記憶された特徴量、認証部406によって認証された被写体領域の画像の特徴量などを必要に応じて記憶し、認証部406の認証処理を実行する際に参照されるデータベースである。 A storage unit 407 stores the feature amount of the image of the subject area. In the present embodiment, facial features are stored. A feature amount stored in advance by a user or a designer, a feature amount of an image of an object region authenticated by the authentication unit 406, and the like are stored as necessary, and referred to when the authentication processing of the authentication unit 406 is executed. database.

設定部408は、認証部408による認証結果に応じた認証の通知内容や撮像装置101などの認証通知に関する設定を行う。設定部408は、認証通知設定を後述する管理部411へと登録する。 A setting unit 408 sets the content of authentication notification according to the authentication result by the authentication unit 408 and the authentication notification of the imaging apparatus 101 and the like. The setting unit 408 registers the authentication notification setting in the management unit 411, which will be described later.

作成部409は、認証部406による認証結果を通知するための認証通知情報を設定部408によって設定された認証通知設定に基づき作成する。 The creation unit 409 creates authentication notification information for notifying the authentication result by the authentication unit 406 based on the authentication notification setting set by the setting unit 408 .

出力部410は、作成部409によって作成された認証通知情報や認証結果そのものを出力する。出力された認証結果は、例えば、出力I/F305を介して表示装置104などに出力され、ユーザに認証結果が通知されるなどして利用可能である。 The output unit 410 outputs the authentication notification information created by the creation unit 409 and the authentication result itself. The output authentication result can be used, for example, by being output to the display device 104 or the like via the output I/F 305 and notifying the user of the authentication result.

管理部411は、記憶部407に記憶された被写体領域の画像の特徴量、認証通知設定及び認証結果などの情報を統括的に管理する。 The management unit 411 comprehensively manages information such as the feature amount of the image of the subject region, the authentication notification setting, and the authentication result stored in the storage unit 407 .

(動作説明)
図5は、本実施形態に係る情報処理装置の動作の一例を示すフローチャートである。このフローチャートの動作は情報処理装置103におけるCPU301がRAM302やROM303などの記憶媒体に記憶されたプログラムを読み込むことのよって動作を開始する。
(Description of operation)
FIG. 5 is a flow chart showing an example of the operation of the information processing apparatus according to this embodiment. The operation of this flowchart starts when the CPU 301 in the information processing apparatus 103 reads a program stored in a storage medium such as the RAM 302 or ROM 303 .

ステップS501では、取得部401が画像を取得する。撮像装置101が撮像した画像、あるいは外部の記憶装置に記憶された画像を取得する。 In step S501, the acquisition unit 401 acquires an image. An image captured by the imaging device 101 or an image stored in an external storage device is acquired.

ステップS502では、取得部401が取得した画像から検出部402が被写体領域を検出する。もし、被写体領域を検出しなかった場合は、画像内に被写体が存在しないとしてステップS501へ戻る。被写体領域を検出した場合はステップS503へ進む。 In step S<b>502 , the detection unit 402 detects a subject area from the image acquired by the acquisition unit 401 . If the subject area is not detected, the process returns to step S501 assuming that the subject does not exist in the image. If the subject area is detected, the process proceeds to step S503.

ステップS503では、ステップS501で取得した画像が調整中の画像であるかを判定する。即ち、取得した画像を撮像した際に撮像装置101が画像の調整中であったか否かを判定する。本実施形態においては、撮像装置101が露出制御中であったかを判定する。露出制御中に撮像された画像であった場合は、ステップS504へ進み、そうでなかった場合は、ステップS506へと進む。 In step S503, it is determined whether the image acquired in step S501 is an image being adjusted. That is, it is determined whether or not the imaging apparatus 101 was adjusting the image when the acquired image was captured. In this embodiment, it is determined whether the imaging apparatus 101 is in exposure control. If the image was captured during exposure control, the process proceeds to step S504; otherwise, the process proceeds to step S506.

ステップS504では、特定部404が所定の条件を満たす被写体領域を特定する。ステップS502で検出された被写体領域のうち、所定の条件を満たす被写体領域を特定する。所定の条件とは被写体領域の画像の輝度の範囲やノイズ量、コントラスト値などが条件となる。例えば、被写体領域における画像の平均輝度が所定の範囲内に入っている被写体領域を特定する。ここで、所定の範囲は認証部406が認証可能な程度に明るすぎず暗すぎない輝度であることが望ましい。なお、どの程度の範囲とするかはユーザや設計者が変更可能である。 In step S504, the identifying unit 404 identifies a subject region that satisfies a predetermined condition. A subject area that satisfies a predetermined condition is identified from among the subject areas detected in step S502. The predetermined conditions are conditions such as the luminance range, noise amount, and contrast value of the image of the subject area. For example, a subject area is specified in which the average luminance of the image in the subject area is within a predetermined range. Here, the predetermined range desirably has a brightness that is neither too bright nor too dark to allow authentication by the authentication unit 406 . It should be noted that the extent of the range can be changed by the user or the designer.

ステップS505では、特定部404は特定した被写体領域を認証部406が認証する。より具体的には、抽出部403が被写体領域の特徴量を抽出し、記憶部407に記憶された被写体領域の特徴量と比較して類似度を算出する。類似度が所定の値以上となる場合には記憶部407に記憶された被写体と同一の被写体を検出したことを識別する。さらに、ステップS505では、出力部410が認証部406による認証結果を出力する。 In step S<b>505 , the authentication unit 406 authenticates the subject area specified by the specifying unit 404 . More specifically, the extraction unit 403 extracts the feature amount of the subject area, compares it with the feature amount of the subject area stored in the storage unit 407, and calculates the degree of similarity. If the degree of similarity is equal to or greater than a predetermined value, it is determined that the same subject as the subject stored in the storage unit 407 has been detected. Furthermore, in step S505, the output unit 410 outputs the authentication result by the authentication unit 406. FIG.

ステップS506では、後述するステップS508で決定された画像調整の対象とする被写体領域が存在するかを判定する。ステップS503で調整中の画像でないと判定されているため、取得部401が取得した画像は調整が完了しているか、後述するステップS508で画像調整の対象とする被写体領域が後述するステップS508で決定されていないと判断される。仮に、画像調整の対象とする被写体領域が存在すると判定された場合、その被写体領域における画像の調整は完了していると判断され、ステップS507へと進む。一方で、画像調整の対象とする被写体領域が存在しないと判定された場合、ステップS508へと進む。 In step S506, it is determined whether or not there is a subject area to be subjected to image adjustment determined in step S508, which will be described later. Since it is determined in step S503 that the image is not being adjusted, the image acquired by the acquisition unit 401 has been adjusted, or the subject region to be subjected to image adjustment is determined in step S508, which will be described later. It is judged that it has not been done. If it is determined that there is a subject area to be subjected to image adjustment, it is determined that the image adjustment in that subject area has been completed, and the process proceeds to step S507. On the other hand, if it is determined that there is no subject area targeted for image adjustment, the process proceeds to step S508.

ステップS507では、画像の調整が完了している被写体領域の画像を認証部406が認証する。認証方法や認証結果の出力方法はステップS505と同様であるため、ここでの説明は省略する。 In step S507, the authentication unit 406 authenticates the image of the subject area for which image adjustment has been completed. Since the authentication method and the authentication result output method are the same as in step S505, descriptions thereof are omitted here.

ステップS508では、画像調整の対象とする被写体領域を決定部405が決定する。ステップS502で検出部402が検出した被写体領域が1つしか存在しない場合は、その被写体領域を画像調整の対象とする被写体領域に決定する。検出部402が複数の被写体領域を検出した場合は、優先して画像調整の対象とする被写体領域を1つ決定する。以下、画像調整の対象とする被写体領域の決定方法について説明する。1つ目は、ユーザの指示に基づいて決定する方法である。表示装置104に検出部402が検出した複数の被写体領域の画像を表示させ、ユーザは入力装置105を介して画像調整の対象とする被写体領域を選択する。入力装置105に入力された操作は入力I/F305を経由して選択された被写体領域の情報を受け付ける。決定部405はユーザが選択した被写体領域を画像調整の対象とする被写体領域に決定する。2つ目は、各被写体領域の画像の特徴量に基づいて決定する方法である。ステップS508において、各被写体領域の画像の特徴量を抽出部403が抽出する。抽出した特徴量には、例えば、顔の大きさや向きが含まれている。従って、各被写体領域における顔の大きさが最も大きい被写体領域や顔の向きが正面向いている被写体領域を画像調整の対象とする被写体領域に決定する。3つ目は、各被写体領域の大きさに基づいて決定する方法である。検出された複数の被写体領域のうち、最も被写体領域が大きい被写体領域を画像調整の対象とする被写体領域に決定する。4つ目は、各被写体領域の位置や画像の動きベクトルに基づいて決定する方法である。例えば、被写体領域の位置が画像の端付近にある場合、その被写体領域が画角から外れる可能性が高いため、優先して画像調整の対象に決定する。また、画像の端付近であったとしても画像の中央付近に向かって移動している被写体領域と画像の端方向に向かって移動している被写体領域とでは、後者の方が画角から外れる可能性が高いため、後者を優先して画像調整対象に決定する。このように、各被写体領域の位置と画像の動きベクトルとの少なくとも1つに基づいて画像調整の対象とする被写体領域を決定する。5つ目は、各被写体領域の輝度に基づいて決定する方法である。例えば、各被写体領域で輝度の平均値を算出し、画像全体の輝度の平均値との差分が最大となる被写体領域を画像調整の対象に決定したり、輝度の平均値が最大或いは最小となる被写体領域を画像調整の対象に決定したりする。換言すれば、視認性の最も低い被写体領域を画像調整の対象に決定する。決定部404が決定した被写体領域の情報はネットワーク102を介して撮像装置101へと送出される。撮像装置101は、情報処理装置103から受信した被写体領域の情報(画像調整の対象である被写体領域の情報)に基づいて、画像調整(露出制御)を実行し対象の被写体領域の視認性を改善する。 In step S508, the determining unit 405 determines a subject area to be subjected to image adjustment. If there is only one subject area detected by the detection unit 402 in step S502, that subject area is determined as the subject area to be subjected to image adjustment. When the detection unit 402 detects a plurality of subject areas, it preferentially determines one subject area to be subjected to image adjustment. A method of determining a subject area to be subjected to image adjustment will be described below. The first is a method of making a decision based on a user's instruction. Images of a plurality of subject regions detected by the detection unit 402 are displayed on the display device 104 , and the user selects a subject region to be subjected to image adjustment via the input device 105 . An operation input to the input device 105 receives information on the selected subject area via the input I/F 305 . A determination unit 405 determines the subject area selected by the user as a subject area to be subjected to image adjustment. The second is a method of determining based on the feature amount of the image of each subject area. In step S508, the extraction unit 403 extracts the feature amount of the image of each subject area. The extracted feature amount includes, for example, the size and orientation of the face. Therefore, a subject area having the largest face size or a subject area facing the front in each subject area is determined as a subject area to be subjected to image adjustment. A third method is to determine based on the size of each subject area. A subject area having the largest subject area among the plurality of detected subject areas is determined as a subject area to be subjected to image adjustment. A fourth method is to determine based on the position of each subject area and the motion vector of the image. For example, when the position of the subject area is near the edge of the image, it is highly likely that the subject area will be out of the angle of view, so that the subject area is preferentially determined as the target of image adjustment. Also, even if it is near the edge of the image, the subject area moving toward the center of the image and the subject area moving toward the edge of the image may deviate from the angle of view. Therefore, the latter is preferentially determined as an image adjustment target. In this way, the subject areas to be subjected to image adjustment are determined based on at least one of the position of each subject area and the motion vector of the image. A fifth method is to determine based on the brightness of each subject area. For example, an average brightness value is calculated for each subject region, and a subject region having the largest difference from the average brightness value of the entire image is determined as an object for image adjustment. For example, a subject area is determined as an image adjustment target. In other words, the subject area with the lowest visibility is determined as the image adjustment target. Information on the subject area determined by the determining unit 404 is sent to the imaging apparatus 101 via the network 102 . The imaging apparatus 101 performs image adjustment (exposure control) based on the information on the subject area (information on the subject area to be subjected to image adjustment) received from the information processing apparatus 103 to improve the visibility of the target subject area. do.

ステップS509では、認証動作を継続するか否かを判定する。例えば、ユーザから入力装置105に対して認証動作を停止する操作があった場合には、認証動作を終了する。そのような操作が無かった場合には、ステップS501へと戻る。 In step S509, it is determined whether or not to continue the authentication operation. For example, when the user operates the input device 105 to stop the authentication operation, the authentication operation is terminated. If there is no such operation, the process returns to step S501.

図6は、本実施形態に係る情報処理装置の認証動作の様子の一例を示す図である。図6(a)、(b)、(c)は時系列順になっており、取得部401が取得した画像が並んでいる。説明の簡素化のため、画像には顔だけを図示している。 FIG. 6 is a diagram showing an example of how the information processing apparatus according to the present embodiment performs an authentication operation. 6A, 6B, and 6C are in chronological order, and the images acquired by the acquisition unit 401 are arranged. For simplicity of explanation, only the face is illustrated in the image.

図6(a)は画像調整前の画像を示しており、破線は認証された被写体領域を示している。図6(a)は調整中の画像ではないため、ステップS506へと進む。ステップS506でも画像調整の対象とする被写体領域は存在しないため、S508で画像調整の対象とする被写体領域を決定する。ここでは、最も平均輝度が低い被写体領域601が画像調整の対象に決定されたとする。枠線は画像調整の対象であることを示す。 FIG. 6(a) shows the image before image adjustment, and the dashed line indicates the authenticated subject area. Since FIG. 6A is not an image being adjusted, the process proceeds to step S506. Since there is no subject area subject to image adjustment in step S506, the subject area subject to image adjustment is determined in step S508. Here, it is assumed that the object region 601 with the lowest average luminance is determined as the image adjustment target. A frame line indicates that the image is to be adjusted.

図6(b)は画像調整中の画像である。従って、ステップS504で所定の条件を満たす被写体領域が認証される。即ち、平均輝度が所定の範囲内である被写体領域の画像が認証される。ここでは、被写体領域602~被写体領域604が認証されている。 FIG. 6B shows an image during image adjustment. Therefore, in step S504, a subject area that satisfies a predetermined condition is authenticated. That is, the image of the subject area whose average brightness is within a predetermined range is authenticated. Here, subject areas 602 to 604 are authenticated.

図6(c)は画像調整が完了した画像である。ステップS506で画像調整の対象となる被写体が存在しているため、被写体領域601が認証される。画像調整の対象となった被写体領域が一度認証されると、画像調整の対象から外れ、検出された被写体領域から画像調整の対象とする被写体領域を再度決定する。 FIG. 6C shows an image after image adjustment is completed. In step S506, the subject area 601 is authenticated because the subject for image adjustment exists. Once the object area targeted for image adjustment is authenticated, the object area targeted for image adjustment is determined again from the detected object areas.

本実施形態に係る情報処理装置によれば、画像内に複数の被写体が存在する場合であっても、より短時間で被写体の認証を行うことができる。 According to the information processing apparatus according to the present embodiment, it is possible to perform subject authentication in a shorter time even when a plurality of subjects exist in an image.

<その他の実施形態>
本発明は、上述の実施形態1の1以上の機能を実現するプログラムを読み出し実行する処理によって実現可能である。このプログラムは、ネットワークまたは記憶媒体を介してシステム又は装置に供給され、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサによって読み出され、実行される。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present invention can be implemented by reading and executing a program that implements one or more functions of the first embodiment described above. This program is supplied to a system or device via a network or storage medium and read and executed by one or more processors in the computer of the system or device. It can also be implemented by a circuit (for example, ASIC) that implements one or more functions.

401 取得部
402 検出部
403 抽出部
404 特定部
405 決定部
406 認証部
407 記憶部
408 設定部
409 作成部
410 出力部
411 管理部
401 acquisition unit 402 detection unit 403 extraction unit 404 identification unit 405 determination unit 406 authentication unit 407 storage unit 408 setting unit 409 creation unit 410 output unit 411 management unit

Claims (17)

画像を取得する取得部と、
前記取得部が取得した画像から被写体領域を検出する検出部と、
前記検出部が前記画像から複数の被写体領域を検出した場合に、前記複数の被写体領域から、画像調整の対象とする被写体領域を決定する決定部と、
前記画像の調整中に、前記検出部が検出した前記複数の被写体領域から所定の条件を満たす被写体領域を特定する特定部と、
前記特定部が特定した前記所定の条件を満たす被写体領域の画像を認証する認証部と、
前記認証部による認証結果を出力する出力部と、
を有する情報処理装置。
an acquisition unit that acquires an image;
a detection unit that detects a subject area from the image acquired by the acquisition unit;
a determining unit that determines a subject region to be subjected to image adjustment from the plurality of subject regions when the detecting unit detects a plurality of subject regions from the image;
a specifying unit that specifies a subject region that satisfies a predetermined condition from the plurality of subject regions detected by the detecting unit during adjustment of the image;
an authentication unit that authenticates an image of the subject area that satisfies the predetermined condition specified by the specifying unit;
an output unit that outputs an authentication result by the authentication unit;
Information processing device having
前記決定部は、前記複数の被写体領域の各被写体領域における画像の輝度に基づいて、前記画像調整の対象とする被写体領域を決定することを特徴とする請求項1に記載の情報処理装置。 2. The information processing apparatus according to claim 1, wherein the determining unit determines the subject area to be subjected to the image adjustment based on the brightness of the image in each subject area of the plurality of subject areas. 前記決定部は、前記複数の被写体領域のうち、被写体領域の画像の輝度の平均値と前記取得部が取得した画像の平均値との差分が最大となる被写体領域を前記画像調整の対象とする被写体領域に決定することを特徴とする請求項1または2に記載の情報処理装置。 The determination unit selects, from among the plurality of object regions, a subject region having a maximum difference between an average luminance value of the image of the object region and an average value of the image acquired by the acquisition unit, as a target of the image adjustment. 3. The information processing apparatus according to claim 1, wherein the subject area is determined. 前記決定部は、前記複数の被写体領域のうち、被写体領域の画像の輝度の平均値が最小または最大である被写体領域を前記画像調整の対象とする被写体領域に決定することを特徴とする請求項1から3のいずれか1項に記載の情報処理装置。 3. The determining unit determines, from among the plurality of subject areas, a subject area having a minimum or maximum average luminance value of an image of the subject area as the subject area to be subjected to the image adjustment. 4. The information processing device according to any one of 1 to 3. 前記検出部が検出した被写体領域の画像の特徴量を抽出する抽出部をさらに有し、
前記決定部は、前記複数の被写体領域から前記抽出部が抽出した特徴量に基づいて、前記画像調整の対象とする被写体領域を決定することを特徴とする請求項1から4のいずれか1項に記載の情報処理装置。
further comprising an extraction unit for extracting a feature amount of the image of the subject area detected by the detection unit;
5. The determining unit determines the subject region to be subjected to the image adjustment based on the feature quantity extracted by the extracting unit from the plurality of subject regions. The information processing device according to .
前記所定の条件は、前記被写体領域の画像の輝度の平均値が所定の範囲内であることを特徴とする請求項1から5のいずれか1項に記載の情報処理装置。 6. The information processing apparatus according to any one of claims 1 to 5, wherein the predetermined condition is that an average value of brightness of the image of the subject area is within a predetermined range. 前記画像調整は、露出制御を含むことを特徴とする請求項1から6のいずれか1項に記載の情報処理装置。 7. The information processing apparatus according to claim 1, wherein said image adjustment includes exposure control. 請求項1から7のいずれか1項に記載の情報処理装置と前記撮像装置とを有する認証システム。 An authentication system comprising the information processing device according to claim 1 and the imaging device. 画像を取得する取得工程と、
前記取得工程で取得した画像から被写体領域を検出する検出工程と、
前記検出工程で前記画像から複数の被写体領域を検出した場合に、前記複数の被写体領域から、画像調整の対象とする被写体領域を決定する決定工程と、
前記画像の調整中に、前記検出工程で検出した前記複数の被写体領域から所定の条件を満たす被写体領域を特定する特定工程と、
前記特定工程で特定した前記所定の条件を満たす被写体領域の画像を認証する認証工程と、
前記認証工程での認証結果を出力する出力工程と、
を有する情報処理装置の制御方法。
an acquisition step of acquiring an image;
a detection step of detecting a subject area from the image acquired in the acquisition step;
a determining step of determining, from the plurality of subject regions, a subject region to be subjected to image adjustment when a plurality of subject regions are detected from the image in the detecting step;
an identifying step of identifying a subject region that satisfies a predetermined condition from the plurality of subject regions detected in the detecting step during adjustment of the image;
an authentication step of authenticating an image of the subject area that satisfies the predetermined condition specified in the specifying step;
an output step of outputting an authentication result in the authentication step;
A control method for an information processing apparatus having
前記決定工程では、前記複数の被写体領域の各被写体領域における画像の輝度に基づいて、前記画像調整の対象とする被写体領域を決定することを特徴とする請求項9に記載の情報処理装置の制御方法。 10. The control of the information processing apparatus according to claim 9, wherein in the determining step, the subject area to be subjected to the image adjustment is determined based on the brightness of the image in each subject area of the plurality of subject areas. Method. 前記決定工程では、前記複数の被写体領域のうち、被写体領域の画像の輝度の平均値と前記取得部が取得した画像の平均値との差分が最大となる被写体領域を前記画像調整の対象とする被写体領域に決定することを特徴とする請求項9または10に記載の情報処理装置の制御方法。 In the determining step, among the plurality of subject areas, the subject area having the largest difference between the average luminance value of the image of the subject area and the average value of the image acquired by the acquiring unit is subjected to the image adjustment. 11. The control method for an information processing apparatus according to claim 9, wherein the subject area is determined. 前記決定工程では、前記複数の被写体領域のうち、被写体領域の画像の輝度の平均値が最小または最大である被写体領域を前記画像調整の対象とする被写体領域に決定することを特徴とする請求項9から11のいずれか1項に記載の情報処理装置の制御方法。 3. The determining step determines, from among the plurality of subject areas, a subject area having a minimum or maximum average luminance value of an image of the subject area as the subject area to be subjected to the image adjustment. 12. The control method for the information processing apparatus according to any one of 9 to 11. 前記検出工程で検出した被写体領域の画像の特徴量を抽出する抽出工程をさらに有し、
前記決定工程では、前記複数の被写体領域から前記抽出工程で抽出した特徴量に基づいて、前記画像調整の対象とする被写体領域を決定することを特徴とする請求項9から12のいずれか1項に記載の情報処理装置の制御方法。
further comprising an extraction step of extracting a feature amount of the image of the subject region detected in the detection step;
13. The determining step determines the subject region to be subjected to the image adjustment based on the feature amount extracted from the plurality of subject regions in the extracting step. The control method of the information processing device according to 1.
前記所定の条件は、前記被写体領域の画像の輝度の平均値が所定の範囲内であることを特徴とする請求項9から13のいずれか1項に記載の情報処理装置の制御方法。 14. The method of controlling an information processing apparatus according to claim 9, wherein the predetermined condition is that an average value of brightness of the image of the subject area is within a predetermined range. 前記画像調整は、露出制御を含むことを特徴とする請求項9から14のいずれか1項に記載の情報処理装置の制御方法。 15. The method of controlling an information processing apparatus according to claim 9, wherein said image adjustment includes exposure control. 請求項9から15のいずれか1項に記載の情報処理装置の制御方法をコンピュータに実行させるためのプログラム。 A program for causing a computer to execute the control method for an information processing apparatus according to any one of claims 9 to 15. 請求項16に記載のプログラムを記憶したコンピュータ読み取り可能な記憶媒体。 A computer-readable storage medium storing the program according to claim 16.
JP2021190388A 2021-11-24 2021-11-24 Information processing device, authentication system, control method, program, and storage medium Pending JP2023077195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021190388A JP2023077195A (en) 2021-11-24 2021-11-24 Information processing device, authentication system, control method, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021190388A JP2023077195A (en) 2021-11-24 2021-11-24 Information processing device, authentication system, control method, program, and storage medium

Publications (1)

Publication Number Publication Date
JP2023077195A true JP2023077195A (en) 2023-06-05

Family

ID=86610296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021190388A Pending JP2023077195A (en) 2021-11-24 2021-11-24 Information processing device, authentication system, control method, program, and storage medium

Country Status (1)

Country Link
JP (1) JP2023077195A (en)

Similar Documents

Publication Publication Date Title
CN109068058B (en) Shooting control method and device in super night scene mode and electronic equipment
US8401328B2 (en) Image processing apparatus and image processing method
JP5704905B2 (en) Image processing apparatus, image processing method, program, and storage medium
US20100188520A1 (en) Imaging device and storage medium storing program
CN111368819B (en) Light spot detection method and device
JP4952920B2 (en) Subject determination apparatus, subject determination method and program thereof
US8625896B2 (en) Image matting
US20060092307A1 (en) Image pickup apparatus for photographing desired area in image with high image quality and control method for controlling the apparatus
JP5395650B2 (en) Subject area extraction device and control method thereof, subject tracking device, and program
US8571404B2 (en) Digital photographing apparatus, method of controlling the same, and a computer-readable medium storing program to execute the method
JP5423186B2 (en) Imaging apparatus, area detection method, and program
US7835552B2 (en) Image capturing apparatus and face area extraction method
US11575841B2 (en) Information processing apparatus, imaging apparatus, method, and storage medium
JP2023077195A (en) Information processing device, authentication system, control method, program, and storage medium
CN108335278B (en) Image processing method and device, storage medium and electronic equipment
JP5146223B2 (en) Program, camera, image processing apparatus, and image contour extraction method
US11950012B2 (en) Apparatus, method of controlling the same, and storage medium
JP2010166132A (en) Imaging apparatus, operation control method, and program
JP2023075857A (en) Imaging apparatus, control method, program, and storage medium
US20240031683A1 (en) Image capturing apparatus, control method, and storage medium
US20230122606A1 (en) Image capturing system, control method, and storage medium
JP5631181B2 (en) Image processing apparatus, control method therefor, and program
JP2010219862A (en) Face detection device, and imaging apparatus
JP2023068021A (en) Information processing apparatus, camera control method, and program
JP2023080960A (en) Imaging apparatus, control method, program and storage medium

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20231213