第14章コンピュータビジョン
14.8.1. R-CNNs14.8.1 R-CNN
The R-CNN first extracts many (e.g., 2000) region proposals from the input image (e.g., anchor boxes can also be considered as region proposals), labeling their classes and bounding boxes (e.g., offsets).
英語のヒント
R-CNNは、まず入力画像から多数の(たとえば2000個の)領域候補を抽出し(たとえば、アンカーボックスも領域候補とみなせる)、それらのクラスと境界ボックス(たとえばオフセット)にラベルをつける。
Then a CNN is used to perform forward propagation on each region proposal to extract its features. Next, features of each region proposal are used for predicting the class and bounding box of this region proposal.
英語のヒント
次に、CNNを使って各領域候補に順伝播を行い、その特徴を抽出する。それから、各領域候補の特徴を使って、その領域候補のクラスと境界ボックスを予測する。
Fig. 14.8.1図14.8.1
The R-CNN model.
英語のヒント
R-CNNモデル。
Fig. 14.8.1 shows the R-CNN model. More concretely, the R-CNN consists of the following four steps:
英語のヒント
図14.8.1はR-CNNモデルを示している。もっと具体的には、R-CNNは次の四つの手順からなる。
- Perform selective search to extract multiple high-quality region proposals on the input image (Uijlings et al., 2013). These proposed regions are usually selected at multiple scales with different shapes and sizes. Each region proposal will be labeled with a class and a ground-truth bounding box.
英語のヒント
選択的探索を行い、入力画像上で質の高い複数の領域候補を抽出する(Uijlings et al., 2013)。これらの提案された領域は、ふつう複数のスケールで、異なる形と大きさで選ばれる。各領域候補には、クラスと正解の境界ボックスのラベルがつけられる。 - Choose a pretrained CNN and truncate it before the output layer. Resize each region proposal to the input size required by the network, and output the extracted features for the region proposal through forward propagation.
英語のヒント
事前学習したCNNを選び、出力層の前で切り詰める。各領域候補をネットワークが必要とする入力の大きさに変え、順伝播を通じて領域候補について抽出した特徴を出力する。 - Take the extracted features and labeled class of each region proposal as an example. Train multiple support vector machines to classify objects, where each support vector machine individually determines whether the example contains a specific class.
英語のヒント
各領域候補の抽出した特徴とラベルづけされたクラスを一つの事例とする。物体を分類するために複数のサポートベクターマシンを訓練する。そこでは、各サポートベクターマシンが、事例が特定のクラスを含むかどうかを個別に判定する。 - Take the extracted features and labeled bounding box of each region proposal as an example. Train a linear regression model to predict the ground-truth bounding box.
英語のヒント
各領域候補の抽出した特徴とラベルづけされた境界ボックスを一つの事例とする。正解の境界ボックスを予測するため、線形回帰のモデルを訓練する。
Although the R-CNN model uses pretrained CNNs to effectively extract image features, it is slow. Imagine that we select thousands of region proposals from a single input image: this requires thousands of CNN forward propagations to perform object detection. This massive computing load makes it infeasible to widely use R-CNNs in real-world applications.
英語のヒント
R-CNNモデルは、事前学習したCNNを使って画像の特徴を効果的に抽出するが、遅い。一つの入力画像から数千の領域候補を選ぶと想像してほしい。物体検出を行うのに、数千回のCNNの順伝播が必要になる。この膨大な計算の負荷のため、R-CNNを現実世界の応用で広く使うことはできない。