JP7528715B2 - Font setting device, font setting method, and computer program - Google Patents
Font setting device, font setting method, and computer program Download PDFInfo
- Publication number
- JP7528715B2 JP7528715B2 JP2020178112A JP2020178112A JP7528715B2 JP 7528715 B2 JP7528715 B2 JP 7528715B2 JP 2020178112 A JP2020178112 A JP 2020178112A JP 2020178112 A JP2020178112 A JP 2020178112A JP 7528715 B2 JP7528715 B2 JP 7528715B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- text
- typeface
- similar
- superimposed
- 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.)
- Active
Links
Images
Landscapes
- Image Analysis (AREA)
Description
本発明は、書体設定装置、書体設定方法及びコンピュータプログラムに関する。 The present invention relates to a typeface setting device, a typeface setting method, and a computer program.
従来、テキストを画像に重畳させる技術が知られており、例えばキャッチコピー付きの広告画像、プレゼンテーションソフトで用いるテキスト付き画像として広く利用されている(例えば、特許文献1を参照)。 Technology for superimposing text onto images has been known in the past and is widely used, for example, as advertising images with catchy slogans and images with text used in presentation software (see, for example, Patent Document 1).
テキストの書体は数多くの種類が存在するため、テキストの書体と画像とが不調和となり、ユーザに違和感を与える場合がある。しかしながら、特許文献1に記載された技術は、画像を損なわない位置にテキストを重畳するための技術であり、違和感のない書体を重畳する技術でない。
There are many different types of text fonts, and the text font and the image may not match, causing the user to feel uncomfortable. However, the technology described in
本発明は、斯かる事情に鑑みてなされたものであり、テキストを画像に重畳させる場合にテキストの書体と画像との不調和を抑えるための書体設定装置、書体設定方法及びコンピュータプログラムを提供することを目的とする。 The present invention has been made in consideration of the above circumstances, and aims to provide a font setting device, a font setting method, and a computer program for suppressing incongruity between the font of text and an image when the text is superimposed on the image.
本発明の一形態に係る書体設定装置は、素材画像と、該素材画像に重畳される素材テキストと、該素材テキストが前記素材画像に重畳される領域の情報とを取得する素材取得部と、テキストが重畳された複数の教師画像から、前記素材画像又は前記素材画像と前記素材テキストとの組み合わせに類似する類似画像を選定する画像選定部と、選定した類似画像に重畳されたテキストの書体に基づいて前記素材テキストに適用すべき書体を特定する書体特定部と、特定した書体により前記素材テキストを前記素材画像の前記領域に重畳させる重畳部とを備える。 A typeface setting device according to one embodiment of the present invention includes a material acquisition unit that acquires a material image, material text to be superimposed on the material image, and information on an area in which the material text is superimposed on the material image, an image selection unit that selects a similar image that is similar to the material image or a combination of the material image and the material text from a plurality of teacher images on which text is superimposed, a typeface identification unit that identifies a typeface to be applied to the material text based on the typeface of the text superimposed on the selected similar image, and a superimposition unit that superimposes the material text on the area of the material image using the identified typeface.
本願によれば、テキストを画像に重畳させる場合にテキストの書体と画像との不調和を抑えてユーザの違和感を低減することができる。 According to the present application, when text is superimposed on an image, it is possible to reduce the sense of discomfort felt by the user by suppressing the incongruity between the typeface of the text and the image.
以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。
(実施の形態1)
図1は実施の形態における書体設定方法の概略を説明する説明図である。実施の形態では、画像に重畳してテキストを配置する際の書体設定方法について説明する。図1に示す情報処理装置1は、例えばDTP(Desktop publishing)などに用いられる専用又は汎用のコンピュータである。情報処理装置1は、雑誌の紙面やチラシなどをコンピュータ上で作成するためのソフトウェア(以下、レイアウトソフトという)を備える。レイアウトソフトは、画像及びテキストを適宜に配置することができるソフトウェアである。レイアウトソフトの一例は、組版用のページレイアウトソフトである。代替的に、グラフィックソフト、文書作成ソフト、プレゼンテーションソフトなどが用いられる。
Hereinafter, the present invention will be described in detail with reference to the drawings showing embodiments thereof.
(Embodiment 1)
FIG. 1 is an explanatory diagram for explaining an outline of a font setting method in an embodiment. In the embodiment, a font setting method when arranging text superimposed on an image will be explained. The
DTPの作業者は、レイアウトソフトを用いて、画像にテキストを配置し、雑誌の紙面やチラシなどのデータを作成する。以下では、テキストが配置される前の画像を素材画像、画像に配置される前のテキストを素材テキストという。素材画像には任意の画像が用いられる。例えば、素材画像として、デジタルカメラなどによって撮像された写真(画像)、グラフィックソフトなどを用いて作成された2次元又は3次元の画像、通信ネットワークNを介して取得した画像などを用いることができる。素材テキストは、レイアウトソフトを用いて入力される文字列のデータであり、情報処理装置1の内部では文字コードにより記述される。
DTP workers use layout software to place text on an image and create data for magazine pages, flyers, and the like. In the following, an image before text is placed on it is called a material image, and text before it is placed on an image is called material text. Any image can be used as a material image. For example, the material image can be a photograph (image) taken with a digital camera, a two-dimensional or three-dimensional image created using graphics software, or an image obtained via a communications network N. Material text is character string data entered using layout software, and is written in character code inside the
作業者は、レイアウトソフトを用いて、素材画像に重畳して素材テキストを配置する。このとき、情報処理装置1は、通信ネットワークN上に存在するテキストが重畳された複数の教師画像から素材画像に類似する画像(以下、類似画像という)を検索し、類似画像に含まれるテキストの書体情報を参照して、素材画像上に配置する素材テキストの書体を設定する。本実施の形態では、素材テキストに適用する書体を情報処理装置1が自動的に設定するので、作業者が手動で書体を選定する場合と比較して作業負荷を軽減することができる。また、本実施の形態では、他の作業者によって作成された画像を参照して素材テキストの書体を設定するので、素材画像の内容と素材テキストの書体とが調和していないといった違和感を軽減できる。
The worker uses layout software to place the source text superimposed on the source image. At this time, the
図2は情報処理装置1の構成を示すブロック図である。情報処理装置1は、制御部11、記憶部12、通信部13、入力部14、操作部15、及び表示部16を備える。
Figure 2 is a block diagram showing the configuration of the
制御部11は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)などを備える。制御部11が備えるROMには、上記ハードウェア各部の動作を制御するための制御プログラム等が記憶される。制御部11内のCPUは、ROMに記憶された制御プログラム及び記憶部12に記憶された各種プログラムを実行し、上記ハードウェア各部の動作を制御することにより、装置全体を本発明に係る書体設定装置として機能させる。制御部11が備えるRAMには、各種プログラムの実行中に一時的に利用されるデータが記憶される。
The
なお、制御部11は上記の構成に限定されるものではなく、シングルコアCPU、マルチコアCPU、GPU(Graphics Processing Unit)、マイコン、揮発性又は不揮発性のメモリ等を含む1又は複数の処理回路若しくは制御回路であればよい。また、制御部11は、日時情報を出力するクロック、計測開始指示を与えてから計測終了指示を与えるまでの経過時間を計測するタイマ、数をカウントするカウンタ等の機能を備えていてもよい。
The
記憶部12は、HDD(Hard Disk Drive)、SSD(Solid State Drive)などのストレージを備える。記憶部12には、制御部11に実行させる各種プログラムが記憶される。記憶部12に記憶されるプログラムは、素材画像に類似する類似画像を選定し、選定した類似画像に含まれるテキストの書体情報に基づき、素材画像に重畳する素材テキストの書体を設定するための書体設定プログラムPGを含む。なお、書体設定プログラムPGは、単一のコンピュータプログラムである必要はなく、複数のコンピュータプログラムにより構成されるプログラム群であってもよい。また、書体設定プログラムPGは、適宜のアプリケーションプログラムにおいて利用されるマクロやプラグインであってもよい。
The
なお、記憶部12に記憶されるコンピュータプログラムは、当該コンピュータプログラムを読み取り可能に記録した記録媒体Mにより提供されてもよい。記録媒体Mは、例えば、SD(Secure Digital)カード、マイクロSDカード、コンパクトフラッシュ(登録商標)などの可搬型のメモリである。この場合、制御部11は、不図示の読取装置を用いて記録媒体Mからプログラムを読み取り、読み取ったプログラムを記憶部12に記憶させればよい。また、記憶部12に記憶されるプログラムは、通信により提供されてもよい。この場合、制御部11は、通信部13を通じてプログラムを取得し、取得したプログラムを記憶部12に記憶させればよい。
The computer program stored in the
また、記憶部12は、情報処理装置1が備えるフォントの情報を記憶するフォントテーブルTBを備える。図3はフォントテーブルTBの一例を示す概念図である。本実施の形態におけるフォントはデジタルフォントであり、表示や印刷のために利用できるようにした書体データを表す。書体とは、美的感覚に基づき、字体を統一的にデザインした文字のスタイルのことである。書体には、明朝体、ゴシック体、行書体などの和文書体、セリフ体、サンセリフ体などの欧文書体が含まれる。本実施の形態では、説明を簡略化するために、明朝体のフォントである「フォントA」、ゴシック体のフォントである「フォントB」、行書体のフォントである「フォントC」の3つのフォントのみが情報処理装置1にインストールされているものとする。
The
通信部13は、インターネット網などの通信ネットワークNに接続するための通信インタフェースを備える。通信部13が備える通信インタフェースは、有線のインタフェースであってもよく、無線のインタフェースであってもよい。通信部13は、外部へ通知すべき各種情報を送信すると共に、外部から自装置宛に送信される各種情報を受信する。
The
入力部14は、デジタルカメラ、スキャナ装置などのイメージングデバイスを接続するためのインタフェースを備える。制御部11は、入力部14を通じて、イメージングデバイスにて生成された画像を素材画像として取得することが可能である。制御部11は、入力部14を通じて取得した素材画像を記憶部12に記憶させる。
The
操作部15は、キーボード、タッチパネルなどの入力デバイスを接続するためのインタフェースを備える。制御部11は、操作部15を通じて、作業者による各種の操作や設定を受付ける。また、制御部11は、操作部15を通じて、素材テキストを受付けることが可能である。
The
表示部16は、液晶表示パネル、有機EL(Electro Luminescence)表示パネル等の表示デバイスを備えており、制御部11から出力される制御信号に基づいて、作業者に報知すべき情報やデータを表示する。
The
なお、情報処理装置1は、単一のコンピュータである必要はなく、複数のコンピュータや周辺機器により構成されるコンピュータシステムであってもよい。また、情報処理装置1は、ソフトウェアによって仮想的に構築される仮想マシンであってもよい。
In addition, the
以下、情報処理装置1が実行する処理の内容について具体的に説明する。
(1)素材画像及び素材テキストの取得
作業者は、情報処理装置1においてレイアウトソフトを起動し、レイアウトソフトを操作することによって所望の素材画像を表示部16に表示させ、操作部15を用いて素材画像上に配置すべき素材テキストを入力する。図4は素材画像及び素材テキストの一例を示す模式図である。図4に一例として示す素材画像110は、ライトアップされた寺を被写体として撮像した写真(画像)である。素材画像110は、デジタル形式の画像であり、それぞれがRGB各色の画素値を有する複数の画素により構成される。素材画像110は、レイアウトソフトに取り込まれることによって情報処理装置1の表示部16に表示される。
The process executed by the
(1) Obtaining material images and material text The worker starts the layout software on the
素材画像110にテキストを配置する際、配置すべきテキストの位置を示すテキスト配置領域110Aが作業者の操作によって設定される。操作部15を用いて入力されたテキストは、テキスト配置領域110Aに表示される。図4に一例として示す素材テキスト120は、「暖かい灯に照らされた夜の本堂」という文字列により構成されている。入力直後の素材テキスト120には、予め定められたフォント(書体)若しくは作業者によって選択されたフォント(書体)が設定される。
When placing text in the
(2)類似画像候補の検索
情報処理装置1は、素材画像110及び素材テキスト120が与えられた場合、通信ネットワークN上に存在するテキストが重畳された複数の教師画像から素材画像110に類似する画像(類似画像)を検索する。情報処理装置1は、素材画像110及び素材テキスト120が与えられたことをトリガとして類似画像を検索してもよく、作業者より検索指示が与えられたことをトリガとして類似画像を検索してもよい。本実施の形態では、画像間の類似性だけでなく、テキスト間の類似性を考慮して、最終的に素材画像110に最も近い類似画像を選定する。
(2) Search for Similar Image Candidates When the
情報処理装置1は、テキスト間の類似性を考慮するために、与えられた素材テキスト120について形態素解析を行い、素材テキスト120に含まれる単語を抽出する。例えば「暖かい灯に照らされた夜の本堂」という素材テキスト120からは、「暖かい」、「灯」、「照らされた」、「夜」、「本堂」の5つの単語が抽出される。情報処理装置1は、抽出したこれらの単語の少なくとも1つを含むような画像を通信ネットワークNを介して検索する。
In order to take into account similarities between texts, the
図5は教師画像の例を示す模式図である。図5Aに示す教師画像210は、夕日を背景として撮像した吊り橋の画像であり、「吊り橋にかかる夕日、幻想的な灯」とのテキストを含む。このテキストには素材テキスト120から抽出した単語と同一の「灯」という単語が含まれているため、図5Aに示す教師画像210は類似画像の候補として検索される。
Figure 5 is a schematic diagram showing an example of a teacher image.
図5Bに示す教師画像220は、赤く色づき始めた落葉樹を被写体として撮像した画像であり、「日本の紅葉、暖かい景色」とのテキストを含む。このテキストには素材テキスト120から抽出した単語と同一の「暖かい」という単語が含まれているため、図5Bに示す教師画像220は類似画像の候補として検索される。
The
図5Cに示す教師画像230は、寺を被写体として撮像した画像であり、「本堂一般公開」とのテキストを含む。このテキストには素材テキスト120から抽出した単語と同一の「本堂」という単語が含まれているため、図5Cに示す教師画像230は類似画像の候補として検索される。
The
図5Dに示す教師画像240は、気球が浮かぶ風景を撮像した画像であり、「空の旅の希望者募集中」とのテキストを含む。このテキストには素材テキスト120から抽出した単語と同一の単語を含んでいないため、図5Dに示す教師画像240は類似画像の候補から除外される。
The
本実施の形態の形態に係る情報処理装置1は、素材テキスト120から抽出した単語の少なくとも1つを含むような教師画像を類似画像の候補として検索する構成としたが、同一の単語に限らず、同義語又は類義語を含むような教師画像を類似画像の候補として検索してもよい。例えば、情報処理装置1は、素材テキスト120から抽出した「暖かい」との単語に対して、「温かい」、「ぬくい」、「温暖」、「うららかな」、「ポカポカした」といった単語を含む教師画像を類似画像の候補として検索してもよい。また、情報処理装置1は、同一単語を含む教師画像を検索した結果、十分な数(例えば1枚以上)の類似画像の候補が得られなかった場合、検索の範囲を同義語又は類義語の範囲まで拡げてもよい。
The
なお、通信ネットワークNを介して取得した教師画像にテキストが含まれている場合であっても、そのテキストは画像として埋め込まれている(すなわち、画像と一体的にビットマップで表現されている)ことが多い。この場合、情報処理装置1は、教師画像内のテキストを文字列(文字コード)として認識することはできず、素材テキスト120との類似性を判断することはできない。そこで、情報処理装置1は、通信ネットワークNから取得した教師画像にOCR(Optical Character Recognition)を施して画像として含まれるテキストを文字列として認識し、認識した文字列について形態素解析を行うことにより単語を抽出する。情報処理装置1は、素材画像110から抽出される単語と、通信ネットワークN上の画像から抽出される単語とを比較することによって、テキスト間の類似性を判断することができる。
Even if the teacher image acquired via the communication network N contains text, the text is often embedded as an image (i.e., expressed as a bitmap integrally with the image). In this case, the
(3)類似画像の選定
次いで、情報処理装置1は、類似画像の候補として選定した教師画像の中から、素材画像110と最も類似する画像を最終的な類似画像として選定する。具体的には、情報処理装置1は、素材画像110及び類似画像の候補のそれぞれにおいて画像に含まれる1又は複数の物体(オブジェクトともいう)を検出し、画像全体の相違度と、オブジェクト間の相違度とを総合して、両者の類似性を判断する。情報処理装置1は、相違度が最も低い画像(すなわち類似度が最も高い画像)を素材画像110に対する類似画像として選定する。
(3) Selection of Similar Images Next, the
図6はオブジェクトの検出に用いられる学習モデルMD1の構成を示す模式図である。情報処理装置1は、素材画像110及び類似画像の候補からそれぞれに含まれる1又は複数のオブジェクトを検出する。ここで、オブジェクトの検出とは、画像内のオブジェクトを囲むような矩形領域(バウンディングボックス)を検出し、その矩形領域内に含まれるオブジェクトをクラス識別することをいう。情報処理装置1は、深層学習による学習モデルMD1を用いてオブジェクトを検出する。
Figure 6 is a schematic diagram showing the configuration of a learning model MD1 used for object detection. The
学習モデルMD1は、R-CNN(Region-based Convolutional Neural Network)、Fast R-CNN、SSD(Single Shot Detector)、Mask R-CNN、YOLO(You Only Look Once)、RetinaNetなどの深層学習による学習モデルである。学習モデルMD1は、入力層、中間層、及び出力層を備える。入力層には、処理対象の画像が入力される。中間層は、畳み込み層、プーリング層、及び全結合層などを備え、入力画像に含まれるオブジェクトらしき領域の候補を選定するための演算や入力画像から抽出される特徴量に基づきオブジェクトを識別するための演算等を実行する。出力層は、中間層による演算結果を基に、オブジェクトの検出結果を出力する。学習モデルMD1は、入力層への画像の入力に応じて、中間層にて演算を行い、例えば、クラス名、クラスの予測信頼度、及びバウンディングボックスに関する情報を出力層から出力するように構成される。 The learning model MD1 is a learning model based on deep learning such as R-CNN (Region-based Convolutional Neural Network), Fast R-CNN, SSD (Single Shot Detector), Mask R-CNN, YOLO (You Only Look Once), and RetinaNet. The learning model MD1 includes an input layer, an intermediate layer, and an output layer. An image to be processed is input to the input layer. The intermediate layer includes a convolution layer, a pooling layer, a fully connected layer, and the like, and performs calculations for selecting candidates for object-like regions included in the input image and calculations for identifying objects based on features extracted from the input image. The output layer outputs object detection results based on the calculation results by the intermediate layer. The learning model MD1 is configured to perform calculations in the intermediate layer according to the image input to the input layer, and to output, for example, information on class names, prediction reliability of classes, and bounding boxes from the output layer.
学習モデルMD1は、既知のオブジェクトが含まれる多数の画像と、各画像に含まれるオブジェクトのクラス名と、オブジェクトを囲むバウンディングボックスの座標値とを訓練データとして与え、所定のアルゴリズムを用いて機械学習を行うことにより生成される。学習モデルMD1は、情報処理装置1の内部で生成されてもよく、外部サーバにおいて生成されてもよい。生成された学習モデルMD1は情報処理装置1の記憶部12に記憶される。この場合、情報処理装置1の制御部11は、処理対象の画像を学習モデルMD1へ入力し、学習モデルMD1を用いた演算を実行することによって、オブジェクトの検出結果を取得する。代替的に、学習モデルMD1は外部サーバに記憶されてもよい。この場合、情報処理装置1は、処理対象の画像を外部サーバへ送信し、外部サーバによる演算結果(オブジェクトの検出結果)を通信により取得する。
The learning model MD1 is generated by providing a large number of images containing known objects, the class names of the objects contained in each image, and the coordinate values of the bounding box surrounding the objects as training data, and performing machine learning using a predetermined algorithm. The learning model MD1 may be generated inside the
本実施の形態では、深層学習による学習モデルMD1を用いてオブジェクトを検出する構成としたが、オブジェクトを検出する手法は特定の手法に限定されない。例えば、テンプレートマッチングなどの古典的手法を用いてオブジェクトを検出してもよい。 In this embodiment, the object is detected using a learning model MD1 based on deep learning, but the method for detecting the object is not limited to a specific method. For example, the object may be detected using a classical method such as template matching.
図7はオブジェクトの検出例を示す模式図である。図7Aは素材画像110についてのオブジェクトの検出例を示している。素材画像110には、本堂(寺)、五重塔(寺)、及び2つの樹木がオブジェクトとして含まれている。情報処理装置1は、上述したような学習モデルMD1を用いることによって、これらのオブジェクトを囲むバウンディングボックスS1~S4を検出し、バウンディングボックスS1~S4内のオブジェクトをそれぞれクラス識別する。例えば、バウンディングボックスS1は、領域内のオブジェクトのクラスが「寺」であると識別され、その予測信頼度が「98%」であることを示している。他のバウンディングボックスS2~S4についても図7Aに示す通りである。
Figure 7 is a schematic diagram showing an example of object detection. Figure 7A shows an example of object detection for
図7Bは類似画像の候補である画像230(図5Cを参照)についてのオブジェクトの検出例を示している。画像230には、本堂(寺)及び五重塔(寺)がオブジェクトとして含まれている。情報処理装置1は、上述したような学習モデルMD1を用いることによって、これらのオブジェクトを囲むバウンディングボックスT1~T2を検出し、バウンディングボックスT1~T2内のオブジェクトをそれぞれクラス識別する。例えば、バウンディングボックスT1は、領域内のオブジェクトのクラスが「寺」であると識別され、その予測信頼度が「100%」であることを示している。他のバウンディングボックスT2についても図7Bに示す通りである。
Figure 7B shows an example of object detection for image 230 (see Figure 5C), which is a candidate for a similar image.
次いで、情報処理装置1は、素材画像110と類似画像の候補との間の相違度を算出する。本実施の形態では、情報処理装置1は、画像全体の相違度と、オブジェクト間の相違度とを総合して、素材画像110と類似画像の候補との間の相違度を算出する。
Next, the
縦横の画素数が同一である任意の2つの画像(画像I及び画像Jとする)についての相違度d(I,J)は、例えば、次式により算出される。 The dissimilarity d(I, J) between any two images (image I and image J) that have the same number of pixels in both the vertical and horizontal directions is calculated, for example, using the following formula:
ここで、Iyxは、画像Iにおける座標(x,y)の画素値であり、Jyxは、画像Jにおける座標(x,y)の画素値である。すなわち、数1は2つの画像の全画素値の差分の絶対値の総和を表している。
Here, I yx is the pixel value of the coordinates (x, y) in image I, and J yx is the pixel value of the coordinates (x, y) in image J. In other words,
図7Aに示される素材画像110と、図7Bに示される類似画像の候補(画像230)との間に適用すれば、素材画像110と画像230との間の相違度は、数1に基づいて以下のように算出される。
When applied between the
ここで、d(S1,T1)は、素材画像110において検出されたバウンディングボックスS1内の画像と、画像230において検出されたバウンディングボックスT1内の画像との相違度を表す。バウンディングボックスは固定サイズではないので、バウンディングボックスS1及びバウンディングボックスT1のサイズは同一とは限らない。このため、相違度を算出する前の事前処理として、情報処理装置1は、各バウンディングボックスの縦横のサイズが同一となるように所定サイズにリサイズを行う。d(S1,T2)、d(S2,T1)、d(S2,T2)に付いても同様である。すなわち、数2における右辺第1項から第4項までは、素材画像110に含まれるオブジェクトと、画像230に含まれるオブジェクトとの間の相違度を表す。
Here, d(S1, T1) represents the degree of difference between the image in the bounding box S1 detected in the
数2の右辺第5項であるd(S,T)は、素材画像110と画像230との間の相違度を表す。素材画像110及び画像230は同一サイズとは限らないので、相違度を算出する前の事前処理として、両画像の縦横のサイズが同一となるように所定サイズにリサイズを行う。数2における右辺第1項から第4項まではオブジェクト間の相違度であるのに対し、第5項は画像全体の相違度を表す。
The fifth term on the right-hand side of Equation 2, d(S, T), represents the degree of dissimilarity between
数2の右辺第6項及び第7項のp(S3)及びp(S4)は、ペナルティを表す。画像230には、素材画像110に含まれる2つの樹木のオブジェクトが含まれていないので、相違度が増加するようなペナルティが加算される。ペナルティは、固定値(例えば100)であってもよく、バウンディングボックスS3,S4の大きさに応じて変動する値であってもよい。また、素材画像110に存在しないオブジェクトが画像230に含まれる場合もペナルティが加算されてもよい。
p(S3) and p(S4) in the sixth and seventh terms on the right-hand side of equation 2 represent penalties. Since
図7を参照して素材画像110と画像230との間の相違度の算出例について説明した。情報処理装置1は、同じようにして、素材画像110と他の類似画像の候補との間の相違度を算出することができる。
An example of calculating the degree of dissimilarity between
図8は相違度の算出結果を示す図である。図8は素材画像110と類似画像の候補として選定された画像210,220,230との間の相違度の算出結果を示している。相違度は、画像全体の相違度と、オブジェクト間の相違度とに基づき算出されるので、画像の全体的な印象が素材画像110と異なり、配置されているオブジェクトも素材画像110と異なる画像210及び画像220の相違度は相対的に高くなる。一方、全体的な印象が素材画像110と比較的似ており、素材画像110と同一種類のオブジェクトが配置されている画像230の相違度は相対的に低く算出される。
Figure 8 shows the results of calculating the dissimilarity. Figure 8 shows the results of calculating the dissimilarity between
情報処理装置1は、類似画像の候補として選定された画像のうち、最も相違度が低い画像(すなわち、最も類似度が高い画像)を、素材画像110の類似画像として選定する。図8の例では画像230が類似画像として選定される。
The
本実施の形態に係る情報処理装置1は、画像間の相違度及びオブジェクト間の相違度を算出し、算出した相違度に基づいて類似画像を選定する構成としたが、比較対象の2枚の画像を入力として、相違度(若しくは相違度)に関する値を出力するように学習された学習モデルを用いて、類似画像を選定する構成としてもよい。
The
(4)書体の設定
情報処理装置1は、素材テキスト120に適用する書体を決定するために、類似画像に含まれるテキストの書体を推定する。このとき、情報処理装置1は、類似画像からテキスト領域を切り出し、切り出したテキスト領域に含まれる各文字を認識する。
(4) Setting of Font The
図9はテキストの認識方法を説明する説明図である。図9に一例として示す画像は、素材画像110の類似画像として選定された画像230である。画像230には「本堂一般公開」とのテキストが重畳されている。このテキストは画像として埋め込まれている(すなわち、画像と一体的にビットマップで表現されている)ので、情報処理装置1は、テキストを構成する各文字をコンピュータ上で識別可能な文字コードとして認識することはできない。
Figure 9 is an explanatory diagram explaining a method of recognizing text. The image shown as an example in Figure 9 is
そこで、本実施の形態に係る情報処理装置1は、画像230からテキストを含むテキスト領域を抽出し、抽出したテキスト領域に含まれる各文字を認識する。本実施の形態において、テキスト領域は各文字を囲む矩形領域を表す。テキスト領域の抽出、及びテキスト領域に含まれる各文字の認識は既存のOCR技術を用いることにより実現できる。図9の例では、「本」、「堂」、「一」、「般」、「公」、「開」の6つの文字をそれぞれ囲むテキスト領域が抽出され、各テキスト領域に含まれる文字(文字コード)が認識される。
The
また、情報処理装置1は、画像セグメンテーションを行い、各文字を含むテキスト領域を文字領域と背景領域とに分離する。本実施の形態において、文字領域は各文字の形状を定める輪郭の内側の領域を表し、背景領域はその輪郭の外側の領域を表す。情報処理装置1は、SegNet、FCN(Fully Convolutional Network)、U-Net(U-Shaped Network)、PSPNet(Pyramid Scene Parsing Network)などのニューラルネットワークにより構築される学習モデル(不図示)を用いて、画像セグメンテーションを行う。画像セグメンテーション用の学習モデルは、情報処理装置1の記憶部12に記憶されてもよく、通信ネットワークNを介してアクセス可能な外部サーバに記憶されてもよい。
In addition, the
更に、情報処理装置1は、テキスト領域毎に、文字領域内の画素値の平均値と、背景領域内の画素値の平均値を算出する。本実施の形態では、紙面の都合上、白地の背景に対して黒色の文字を描画しているので、文字領域内の画素値の平均値は黒色を示す(0,0,0)となり、背景領域内の画素値の平均値は白色を示す(255,255,255)となる。
Furthermore, the
次いで、情報処理装置1は、類似画像に含まれるテキストの書体を推定する。図10は書体の推定方法を説明する説明図である。類似画像に含まれるテキストの認識結果には、テキストを構成する各文字の認識結果(文字コード)、文字領域の色の情報、及び背景領域の色の情報が含まれている。情報処理装置1は、自装置にインストールされているフォントを用いて、類似画像に含まれるテキストの認識結果を反映させた書体見本を作成する。本実施の形態では、明朝体、ゴシック体、及び行書体のフォントがインストールされているので、情報処理装置1は、類似画像のテキストと同じ文字列を含み、文字領域の色と背景領域の色とを反映させた明朝体、ゴシック体、及び行書体の書体見本をビットマップのデータとして作成する。
Next, the
情報処理装置1は、類似画像に含まれるテキストの画像群と、作成した書体見本の画像群との間の相違度を算出し、算出した相違度に基づき、類似画像に含まれるテキストの書体を推定する。情報処理装置1は、例えば、以下の演算式に基づいて相違度d(I,J)を算出することができる。
The
ここで、In yx は、n番目の類似画像に含まれるテキストの画像における座標(x,y)の画素の画素値であり、Jn yxは、n番目の書体見本の画像における座標(x,y)の画素の画素値である。nは文字数を表す。すなわち、数3は2つの画像の全画素値の差分の絶対値の総和を文字数分だけ合計した結果を示している。 Here, I n yx is the pixel value of the pixel at coordinates (x, y) in the image of the text contained in the nth similar image, and J n yx is the pixel value of the pixel at coordinates (x, y) in the image of the nth font sample. n represents the number of characters. In other words, Equation 3 shows the result of adding up the sum of the absolute values of the differences in all pixel values of the two images for the number of characters.
相違度を算出した結果、行書体の書体見本との相違度が最も低い場合(すなわち類似度が最も高い場合)、情報処理装置1は、類似画像に含まれるテキストの書体を「行書体」と推定する。
If the calculated difference between the image and the cursive typeface sample is the lowest (i.e., the similarity is the highest), the
情報処理装置1は、素材画像110に重畳する素材テキスト120の書体として、類似画像から推定したテキストの書体を設定する。情報処理装置1は、設定した書体を素材テキスト120に適用し、素材画像110のテキスト配置領域110Aに配置することによって、最終的な画像を取得する。図11は書体設定後の画像を示す模式図である。
The
以下、情報処理装置1が実行する処理の手順について説明する。
図12は情報処理装置1が実行する処理の手順を説明するフローチャートである。情報処理装置1の制御部11は、書体設定プログラムPGを記憶部12から読み出して実行することにより、以下の処理を実行する。
The procedure of the process executed by the
12 is a flowchart illustrating the procedure of the process executed by the
制御部11は、素材画像及び素材テキストの入力を受付ける(ステップS101)。素材画像は、情報処理装置1において起動されるレイアウトソフトを通じて取り込むことによって入力される。素材テキストは、作業者の入力操作を操作部15にて受付けることよって入力される。また、素材テキストの入力を受付ける際に、素材画像上の素材テキストの配置位置を定めるテキスト配置領域が設定される。
The
次いで、制御部11は、素材画像と類似する類似画像の候補を通信ネットワークNを介して取得する(ステップS102)。このとき、制御部11は、素材画像を検索キーとして画像検索を行い、検索された画像のうち、素材テキストに含まれる単語と同一の単語を含むような画像を類似画像の候補として取得する。取得する類似画像の候補は複数であってもよい。ステップS102において、素材テキストを構成する単語を1つも含まないような画像は類似画像の候補から除外される。一例として、制御部11は、素材画像を検索キーとして画像検索を行う構成としたが、素材テキストが重畳された素材画像を検索キーに用いてもよく、素材テキストに含まれる単語を検索キーに用いてもよい。
The
次いで、制御部11は、素材画像と類似画像の候補との間の相違度を算出し、算出した相違度に基づき1つの類似画像を選定する(ステップS103)。このステップS103における類似画像の選定手順については、図13に示すフローチャートを用いて詳細に説明する。
Next, the
次いで、制御部11は、選定した類似画像からテキスト領域を抽出し、抽出したテキスト領域に含まれるテキストの書体を推定する(ステップS104)。このステップS104における書体推定手順については、図14に示すフローチャートを用いて詳細に説明する。
Next, the
次いで、制御部11は、ステップS104で推定した書体を素材テキストに適用して表示部16に表示させる(ステップS105)。このとき、書体適用後の素材テキストは、事前に設定された素材画像上のテキスト配置領域に重畳される。
Next, the
図13は類似画像の選定手順を説明するフローチャートである。制御部11は、素材画像に含まれるオブジェクトを検出する(ステップS121)。オブジェクトの検出には、R-CNNなどのニューラルネットワークにより構築された学習モデルMD1やテンプレートマッチングなどの古典的手法が用いられる。制御部11は、オブジェクトの検出結果として、オブジェクトを囲むバウンディングボックスの情報、バウンディングボックス内に存在するオブジェクトのクラス名、クラスの予測信頼度を取得する。
Figure 13 is a flowchart explaining the procedure for selecting similar images. The
制御部11は、類似画像の候補に含まれるオブジェクトを検出する(ステップS122)。オブジェクトの検出方法は、ステップS121と同様である。本実施の形態では、便宜上、素材画像に含まれるオブジェクトを検出した後に、類似画像の候補に含まれるオブジェクトを検出する手順としたが、これらの手順の順序は図13に示すフローチャートに限定されるものではなく、同時並行的に実行してもよい。
The
次いで、制御部11は、検出したオブジェクトを考慮して、素材画像と類似画像の候補との間の相違度を算出する(ステップS123)。相違度は、例えば画素値毎の差分の絶対値の総和として与えられる。制御部11は、画像全体から算出した相違度と、オブジェクト毎に算出した相違度とを合算することにより、素材画像と類似画像の候補との間の相違度を算出する。素材画像に含まれるオブジェクトが類似画像の候補に含まれない場合、若しくは、素材画像に含まれないオブジェクトが類似画像の候補に含まれる場合、相違度にペナルティ(正の値)を加算してもよい。
Next, the
次いで、制御部11は、算出した相違度に基づき類似画像を選定する(ステップS124)。すなわち、制御部11は、類似画像の候補のうち、算出した相違度が最も低い候補を類似画像として選定すればよい。
Next, the
図14は書体推定手順を説明するフローチャートである。制御部11は、類似画像からテキスト領域を抽出し(ステップS141)、文字認識を実行する(ステップS142)。テキスト領域の抽出及び文字認識には、既存のOCR技術が用いられる。また、制御部11は、画像セグメンテーションによりテキスト領域を文字領域と背景領域とに分離し、それぞれの領域における平均画素値を算出する(ステップS143)。
Figure 14 is a flowchart explaining the typeface estimation procedure. The
次いで、制御部11は、文字認識の実行結果と、算出した文字領域及び背景領域の平均画素値とに基づき、情報処理装置1にインストールされているフォントを用いて書体見本を作成する(ステップS144)。書体見本は、ビットマップ形式の画像として作成される。
Next, the
次いで、制御部11は、作成した書体見本と、類似画像から抽出したテキスト領域の画像との相違度を算出する(ステップS145)。本実施の形態では、書体見本はビットマップ形式の画像として作成されるので、制御部11は、画像間の画素値の相違に基づき、相違度を算出すればよい。すなわち、制御部11は、画素値毎の差分の絶対値の総和として相違度を算出すればよい。
Next, the
次いで、制御部11は、算出した相違度に基づき、類似画像に含まれるテキストの書体を推定する(ステップS146)。すなわち、制御部11は、作成した書体見本のうち、算出した相違度が最も低い書体見本を選定し、その書体見本が示す書体を、類似画像に含まれるテキストの書体として推定すればよい。
Next, the
以上のように、本実施の形態では、素材画像及び素材テキストを与えることによって、素材画像に配置される素材テキストの書体が自動的に設定される。素材テキストの書体は、通信ネットワークNを介して取得可能な既存の画像を参照して設定されるので、素材テキストを素材画像に調和させることができ、違和感の少ない画像を作業者に提供できる。 As described above, in this embodiment, by providing a material image and material text, the typeface of the material text to be placed on the material image is automatically set. The typeface of the material text is set by referring to an existing image that can be obtained via the communication network N, so that the material text can be made to blend in with the material image, and an image that looks less unnatural can be provided to the worker.
本実施の形態では、レイアウトソフトを用いて、画像にテキストを配置し、雑誌の紙面やチラシなどのデータを作成する際の適用例について説明したが、例えば、キャッチコピー付きの広告画像、プレゼンテーションソフトで用いるテキスト付きの画像、ソーシャルネットワークで用いるコメント付きの画像などとして広く利用することができる。 In this embodiment, we have described an application example in which layout software is used to place text in an image and create data for magazine pages, flyers, etc., but the software can also be used widely, for example, as advertising images with catchy slogans, images with text for use in presentation software, images with comments for use in social networks, etc.
また、本実施の形態では、情報処理装置1において各処理を実行する構成としたが、情報処理装置1からアクセス可能な外部サーバにおいて各処理を実行してもよい。この場合、情報処理装置1において素材画像及び素材テキストの入力を受付け、受付けた素材画像及び素材テキストのデータを外部サーバへアップロードする。外部サーバは、受信した素材画像及び素材テキストのデータに基づき、上述した各処理を実行し、素材画像に配置する素材テキストの書体を設定する。外部サーバは、書体設定後の素材テキストを配置した素材画像を情報処理装置1に返信すればよい。
Although the present embodiment is configured to execute each process in the
また、本実施の形態では、画像間の類似性とテキスト間の類似性とを考慮して、素材画像と素材テキストとの組み合わせに類似する類似画像を選定する構成としたが、テキスト間の類似性を考慮せずに、素材画像のみに類似する類似画像を選定する構成としてもよい。後者の場合、情報処理装置1は、画像全体の相違度と、オブジェクト間の相違度とに基づき、素材画像に最も類似する類似画像を選定すればよい。
In addition, in this embodiment, a similar image that is similar to the combination of the material image and the material text is selected by taking into consideration the similarity between the images and the similarity between the texts, but a similar image that is similar only to the material image may be selected without taking into consideration the similarity between the texts. In the latter case, the
更に、本実施の形態では、類似画像の候補を通信ネットワークを介して検索する構成としたが、類似画像として使用する可能性がある教師画像を予め収集し、データベースに登録しておく構成としてもよい。この場合、情報処理装置1は、データベースにアクセスして類似画像の候補を取得すればよい。
Furthermore, in this embodiment, candidates for similar images are searched for via a communication network, but it is also possible to configure the system so that teacher images that may be used as similar images are collected in advance and registered in a database. In this case, the
(実施の形態2)
実施の形態1では、類似画像の選定基準として、画像に含まれる単語の同一性と、画像全体及び画像に含まれるオブジェクトの類似性を用いた。実施の形態2では、これらの選定基準に加え、画像内に占めるテキストの大きさを考慮して類似画像を選定する構成について説明する。
(Embodiment 2)
In the first embodiment, the criteria for selecting similar images are the identity of words contained in the images and the similarity of the entire image and objects contained in the image. In the second embodiment, a configuration will be described in which similar images are selected taking into consideration the size of text in the image in addition to these selection criteria.
図15は実施の形態2における類似画像の選定手法を説明する説明図である。図15に示す画像110は実施の形態1において説明した素材画像110と同一である。素材画像110に素材テキスト120が配置される際、テキスト配置領域110Aが設定される。素材画像110において、テキスト配置領域110Aが占める割合(面積比率)をS0とする。
Figure 15 is an explanatory diagram explaining a method for selecting similar images in embodiment 2. The
画像231~画像233は通信ネットワークNを介して得られた類似画像の候補群である。画像231~画像233において、画像及びテキストの内容は同一であるが、配置されているテキストの大きさのみが異なるものとする。画像231においてテキスト領域231Aが占める割合をS1、画像232においてテキスト領域232Aが占める割合をS2、画像233においてテキスト領域233Aが占める割合をS3とする。
実施の形態2に係る情報処理装置1は、素材画像110においてテキスト配置領域110Aが占める割合と、各画像231~233内においてテキスト領域231A~233Aが占める割合とを比較し、割合が最も近くなるような候補を類似画像として選定する。図15の例では、画像232の割合S2が素材画像110の割合S0に最も近いので、情報処理装置1は、画像232を素材画像110の類似画像として選定する。
The
図16は実施の形態2における類似画像の選定手順を説明するフローチャートである。制御部11は、実施の形態1と同様の手順により、素材画像及び類似画像の候補に含まれるオブジェクトを検出し、検出したオブジェクトを考慮して、素材画像と類似画像の候補との間の相違度を算出する(ステップS201~S203)。
Figure 16 is a flowchart explaining the procedure for selecting similar images in embodiment 2. The
次いで、制御部11は、素材画像との相違度が比較的小さい類似画像の候補を選択する(ステップS204)。例えば、制御部11は、相違度が最も小さいものから順に所定数の類似画像の候補を選択する。また、制御部11は、算出した相違度と予め設定した閾値とを比較し、相違度が閾値より小さい類似画像の候補を選択してもよい。
Next, the
次いで、制御部11は、素材画像に占めるテキスト配置領域の割合を算出する(ステップS205)。制御部11は、素材画像の大きさ(総画素数)と、作業者によって設定されるテキスト配置領域の大きさ(総画素数)との比率を算出すればよい。
Next, the
次いで、制御部11は、ステップS204で選択した類似画像の候補のそれぞれからテキスト領域を抽出し(ステップS206)、類似画像の候補のそれぞれにおいてテキスト領域が占める割合を算出する(ステップS207)。テキスト領域の抽出方法は実施の形態1と同様であるが、文字毎にテキスト領域を抽出する必要はなく、文字列全体を含むような領域を抽出すればよい。また、制御部11は、類似画像の候補の大きさ(総画素数)と、抽出したテキスト領域の大きさ(総画素数)との比率を算出すればよい。
Next, the
次いで、制御部11は、ステップS205及びステップS207で算出した割合に基づき、類似画像を選定する(ステップS208)。すなわち、制御部11は、素材画像においてテキスト配置領域が占める割合と、類似画像の候補のそれぞれにおいてテキスト領域が占める割合とを比較し、両者が最も近くなるような候補を類似画像として選定する。
Next, the
類似画像を選定した後の処理は実施の形態と同様である。例えば、図15の例では、テキスト領域232Aに含まれるテキストから推定される書体(行書体)が素材テキストに適用される。
The process after similar images are selected is the same as in the embodiment. For example, in the example of FIG. 15, a font (cursive) estimated from the text included in the
以上のように、実施の形態2では、画像内に占めるテキスト領域の割合を考慮して類似画像を選定するので、画像内のテキストから受ける印象が比較的近い類似画像を選定することができ、このような類似画像を基に素材テキストの書体を設定することができる。 As described above, in the second embodiment, similar images are selected taking into consideration the proportion of the text area in the image, so that similar images that give a relatively similar impression to the text in the image can be selected, and the typeface of the source text can be set based on such similar images.
今回開示された実施形態は、全ての点において例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上述した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。 The embodiments disclosed herein are to be considered in all respects as illustrative and not restrictive. The scope of the present invention is indicated by the claims, not by the above meaning, and is intended to include all modifications within the meaning and scope of the claims.
1 情報処理装置
11 制御部
12 記憶部
13 通信部
14 入力部
15 操作部
16 表示部
PG 書体設定プログラム
TB フォントテーブル
M 記録媒体
Claims (7)
テキストが重畳された複数の教師画像から、前記素材画像又は前記素材画像と前記素材テキストとの組み合わせに類似する類似画像を選定する画像選定部と、
選定した類似画像に重畳されたテキストの書体に基づいて前記素材テキストに適用すべき書体を特定する書体特定部と、
特定した書体により前記素材テキストを前記素材画像の前記領域に重畳させる重畳部と
を備える書体設定装置。 a material acquisition unit that acquires a material image, material text to be superimposed on the material image, and information on an area where the material text is superimposed on the material image;
an image selection unit that selects, from a plurality of teacher images having text superimposed thereon, an image similar to the material image or a combination of the material image and the material text;
a typeface specification unit that specifies a typeface to be applied to the source text based on a typeface of the text superimposed on the selected similar image;
and a superimposing unit that superimposes the material text on the region of the material image in the specified typeface.
前記画像選定部は、分割した一又は複数の単語が重畳された候補画像を前記複数の教師画像から抽出し、抽出した候補画像から前記類似画像を選定する
請求項1に記載の書体設定装置。 A division unit that divides the material text into a plurality of words,
The typeface setting device according to claim 1 , wherein the image selection unit extracts candidate images on which one or more divided words are superimposed from the plurality of teacher images, and selects the similar image from the extracted candidate images.
前記画像選定部は、前記候補画像の各画像内オブジェクトの画素値と前記素材画像の各画像内オブジェクトの画素値との関係に基づいて、前記候補画像から前記類似画像を選定する
請求項2に記載の書体設定装置。 a detection unit that detects one or more in-image objects of the candidate image and one or more in-image objects of the material image;
The typeface setting device according to claim 2 , wherein the image selection unit selects the similar image from the candidate images based on a relationship between a pixel value of each intra-image object of the candidate images and a pixel value of each intra-image object of the element image.
前記書体特定部は、前記画像選定部が選定した前記類似画像に重畳されたテキストの書体に最も近似する書体を前記複数の書体見本群に基づいて特定する
請求項2又は請求項3に記載の書体設定装置。 A storage unit for storing a plurality of font sample groups,
4. The typeface setting device according to claim 2, wherein the typeface specification unit specifies a typeface that is most similar to a typeface of the text superimposed on the similar image selected by the image selection unit, based on the group of the plurality of typeface samples.
前記画像選定部は、算出した前記割合に基づいて、前記複数の教師画像から、前記類似画像を選定する
請求項1から請求項4のいずれか一つに記載の書体設定装置。 a calculation unit that calculates a ratio of the region to the material image,
The typeface setting device according to claim 1 , wherein the image selection unit selects the similar image from the plurality of teacher images based on the calculated ratio.
テキストが重畳された複数の教師画像から、前記素材画像又は前記素材画像と前記素材テキストとの組み合わせに類似する類似画像を選定し、
選定した類似画像に重畳されたテキストの書体に基づいて前記素材テキストに適用すべき書体を特定し、
特定した書体により前記素材テキストを前記素材画像の前記領域に重畳させる
処理をコンピュータに実行させる書体設定方法。 Acquiring a material image, material text to be superimposed on the material image, and information on an area in which the material text is superimposed on the material image;
selecting a similar image that is similar to the material image or a combination of the material image and the material text from a plurality of teacher images having text superimposed thereon;
Identifying a typeface to be applied to the source text based on the typeface of the text superimposed on the selected similar image;
The font setting method causes a computer to execute a process of superimposing the material text on the region of the material image using the specified font.
テキストが重畳された複数の教師画像から、前記素材画像又は前記素材画像と前記素材テキストとの組み合わせに類似する類似画像を選定し、
選定した該類似画像に重畳されたテキストの書体に基づいて前記素材テキストに適用すべき書体を特定し、
特定した書体により前記素材テキストを前記素材画像の前記領域に重畳させる
処理をコンピュータに実行させるためのコンピュータプログラム。 Acquiring a material image, material text to be superimposed on the material image, and information on an area in which the material text is superimposed on the material image;
selecting a similar image that is similar to the material image or a combination of the material image and the material text from a plurality of teacher images having text superimposed thereon;
Identifying a typeface to be applied to the source text based on the typeface of the text superimposed on the selected similar image;
A computer program for causing a computer to execute a process of superimposing the material text in the specified font on the region of the material image.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020178112A JP7528715B2 (en) | 2020-10-23 | 2020-10-23 | Font setting device, font setting method, and computer program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020178112A JP7528715B2 (en) | 2020-10-23 | 2020-10-23 | Font setting device, font setting method, and computer program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022069122A JP2022069122A (en) | 2022-05-11 |
| JP7528715B2 true JP7528715B2 (en) | 2024-08-06 |
Family
ID=81521950
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020178112A Active JP7528715B2 (en) | 2020-10-23 | 2020-10-23 | Font setting device, font setting method, and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7528715B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7383083B1 (en) | 2022-06-20 | 2023-11-17 | 楽天グループ株式会社 | Information processing device, information processing method, and information processing program |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001283235A (en) | 2000-02-28 | 2001-10-12 | Canon Inc | Font and theme selection method and device |
| JP2007058627A (en) | 2005-08-25 | 2007-03-08 | Make Softwear:Kk | Photo vending apparatus, photo vending method, image editing apparatus, and photo vending program |
| JP2012058905A (en) | 2010-09-07 | 2012-03-22 | Canon Inc | Printing control apparatus, printing control method, program, and storage medium |
| JP2017049798A (en) | 2015-09-02 | 2017-03-09 | 富士ゼロックス株式会社 | Information processing device and program |
| US20190311227A1 (en) | 2018-04-06 | 2019-10-10 | Dropbox, Inc. | Generating searchable text for documents portrayed in a repository of digital images utilizing orientation and text prediction neural networks |
| JP2020154951A (en) | 2019-03-22 | 2020-09-24 | 大日本印刷株式会社 | Font selection device and program |
-
2020
- 2020-10-23 JP JP2020178112A patent/JP7528715B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001283235A (en) | 2000-02-28 | 2001-10-12 | Canon Inc | Font and theme selection method and device |
| JP2007058627A (en) | 2005-08-25 | 2007-03-08 | Make Softwear:Kk | Photo vending apparatus, photo vending method, image editing apparatus, and photo vending program |
| JP2012058905A (en) | 2010-09-07 | 2012-03-22 | Canon Inc | Printing control apparatus, printing control method, program, and storage medium |
| JP2017049798A (en) | 2015-09-02 | 2017-03-09 | 富士ゼロックス株式会社 | Information processing device and program |
| US20190311227A1 (en) | 2018-04-06 | 2019-10-10 | Dropbox, Inc. | Generating searchable text for documents portrayed in a repository of digital images utilizing orientation and text prediction neural networks |
| JP2020154951A (en) | 2019-03-22 | 2020-09-24 | 大日本印刷株式会社 | Font selection device and program |
Non-Patent Citations (1)
| Title |
|---|
| 飯場 咲紀、外2名,"テキストのイメージに適した色彩・感性情報・フォントの提案システム",情報処理学会研究報告 ,日本,一般社団法人情報処理学会,2012年04月15日,Vol.2012-EC-23, No.14,pp.1-6 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022069122A (en) | 2022-05-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7912289B2 (en) | Image text replacement | |
| KR101611895B1 (en) | Apparatus and Method of Automatic Text Design based on Emotion | |
| CN111898411B (en) | Text image annotation system, method, computer device and storage medium | |
| CN110674814A (en) | Picture identification and translation method, terminal and medium | |
| CN110019912B (en) | Shape-based graph search | |
| JP2002063215A (en) | Document display method and system, computer program, recording medium | |
| RU2677573C2 (en) | System and method of adding stylized properties to image | |
| WO2018233055A1 (en) | Method, device, computer device and storage medium for policy information entry | |
| RU2619712C1 (en) | Optical character recognition of image series | |
| CN112381057A (en) | Handwritten character recognition method and device, storage medium and terminal | |
| CN113673294B (en) | Method, device, computer equipment and storage medium for extracting document key information | |
| CN111783514A (en) | Facial parsing method, device and computer-readable storage medium | |
| US9245357B2 (en) | Image processing apparatus, image processing method, and storage medium | |
| KR20200020305A (en) | Method and Apparatus for character recognition | |
| KR101552525B1 (en) | A system for recognizing a font and providing its information and the method thereof | |
| CN113537184A (en) | OCR (optical character recognition) model training method and device, computer equipment and storage medium | |
| CN112528997A (en) | Tibetan-Chinese bilingual scene text detection method based on text center region amplification | |
| CN112560857B (en) | Character area boundary detection method, equipment, storage medium and device | |
| JP7528715B2 (en) | Font setting device, font setting method, and computer program | |
| TWI726268B (en) | Image information processing device, image information processing method, and recording medium for recording image information processing program | |
| CN109101973B (en) | Character recognition method, electronic device and storage medium | |
| CN113642642B (en) | Control identification method and device | |
| CN115223171A (en) | Text recognition method, device, equipment and storage medium | |
| JP2008282094A (en) | Character recognition processing device | |
| Zhandong et al. | From Detection to Understanding: A Systematic Survey of Deep Learning for Scene Text Processing |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230829 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240529 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240604 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240613 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20240625 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240708 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7528715 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |