JP2018007106A - Image processing system, image processing method, and image processing terminal - Google Patents

Image processing system, image processing method, and image processing terminal Download PDF

Info

Publication number
JP2018007106A
JP2018007106A JP2016133452A JP2016133452A JP2018007106A JP 2018007106 A JP2018007106 A JP 2018007106A JP 2016133452 A JP2016133452 A JP 2016133452A JP 2016133452 A JP2016133452 A JP 2016133452A JP 2018007106 A JP2018007106 A JP 2018007106A
Authority
JP
Japan
Prior art keywords
image
image processing
document
server
terminal
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.)
Granted
Application number
JP2016133452A
Other languages
Japanese (ja)
Other versions
JP6220931B1 (en
Inventor
馨 大倉
Kaoru Okura
馨 大倉
加藤 雄一
Yuichi Kato
雄一 加藤
勝人 大野
Katsuto Ono
勝人 大野
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.)
Z Kai Inc
Original Assignee
Z Kai 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 Z Kai Inc filed Critical Z Kai Inc
Priority to JP2016133452A priority Critical patent/JP6220931B1/en
Application granted granted Critical
Publication of JP6220931B1 publication Critical patent/JP6220931B1/en
Publication of JP2018007106A publication Critical patent/JP2018007106A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrically Operated Instructional Devices (AREA)
  • Facsimiles In General (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing system, an image processing method, and an image processing terminal that can prevent deterioration in readability of a document image.SOLUTION: In an image processing system 10 including image processing terminals 1a-1c and a server 2 connected by network N, each of the image processing terminals includes: a photographing unit for photographing a document to generate a document image; a control unit for determining whether readability of the document image meets a prescribed condition; a terminal communication unit for transmitting the document image to the server 2 if the readability meets the prescribed condition; and a display unit for displaying an error message if the readability does not meet the prescribed condition. The server 2 includes a server communication unit for receiving the document image from the image processing terminals 1, and a storage unit for storing the document image.SELECTED DRAWING: Figure 1

Description

本発明は、書面画像を撮影して通信する画像処理システム、画像処理方法、及び画像処理端末に関する。   The present invention relates to an image processing system, an image processing method, and an image processing terminal that capture and communicate a written image.

従来の通信教育では、利用者は解答用紙(以下、書面ともいう。)に解答を記入後、郵送により書面を提出していた(例えば特許文献1)。このようなシステムでは、郵送による提出のため、添削者に提出物が届くまで時間を要し、また添削結果が利用者に返送されるまで時間を要することがあった。さらに郵送作業は利用者にとってやや煩雑であり、提出が遅れてしまうこともあった。   In conventional correspondence education, a user submits a document by mail after filling in an answer sheet (hereinafter also referred to as a document) (for example, Patent Document 1). In such a system, since it was submitted by mail, it took time until the submission arrived at the corrector, and it took time until the correction result was returned to the user. Furthermore, the mailing work is somewhat complicated for the user, and the submission may be delayed.

他方、スマートフォン等の普及により、カメラ機能付き通信端末を持つ利用者が増加している。カメラで解答記入済みの解答用紙を撮影し、通信端末により撮影した画像(以下、書面画像という。)を添削者に送信するシステムが利用されるようになってきている。   On the other hand, with the spread of smartphones and the like, the number of users having communication terminals with camera functions is increasing. 2. Description of the Related Art A system has been used in which an answer sheet in which an answer has been entered is photographed by a camera and an image photographed by a communication terminal (hereinafter referred to as a written image) is transmitted to a corrector.

特開2003−178171号公報JP 2003-178171 A

しかしながら従来の技術では、書面を撮影する際に、書面との距離や明るさ等の撮影環境がばらつき、書面画像の判読性が低下してしまう場合があった。   However, in the conventional technique, when photographing a document, the photographing environment such as the distance to the document and brightness varies, and the readability of the document image may be deteriorated.

従って、上記のような問題点に鑑みてなされた本発明の目的は、書面画像の判読性の低下を抑制することができる画像処理システム、画像処理方法、及び画像処理端末を提供することにある。   Accordingly, an object of the present invention made in view of the above problems is to provide an image processing system, an image processing method, and an image processing terminal capable of suppressing a decrease in the legibility of a written image. .

上記課題を解決するために本発明の一実施形態に係る画像処理システムは、
ネットワークにより接続された画像処理端末とサーバとを備える画像処理システムであって、
前記画像処理端末は、
書面を撮影して書面画像を生成する撮影部と、
前記書面画像の判読性が所定条件を満たすか否か判定する制御部と、
前記判読性が前記所定条件を満たす場合、前記サーバに前記書面画像を送信する端末通信部と、
前記判読性が前記所定条件を満たさない場合、エラーメッセージを表示する表示部と、
を備え、
前記サーバは、
前記画像処理端末から前記書面画像を受信するサーバ通信部と、
前記書面画像を記憶する記憶部と、
を備えることを特徴とする。
In order to solve the above problems, an image processing system according to an embodiment of the present invention includes:
An image processing system comprising an image processing terminal and a server connected by a network,
The image processing terminal
A photographing unit for photographing a document and generating a document image;
A control unit for determining whether the readability of the written image satisfies a predetermined condition;
When the readability satisfies the predetermined condition, a terminal communication unit that transmits the document image to the server;
If the legibility does not satisfy the predetermined condition, a display unit that displays an error message;
With
The server
A server communication unit for receiving the document image from the image processing terminal;
A storage unit for storing the written image;
It is characterized by providing.

また本発明の一実施形態に係る画像処理システムは、
前記撮影部が、撮影台により所定距離離れた位置に配置された前記書面を撮影することを特徴とする。
An image processing system according to an embodiment of the present invention includes:
The photographing unit photographs the document arranged at a predetermined distance from a photographing stand.

また本発明の一実施形態に係る画像処理システムは、
前記所定条件が、前記書面画像が四辺を有するという条件を含むことを特徴とする。
An image processing system according to an embodiment of the present invention includes:
The predetermined condition includes a condition that the document image has four sides.

また本発明の一実施形態に係る画像処理システムは、
前記所定条件が、前記書面画像の少なくとも一部の輝度が所定範囲内であるという条件を含むことを特徴とする。
An image processing system according to an embodiment of the present invention includes:
The predetermined condition includes a condition that the luminance of at least a part of the document image is within a predetermined range.

また本発明の一実施形態に係る画像処理システムは、
前記書面が識別コードを含み、
前記所定条件は、前記識別コードが読み取り可能であるという条件を含むことを特徴とする。
An image processing system according to an embodiment of the present invention includes:
The document includes an identification code;
The predetermined condition includes a condition that the identification code is readable.

また本発明の一実施形態に係る画像処理システムは、
前記識別コードは第一識別コード及び第二識別コードにより構成され、
前記書面の表面に第一識別コードが印刷されており、前記表面の裏面に第二識別コードが印刷されており、
前記所定条件は、前記書面画像の前記第一識別コード及び前記第二識別コードのいずれもが読み取り可能であるという条件を含むことを特徴とする。
An image processing system according to an embodiment of the present invention includes:
The identification code is composed of a first identification code and a second identification code,
A first identification code is printed on the front surface of the document, and a second identification code is printed on the back surface of the front surface,
The predetermined condition includes a condition that both the first identification code and the second identification code of the document image are readable.

また本発明の一実施形態に係る画像処理システムは、
前記表示部が、前記撮影部により撮影する際に撮影範囲を示すガイド枠を表示し、
前記ガイド枠は、前記書面を撮影する範囲を示す第一矩形枠と、前記識別コードを撮影する範囲を示す第二矩形枠とを含むことを特徴とする。
An image processing system according to an embodiment of the present invention includes:
The display unit displays a guide frame indicating a shooting range when shooting by the shooting unit,
The guide frame includes a first rectangular frame indicating a range in which the document is captured and a second rectangular frame indicating a range in which the identification code is captured.

また本発明の一実施形態に係る画像処理システムは、
前記サーバが、前記書面画像を補正するサーバ制御部を備え、前記サーバ制御部により補正した前記書面画像を前記記憶部に記憶することを特徴とする。
An image processing system according to an embodiment of the present invention includes:
The server includes a server control unit that corrects the document image, and stores the document image corrected by the server control unit in the storage unit.

また本発明の一実施形態に係る画像処理システムは、
前記サーバが、前記書面画像の前記識別コードに基づき、所定の添削者端末に前記書面画像を送信することを特徴とする。
An image processing system according to an embodiment of the present invention includes:
The server transmits the document image to a predetermined corrector terminal based on the identification code of the document image.

また、本発明の一実施形態に係る画像処理方法は、
ネットワークにより接続された画像処理端末とサーバとを備える画像処理システムにおける画像処理方法であって、
前記画像処理端末が、
書面を撮影して書面画像を生成する撮影するステップと、
前記書面画像の判読性が所定条件を満たすか否か判定するステップと、
前記判読性が前記所定条件を満たす場合、前記サーバに前記書面画像を送信するステップと、
前記判読性が前記所定条件を満たさない場合、エラーメッセージを表示するステップと、
前記サーバが、
前記画像処理端末から前記書面画像を受信するステップと、
前記書面画像を記憶するステップと、
を含むことを特徴とする。
An image processing method according to an embodiment of the present invention includes:
An image processing method in an image processing system comprising an image processing terminal and a server connected by a network,
The image processing terminal is
Shooting a document to generate a document image;
Determining whether the readability of the written image satisfies a predetermined condition;
If the legibility meets the predetermined condition, sending the written image to the server;
When the legibility does not satisfy the predetermined condition, displaying an error message;
The server is
Receiving the document image from the image processing terminal;
Storing the written image;
It is characterized by including.

また、本発明の一実施形態に係る画像処理端末は、
書面を撮影して書面画像を生成する撮影部と、
前記書面画像の判読性が所定条件を満たすか否か判定する制御部と、
前記判読性が前記所定条件を満たす場合、サーバに前記書面画像を送信する通信部と、
前記判読性が前記所定条件を満たさない場合、エラーメッセージを表示する表示部と、
を備えることを特徴とする。
In addition, an image processing terminal according to an embodiment of the present invention includes:
A photographing unit for photographing a document and generating a document image;
A control unit for determining whether the readability of the written image satisfies a predetermined condition;
When the legibility satisfies the predetermined condition, a communication unit that transmits the document image to a server;
If the legibility does not satisfy the predetermined condition, a display unit that displays an error message;
It is characterized by providing.

また、本発明の一実施形態に係る画像処理端末は、
前記撮影部が、撮影台により所定距離離れた位置に配置された前記書面を撮影することを特徴とする。
In addition, an image processing terminal according to an embodiment of the present invention includes:
The photographing unit photographs the document arranged at a predetermined distance from a photographing stand.

また、本発明の一実施形態に係る画像処理端末は、
前記所定条件が、前記書面画像が四辺を有するという条件を含む。
In addition, an image processing terminal according to an embodiment of the present invention includes:
The predetermined condition includes a condition that the document image has four sides.

また、本発明の一実施形態に係る画像処理端末は、
前記所定条件が、前記書面画像の少なくとも一部の輝度が所定範囲内であるという条件を含む。
In addition, an image processing terminal according to an embodiment of the present invention includes:
The predetermined condition includes a condition that the luminance of at least a part of the document image is within a predetermined range.

本発明の一実施形態に係る画像処理システム、画像処理方法、及び画像処理端末によれば、書面画像の判読性の低下を抑制することができる。   According to an image processing system, an image processing method, and an image processing terminal according to an embodiment of the present invention, it is possible to suppress a decrease in legibility of a written image.

本発明の一実施形態に係る画像処理システムの概要図である。1 is a schematic diagram of an image processing system according to an embodiment of the present invention. 本発明の一実施形態に係る画像処理端末のブロック図である。It is a block diagram of an image processing terminal concerning one embodiment of the present invention. 本発明の一実施形態に係るサーバのブロック図である。It is a block diagram of a server concerning one embodiment of the present invention. 本発明の一実施形態に係る添削者端末のブロック図である。It is a block diagram of the correction person terminal concerning one embodiment of the present invention. 専用ケースを開けた状態を示す図である。It is a figure which shows the state which opened the exclusive case. 専用ケースをL型に開き支柱とした状態を示す図である。It is a figure which shows the state which opened an exclusive case in L shape and used it as the support | pillar. 専用ケースの端末保持台を組み立てた状態を示す図である。It is a figure which shows the state which assembled the terminal holding stand of a special case. 専用ケースの端末保持台に画像処理端末を配置した状態を示す図である。It is a figure which shows the state which has arrange | positioned the image processing terminal to the terminal holding stand of a special case. 画像処理端末により撮影する際の表示画面を示す図である。It is a figure which shows the display screen at the time of imaging | photography with an image processing terminal. 書面画像の上辺のエッジ走査を示す図である。It is a figure which shows edge scanning of the upper side of a document image. 書面画像の上辺の直線近似を示す図である。It is a figure which shows the straight line approximation of the upper side of a document image. 書面画像の四隅の位置を検出する手法を示す図である。It is a figure which shows the method of detecting the position of the four corners of a document image. 書面画像の左上横のエッジ走査を示す図である。It is a figure which shows the edge scan of the upper left horizontal of a document image. 書面画像の左上縦のエッジ走査を示す図である。It is a figure which shows the upper left vertical edge scanning of a document image. 書面画像の左上縦のエッジ走査を示す図である。It is a figure which shows the upper left vertical edge scanning of a document image. 書面画像の左上横のエッジ走査を示す図である。It is a figure which shows the edge scan of the upper left horizontal of a document image. 輝度を判定する位置を示す図である。It is a figure which shows the position which determines a brightness | luminance. 本発明の一実施形態に係る画像処理端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the image processing terminal which concerns on one Embodiment of this invention. 本発明の一実施形態に係るサーバの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the server which concerns on one Embodiment of this invention. 画像補正の一例を示す図である。It is a figure which shows an example of image correction.

以下、本発明の実施の形態について説明する。   Embodiments of the present invention will be described below.

(実施の形態)
図1は本発明の一実施形態に係る画像処理システム10の概要図である。本発明の一実施形態に係る画像処理システム10は、複数の画像処理端末1a〜1c(学習者端末1a〜1c)と、サーバ2と、複数の添削者端末3a〜3bとを備える。以下、複数の画像処理端末1a〜1cを区別しない場合には、これらをまとめて画像処理端末1と記す。同様に、複数の添削者端末3a〜3bを区別しない場合には、これらをまとめて添削者端末3と記す。複数の画像処理端末1、サーバ2、及び複数の添削者端末3は、例えばインターネット等のネットワークNにより接続される。なお図1では、簡便のため画像処理端末1を3台示しているが、画像処理端末数はこれに限られず、任意の台数の画像処理端末1が備えられてもよい。同様に簡便のため添削者端末3を2台示しているが、添削者端末数はこれに限られず、任意の台数の添削者端末3が備えられてもよい。
(Embodiment)
FIG. 1 is a schematic diagram of an image processing system 10 according to an embodiment of the present invention. An image processing system 10 according to an embodiment of the present invention includes a plurality of image processing terminals 1a to 1c (learner terminals 1a to 1c), a server 2, and a plurality of corrector terminals 3a to 3b. Hereinafter, when the plurality of image processing terminals 1a to 1c are not distinguished, they are collectively referred to as an image processing terminal 1. Similarly, when the plurality of corrector terminals 3a to 3b are not distinguished, they are collectively referred to as the corrector terminal 3. The plurality of image processing terminals 1, the server 2, and the plurality of corrector terminals 3 are connected by a network N such as the Internet. In FIG. 1, three image processing terminals 1 are shown for simplicity, but the number of image processing terminals is not limited to this, and an arbitrary number of image processing terminals 1 may be provided. Similarly, two corrector terminals 3 are shown for simplicity, but the number of corrector terminals is not limited to this, and an arbitrary number of corrector terminals 3 may be provided.

画像処理端末1は、通信教育の利用者(以下、学習者という。)が用いるタブレット端末、スマートフォン、パーソナルコンピュータ等の情報処理装置であって、サーバ2から提供される通信教育に係るサービスを実行する。特に本実施形態に係る画像処理端末1は、サーバ2に、通信教育における答案用紙等の書面画像を送信する。また画像処理端末1は、サーバ2から添削済みの書面画像を受信し、学習者に表示する。サーバ2は、例えば通信教育の運営者が管理するサーバ装置等の情報処理装置であって、学習者が各々保有する画像処理端末1に対して通信教育に係るサービスを提供する。特に本実施形態に係るサーバ2は、画像処理端末1から書面画像を受信する。またサーバ2は書面画像を添削者端末3に送信する。またサーバ2は、添削者端末3から添削済みの書面画像を受信する。さらにサーバ2は、添削済みの書面画像を画像処理端末1に送信する。添削者端末3は、通信教育の添削者が用いるパーソナルコンピュータ、タブレット端末等の情報処理装置である。添削者端末3は、サーバ2から書面画像を受信し、また添削済みの書面画像をサーバ2に送信する。このように画像処理端末1、サーバ2、及び添削者端末3が協働して、画像処理端末1を保有する学習者に通信教育を提供し、学習を支援する。   The image processing terminal 1 is an information processing apparatus such as a tablet terminal, a smartphone, or a personal computer used by a correspondence education user (hereinafter referred to as a learner), and executes a service related to correspondence education provided from the server 2. To do. In particular, the image processing terminal 1 according to the present embodiment transmits a written image such as an answer sheet in correspondence learning to the server 2. The image processing terminal 1 receives the corrected document image from the server 2 and displays it to the learner. The server 2 is an information processing apparatus such as a server apparatus managed by a correspondence education operator, for example, and provides services related to correspondence education to the image processing terminals 1 held by the learners. In particular, the server 2 according to the present embodiment receives a document image from the image processing terminal 1. Further, the server 2 transmits the written image to the corrector terminal 3. Further, the server 2 receives the corrected document image from the corrector terminal 3. Further, the server 2 transmits the corrected document image to the image processing terminal 1. The corrector terminal 3 is an information processing device such as a personal computer or a tablet terminal used by a corrector of distance learning. The corrector terminal 3 receives the document image from the server 2 and transmits the corrected document image to the server 2. In this way, the image processing terminal 1, the server 2, and the corrector terminal 3 cooperate to provide a distance learning to a learner who owns the image processing terminal 1 and support learning.

次に、画像処理システム10の各構成要素について具体的に説明する。   Next, each component of the image processing system 10 will be specifically described.

(画像処理端末1の構成)
まず、画像処理端末1について説明する。図2に、画像処理端末1のブロック図を示す。画像処理端末1は、端末通信部11と、端末記憶部12と、表示部13と、入力部14と、撮影部15と、端末制御部16とを備える。端末通信部11と、端末記憶部12と、表示部13と、入力部14と、撮影部15と、端末制御部16とは、バス17によりそれぞれ接続されている。
(Configuration of image processing terminal 1)
First, the image processing terminal 1 will be described. FIG. 2 shows a block diagram of the image processing terminal 1. The image processing terminal 1 includes a terminal communication unit 11, a terminal storage unit 12, a display unit 13, an input unit 14, a photographing unit 15, and a terminal control unit 16. The terminal communication unit 11, the terminal storage unit 12, the display unit 13, the input unit 14, the photographing unit 15, and the terminal control unit 16 are connected to each other by a bus 17.

端末通信部11は、外部装置と無線又は有線によって通信し、情報の送受信を行うインターフェースである。本実施形態において、端末通信部11は、ネットワークNを介して、サーバ2との間で情報を相互に送受信可能である。   The terminal communication unit 11 is an interface that communicates with an external device wirelessly or by wire and transmits and receives information. In the present embodiment, the terminal communication unit 11 can transmit and receive information to and from the server 2 via the network N.

端末記憶部12は、例えば一次記憶装置及び二次記憶装置を含み、サーバ2から提供される種々の情報及び情報処理に必要なプログラムを記憶する。例えば、端末記憶部12は、通信教育に係る学習用のアプリケーション(以下、学習アプリケーションという。)を記憶する。学習アプリケーションは、例えばネットワークNを介して所定の配信サーバから取得可能である。学習アプリケーションが実行(起動)された状態で、画像処理端末1の本実施形態に係る動作が実現される。   The terminal storage unit 12 includes, for example, a primary storage device and a secondary storage device, and stores various information provided from the server 2 and programs necessary for information processing. For example, the terminal storage unit 12 stores a learning application related to distance learning (hereinafter referred to as a learning application). The learning application can be acquired from a predetermined distribution server via the network N, for example. The operation according to the present embodiment of the image processing terminal 1 is realized in a state where the learning application is executed (activated).

表示部13は、例えば液晶ディスプレイ又は有機ELディスプレイ等の表示デバイスであって、多様な画面を表示可能である。   The display unit 13 is a display device such as a liquid crystal display or an organic EL display, and can display various screens.

入力部14は、例えば表示部13と一体的に設けられたタッチパネルを含む入力インターフェースであって、画像処理端末1に対する学習者のタップ等の操作(以下、ユーザ操作という。)を受付可能である。本実施の形態では、入力部14がタッチパネルである例について説明する。   The input unit 14 is an input interface including a touch panel provided integrally with the display unit 13, for example, and can accept an operation such as a learner's tap on the image processing terminal 1 (hereinafter referred to as a user operation). . In the present embodiment, an example in which the input unit 14 is a touch panel will be described.

撮影部15は、カメラ等であり、被写体を撮影して得た画像情報信号を、端末制御部16に送信する。本実施の形態では撮影部15は、解答用紙等の書面を被写体として撮影し、書面画像を生成する。そして書面画像に係る画像情報信号を端末制御部16に渡す。書面の撮影方法については後述する。   The photographing unit 15 is a camera or the like, and transmits an image information signal obtained by photographing a subject to the terminal control unit 16. In the present embodiment, the photographing unit 15 photographs a document such as an answer sheet as a subject and generates a document image. Then, the image information signal related to the document image is passed to the terminal control unit 16. A method for photographing a document will be described later.

端末制御部16は、専用又は汎用のプロセッサを含む。端末制御部16は、画像処理端末1全体の動作を制御する。例えば端末制御部16は、端末通信部11により情報の送受信を行う。また端末制御部16は、学習者の操作に応じて学習アプリケーションを実行(起動)する。   The terminal control unit 16 includes a dedicated or general-purpose processor. The terminal control unit 16 controls the operation of the entire image processing terminal 1. For example, the terminal control unit 16 transmits and receives information using the terminal communication unit 11. The terminal control unit 16 executes (starts) the learning application in accordance with the learner's operation.

また端末制御部16は、種々の情報処理を行う。例えば端末制御部16は、撮影部15から渡された書面画像に係る画像情報信号に基づき、書面画像の判読性が所定条件を満たすか否かを判定する。また端末制御部16は、判読性が所定条件を満たす場合、端末通信部11によりサーバ2に書面画像を送信する。一方で判読性が所定条件を満たさない場合、表示部13によりエラーメッセージを表示する。当該判読性の判定については後述する。   The terminal control unit 16 performs various information processing. For example, the terminal control unit 16 determines whether or not the readability of the document image satisfies a predetermined condition based on the image information signal related to the document image passed from the photographing unit 15. Further, the terminal control unit 16 transmits a written image to the server 2 by the terminal communication unit 11 when the readability satisfies the predetermined condition. On the other hand, when the legibility does not satisfy the predetermined condition, the display unit 13 displays an error message. The determination of the legibility will be described later.

(サーバ2の構成)
図3は、本発明の一実施形態に係るサーバのブロック図である。サーバ2は、サーバ通信部21と、サーバ記憶部22と、サーバ制御部23とを備える。サーバ通信部21と、サーバ記憶部22と、サーバ制御部23とは、バス24によりそれぞれ接続されている。
(Configuration of server 2)
FIG. 3 is a block diagram of a server according to an embodiment of the present invention. The server 2 includes a server communication unit 21, a server storage unit 22, and a server control unit 23. The server communication unit 21, the server storage unit 22, and the server control unit 23 are connected to each other by a bus 24.

サーバ通信部21は、外部装置と無線又は有線によって通信し、情報の送受信を行うインターフェースである。本実施形態において、サーバ通信部21は、ネットワークNを介して、画像処理端末1との間で情報を相互に送受信可能である。またサーバ通信部21は、ネットワークNを介して、添削者端末3との間で情報を相互に送受信可能である。   The server communication unit 21 is an interface that communicates with an external device wirelessly or by wire and transmits and receives information. In the present embodiment, the server communication unit 21 can transmit and receive information to and from the image processing terminal 1 via the network N. The server communication unit 21 can transmit and receive information to and from the corrector terminal 3 via the network N.

サーバ記憶部22は、例えば一次記憶装置及び二次記憶装置を含み、通信教育の提供及び制御に必要な種々の情報及びプログラムを記憶する。   The server storage unit 22 includes, for example, a primary storage device and a secondary storage device, and stores various information and programs necessary for providing and controlling correspondence education.

サーバ制御部23は、専用又は汎用のプロセッサを含む。サーバ制御部23は、サーバ2全体の動作を制御する。例えばサーバ制御部23は、サーバ通信部21により情報の送受信を行う。またサーバ制御部23は、受信した情報をサーバ記憶部22に記憶させる。   The server control unit 23 includes a dedicated or general-purpose processor. The server control unit 23 controls the operation of the entire server 2. For example, the server control unit 23 transmits and receives information using the server communication unit 21. Further, the server control unit 23 stores the received information in the server storage unit 22.

またサーバ制御部23は、種々の処理を行う。例えばサーバ制御部23は、サーバ通信部21により画像処理端末1から書面画像を受信する。サーバ制御部23は、受信した書面画像をサーバ記憶部22に記憶させる。またサーバ制御部23は、サーバ記憶部22に記憶させた書面画像を、サーバ通信部21により添削者端末3に送信する。またサーバ制御部23は、サーバ通信部21により、添削者端末3から添削済みの書面画像を受信する。サーバ制御部23は、サーバ通信部21により、画像処理端末1に添削済みの書面画像を送信する。   The server control unit 23 performs various processes. For example, the server control unit 23 receives a document image from the image processing terminal 1 through the server communication unit 21. The server control unit 23 stores the received document image in the server storage unit 22. In addition, the server control unit 23 transmits the document image stored in the server storage unit 22 to the corrector terminal 3 through the server communication unit 21. Further, the server control unit 23 receives the corrected document image from the corrector terminal 3 through the server communication unit 21. The server control unit 23 transmits the corrected document image to the image processing terminal 1 through the server communication unit 21.

(添削者端末3の構成)
図4は、本発明の一実施形態に係る添削者端末3のブロック図である。添削者端末3は、端末通信部31と、端末記憶部32と、表示部33と、入力部34と、端末制御部35とを備える。端末通信部31と、端末記憶部32と、表示部33と、入力部34と、端末制御部35とは、バス36によりそれぞれ接続されている。
(Configuration of the corrector terminal 3)
FIG. 4 is a block diagram of the corrector terminal 3 according to an embodiment of the present invention. The corrector terminal 3 includes a terminal communication unit 31, a terminal storage unit 32, a display unit 33, an input unit 34, and a terminal control unit 35. The terminal communication unit 31, the terminal storage unit 32, the display unit 33, the input unit 34, and the terminal control unit 35 are connected by a bus 36, respectively.

端末通信部31は、外部装置と無線又は有線によって通信し、情報の送受信を行うインターフェースである。本実施形態において、端末通信部31は、ネットワークNを介して、サーバ2との間で情報を相互に送受信可能である。   The terminal communication unit 31 is an interface that communicates with an external device wirelessly or by wire and transmits and receives information. In the present embodiment, the terminal communication unit 31 can transmit and receive information to and from the server 2 via the network N.

端末記憶部32は、例えば一次記憶装置及び二次記憶装置を含み、サーバ2から提供される種々の情報及び情報処理に必要なプログラムを記憶する。例えば、端末記憶部32は、通信教育に係る添削用のアプリケーション(以下、添削アプリケーションという。)を記憶する。添削アプリケーションは、例えばネットワークNを介して所定の配信サーバから取得可能である。添削アプリケーションが実行(起動)された状態で、添削者端末3の本実施形態に係る動作が実現される。   The terminal storage unit 32 includes, for example, a primary storage device and a secondary storage device, and stores various information provided from the server 2 and programs necessary for information processing. For example, the terminal storage unit 32 stores an application for correction related to distance learning (hereinafter referred to as a correction application). The correction application can be acquired from a predetermined distribution server via the network N, for example. The operation according to the present embodiment of the corrector terminal 3 is realized in a state in which the correction application is executed (activated).

表示部33は、例えば液晶ディスプレイ又は有機ELディスプレイ等の表示デバイスであって、多様な画面を表示可能である。例えば表示部33は書面画像を表示する。   The display unit 33 is a display device such as a liquid crystal display or an organic EL display, and can display various screens. For example, the display unit 33 displays a document image.

入力部34は、例えばキーボード、ペンタブレット、タッチパッド、マウス等の入力インターフェースであって、添削者端末3に対する添削者の操作を受付可能である。なお入力部34は、表示部33と一体的に設けられたタッチパネルであってもよい。   The input unit 34 is an input interface such as a keyboard, a pen tablet, a touch pad, and a mouse, and can accept an operation of the corrector on the corrector terminal 3. The input unit 34 may be a touch panel provided integrally with the display unit 33.

端末制御部35は、専用又は汎用のプロセッサを含む。端末制御部35は、添削者端末3全体の動作を制御する。例えば端末制御部35は、端末通信部31により情報の送受信を行う。また端末制御部35は、添削者の操作に応じて添削アプリケーションを実行(起動)する。   The terminal control unit 35 includes a dedicated or general-purpose processor. The terminal control unit 35 controls the overall operation of the corrector terminal 3. For example, the terminal control unit 35 transmits and receives information using the terminal communication unit 31. Further, the terminal control unit 35 executes (starts) the correction application in accordance with the operation of the corrector.

また端末制御部35は、種々の情報処理を行う。例えば端末制御部35は、端末通信部31により、サーバ2から書面画像を受信する。また端末制御部35は、表示部33により書面画像を表示し、入力部34により添削者の操作を受け付ける。入力部34により添削者の操作を受け付けると、端末制御部35は書面画像を編集し、添削コメント等が記入された添削済みの書面画像を作成及び保存する。また端末制御部35は、端末通信部31により、サーバ2に添削済みの書面画像を送信する。   The terminal control unit 35 performs various information processing. For example, the terminal control unit 35 receives a document image from the server 2 through the terminal communication unit 31. In addition, the terminal control unit 35 displays a document image on the display unit 33 and receives an operation of the corrector by the input unit 34. When the operation of the corrector is accepted by the input unit 34, the terminal control unit 35 edits the document image, and creates and stores the corrected document image in which the correction comment or the like is entered. Further, the terminal control unit 35 transmits the corrected document image to the server 2 by the terminal communication unit 31.

(書面の撮影方法)
次に、画像処理端末1による書面の撮影方法について具体的に説明する。本実施の形態に係る画像処理システム10は、所定距離離れた位置に配置された書面を撮影部15により撮影するために、撮影台を用いる。撮影台として、画像処理端末1を収納する専用ケース4を利用する。
(How to shoot a document)
Next, a method for photographing a document by the image processing terminal 1 will be specifically described. The image processing system 10 according to the present embodiment uses a photographing stand in order to photograph a document placed at a predetermined distance away by the photographing unit 15. A dedicated case 4 that houses the image processing terminal 1 is used as a photographing stand.

専用ケース4(撮影台4)は、表蓋41と裏蓋42を有する略矩形状のケースであり、画像処理端末1を収納可能である。画像処理端末1を専用ケース4に収納することで、容易に保管又は持ち運びすることができる。図5は、画像処理端末1を収納している専用ケース4を開けた状態を示す図である。専用ケース4の裏蓋42の長手方向の両端には、それぞれ書面配置台43と、端末保持台44とが設けられている。書面配置台43は、撮影する対象である書面を配置するための、折畳み可能な矩形シート状の部材である。端末保持台44は、画像処理端末1を保持するための折畳み可能な台である。書面配置台43及び端末保持台44は、それぞれ専用ケース4を閉じた状態において、専用ケース4の内部に折り畳んで収納可能である。   The dedicated case 4 (photographing table 4) is a substantially rectangular case having a front cover 41 and a back cover 42, and can store the image processing terminal 1. By storing the image processing terminal 1 in the dedicated case 4, it can be easily stored or carried. FIG. 5 is a diagram illustrating a state in which the dedicated case 4 housing the image processing terminal 1 is opened. A document arrangement table 43 and a terminal holding table 44 are provided at both ends in the longitudinal direction of the back cover 42 of the special case 4. The document arrangement table 43 is a foldable rectangular sheet-like member for arranging a document to be photographed. The terminal holding table 44 is a foldable table for holding the image processing terminal 1. The document arrangement table 43 and the terminal holding table 44 can be folded and housed inside the dedicated case 4 with the dedicated case 4 closed.

専用ケース4の表蓋41及び裏蓋42は、書面配置台43から立設して端末保持台44を支える支柱として用いられる。図6は、専用ケース4の表蓋41及び裏蓋42を略90度開き(上面視でL型に開き)、支柱とした状態を示す図である。書面配置台43は、図5に示した状態から広げて用いる。書面配置台43の四隅近傍には、4つの切り込み部431がそれぞれ設けられている。撮影対象の書面の四隅をこの切り込み部431に合わせることにより、書面のx軸及びy方向の位置合わせを行なうことができる。   The front cover 41 and the back cover 42 of the special case 4 are used as columns that stand from the document arrangement table 43 and support the terminal holding table 44. FIG. 6 is a view showing a state where the front cover 41 and the back cover 42 of the dedicated case 4 are opened by approximately 90 degrees (opened in an L shape in a top view) to form a support column. The document arrangement table 43 is expanded from the state shown in FIG. Four notches 431 are provided in the vicinity of the four corners of the document arrangement table 43. By aligning the four corners of the document to be photographed with the notches 431, the document can be aligned in the x-axis and y-direction.

図7は、専用ケース4の端末保持台44を組み立てた状態を示す図である。端末保持台44は、天板部441と、天板支持部442とを備える。天板部441及び表蓋41には、それぞれ係合する係合部443が設けられている。天板支持部442及び裏蓋42にも、それぞれ係合する係合部444が設けられている。係合部443及び係合部444によりこれらの部材を係合することで、書面配置台43が表蓋41及び裏蓋42に固定され、また天板部441が書面配置台43とz軸方向に所定距離離れて平行になるように組み立てられる。   FIG. 7 is a view showing a state in which the terminal holding base 44 of the special case 4 is assembled. The terminal holding table 44 includes a top plate portion 441 and a top plate support portion 442. The top plate portion 441 and the front lid 41 are provided with engaging portions 443 that engage with each other. The top plate support portion 442 and the back cover 42 are also provided with engaging portions 444 that engage with each other. By engaging these members with the engaging portion 443 and the engaging portion 444, the document arrangement table 43 is fixed to the front cover 41 and the back cover 42, and the top plate portion 441 is connected to the document arrangement table 43 in the z-axis direction. Are assembled to be parallel to each other at a predetermined distance.

図8は、専用ケース4の端末保持台44の天板部441に画像処理端末1を配置した状態を示す図である。また書面配置台43には書面5を配置している。画像処理端末1の撮影部15は、表示部13の背面に設けられており、書面配置台43に配置された書面5を撮影する。天板部441にはLED45用のスイッチ445(以下、LEDスイッチ445という。)が設けられている(図7参照)。画像処理端末1を端末保持台44に配置した場合、画像処理端末1の背面がLEDスイッチ445に当接してスイッチがオンされ、LED45が点灯する。LED45は、書面配置台43に配置された書面5に光を照射する。これにより、撮影時の光量が確保される。   FIG. 8 is a diagram illustrating a state in which the image processing terminal 1 is arranged on the top plate portion 441 of the terminal holding table 44 of the dedicated case 4. A document 5 is arranged on the document arrangement table 43. The photographing unit 15 of the image processing terminal 1 is provided on the back surface of the display unit 13 and photographs the document 5 arranged on the document arrangement table 43. The top plate portion 441 is provided with a switch 445 for the LED 45 (hereinafter referred to as an LED switch 445) (see FIG. 7). When the image processing terminal 1 is arranged on the terminal holding table 44, the back surface of the image processing terminal 1 contacts the LED switch 445, the switch is turned on, and the LED 45 is lit. The LED 45 irradiates the document 5 arranged on the document arrangement table 43 with light. Thereby, the light quantity at the time of imaging | photography is ensured.

書面配置台43と端末保持台44により、画像処理端末1の撮影部15と撮影対象の書面との間の距離は、z軸方向において所定距離に保たれる。また、撮影部15と、撮影対象の書面との平行性が保たれる。当該所定距離は、撮影対象の書面が画像処理端末1の撮影範囲内に収まり、かつ可能な限りサイズの大きい書面画像となるように設定される。   By the document arrangement table 43 and the terminal holding table 44, the distance between the photographing unit 15 of the image processing terminal 1 and the document to be photographed is kept at a predetermined distance in the z-axis direction. Further, the parallelism between the photographing unit 15 and the document to be photographed is maintained. The predetermined distance is set so that the document to be photographed is within the photographing range of the image processing terminal 1 and the document image is as large as possible.

図9は、画像処理端末1により撮影する際の表示画面(以下、プレビュー画面という。)を示す図である。プレビュー画面は、学習アプリケーション上において、撮影開始メニューへのユーザ操作を入力部14が検出した場合、端末制御部16が表示部13に表示させる。図9に示すように、表示画像は表示部13が表示する範囲内に収まる。プレビュー画面はシャッターボタン141を含み、シャッターボタン141へのタップ等のユーザ操作を検出した場合、端末制御部16は、撮影部15により書面画像を撮影する。なおホームボタン142は、初期画面やメニュー画面に戻る用のボタンとして用いられる。   FIG. 9 is a diagram showing a display screen (hereinafter referred to as a preview screen) when shooting is performed by the image processing terminal 1. The preview screen is displayed on the display unit 13 by the terminal control unit 16 when the input unit 14 detects a user operation to the shooting start menu on the learning application. As shown in FIG. 9, the display image is within the range displayed by the display unit 13. The preview screen includes a shutter button 141, and when a user operation such as a tap on the shutter button 141 is detected, the terminal control unit 16 captures a document image by the capturing unit 15. The home button 142 is used as a button for returning to the initial screen or the menu screen.

表示部13が表示するプレビュー画面は、撮影範囲を示すガイド枠が表示される。ガイド枠は、第一矩形枠131と第二矩形枠132とを含む。第一矩形枠131は、書面を撮影する範囲を示す。第二矩形枠132は、書面に含まれる識別コード51を撮影する範囲を示す。これらのガイド枠により、ユーザは撮影範囲を容易に認識でき、書面画像のx軸方向及びy方向の微調整を行なうことができる。なお識別コード51は書面の所定の位置に印刷されたバーコード、二次元バーコード等であり、例えば図9に示す例では、書面の右上に印刷されている。識別コード51は、書面を一意に特定するための情報を含む。すなわち複数種類(科目、分野、単元等)の解答用紙等のうち、どの解答用紙であるかを識別コード51により特定することができる。   The preview screen displayed by the display unit 13 displays a guide frame indicating the shooting range. The guide frame includes a first rectangular frame 131 and a second rectangular frame 132. The first rectangular frame 131 indicates a range in which a document is photographed. The second rectangular frame 132 indicates a range in which the identification code 51 included in the document is photographed. With these guide frames, the user can easily recognize the photographing range and can finely adjust the document image in the x-axis direction and the y-direction. The identification code 51 is a barcode, a two-dimensional barcode or the like printed at a predetermined position on the document. For example, in the example shown in FIG. 9, the identification code 51 is printed on the upper right of the document. The identification code 51 includes information for uniquely specifying a document. That is, the identification code 51 can identify which answer sheet is a plurality of types of answer sheets (subjects, fields, units, etc.).

(書面画像の判読性の判定)
次に、画像処理端末1による書面画像の判読性の判定について具体的に説明する。上述の通り、端末制御部16は、書面画像の判読性が所定条件を満たすか否かを判定する。端末記憶部12は所定条件に係る定義ファイルを記憶し、当該定義ファイルに基づき判定を行なう。所定条件は、例えば以下の条件である。
(条件1)書面画像が四辺を有する。
(条件2)書面画像の輝度が所定範囲内である。
(条件3)書面画像に含まれる識別コードが読み取り可能である。
(Judgment of readability of written image)
Next, the determination of the legibility of a written image by the image processing terminal 1 will be specifically described. As described above, the terminal control unit 16 determines whether the readability of the written image satisfies a predetermined condition. The terminal storage unit 12 stores a definition file related to a predetermined condition, and makes a determination based on the definition file. The predetermined condition is, for example, the following condition.
(Condition 1) The written image has four sides.
(Condition 2) The brightness of the written image is within a predetermined range.
(Condition 3) The identification code included in the document image can be read.

本実施の形態では、条件1〜条件3の全てを満たす場合に、判読性が所定条件を満たすとする。一方、条件1〜条件3のうちいずれか1つを満たさない場合に、判読性が所定条件を満たさないとする。以下、各条件について説明する。   In this embodiment, it is assumed that the readability satisfies the predetermined condition when all of the conditions 1 to 3 are satisfied. On the other hand, when any one of the conditions 1 to 3 is not satisfied, it is assumed that the legibility does not satisfy the predetermined condition. Hereinafter, each condition will be described.

まず条件1について説明する。条件1は、書面画像が四辺を有するという条件である。画像処理端末1の端末制御部16は、書面画像のうち書面部分と、書面配置台43との境界線を判定し、4つの境界線に係る線分、すなわち書面画像の四辺を検出する。当該4つの線分は矩形状の四辺を構成しているため、言い換えると端末制御部16は、書面画像が所定の四角形を含むか否かを判定する。具体的には端末制御部16は、書面画像中の四角形の形状を全て検出する。また端末制御部16は、検出された四角形のうち、所定のアスペクト比(例えばA4用紙のアスペクト比から誤差が5%の範囲内)のものを選択する。さらに選択した中に、所定のサイズ(例えば書面画像全体にフィットする、A4サイズの75%以上の大きさ)の四角形が存在するか否かを判定する。当該四角形が存在する場合、条件1を満たすと判定する。なお所定のアスペクト比及び所定のサイズは、A4用紙を基準としたがこれに限られない。所定のアスペクト比及び所定のサイズは、いずれも書面の形状及びサイズ(例えば、レターサイズ等)に応じて適宜設定変更できるようにしてもよい。また検出した四角形が、所定のアスペクト比及び所定のサイズの両方に合致する場合に条件1を満たすとしたがこれに限られず、所定のアスペクト比及び所定のサイズの少なくとも一方を満たした場合に条件1を満たすとしてもよい。   First, condition 1 will be described. Condition 1 is a condition that the document image has four sides. The terminal control unit 16 of the image processing terminal 1 determines a boundary line between the document portion of the document image and the document arrangement table 43, and detects line segments related to the four boundary lines, that is, four sides of the document image. Since the four line segments form four rectangular sides, in other words, the terminal control unit 16 determines whether or not the document image includes a predetermined rectangle. Specifically, the terminal control unit 16 detects all square shapes in the document image. In addition, the terminal control unit 16 selects a detected rectangle having a predetermined aspect ratio (for example, an error within a range of 5% from the aspect ratio of A4 paper). Further, it is determined whether or not there is a quadrangle having a predetermined size (for example, 75% or more of the A4 size that fits the entire document image) in the selection. When the rectangle exists, it is determined that the condition 1 is satisfied. The predetermined aspect ratio and the predetermined size are based on A4 paper, but are not limited thereto. The predetermined aspect ratio and the predetermined size may both be appropriately set and changed according to the shape and size (for example, letter size) of the document. In addition, the condition 1 is satisfied when the detected rectangle matches both the predetermined aspect ratio and the predetermined size. However, the condition is not limited to this, and the condition is satisfied when at least one of the predetermined aspect ratio and the predetermined size is satisfied. 1 may be satisfied.

なお端末制御部16は、書面画像が四辺を有するか否かを判定するために、書面画像の四隅を検出してもよい。図10〜図12は、書面画像の四隅を検出するための手法を示す図である。端末制御部16はまず、書面画像の外形のエッジ情報を取得する。例えば端末制御部16は、書面画像50の上辺のエッジ走査をする(図10)。具体的には、書面画像50の上端周辺の所定の領域52において、所定の間隔で並ぶ走査線(53a、53b、53c・・・)に沿って、画像の上から下に向けて各画素のコントラストを検出する。端末制御部16は、コントラストの変化が生じた箇所を検出エッジ(54c、54d、・・・)とする。次に端末制御部16は、検出エッジに基づき直線近似を行い、上辺55aを算出する(図11)。例えば最小二乗法により、検出エッジに対して直線近似することができる。右辺、下辺、左辺についても同様にエッジ走査を行ない、検出エッジに基づき直線近似をして各辺を求める。端末制御部16は、算出した上辺55a、右辺55b、下辺55c、及び左辺55dに基づき、これらの各交点を四隅の位置(56a〜56d)を算出する(図12)。そして端末制御部16は、算出した四隅の位置を結んだ4つの線分により、四角形を特定する。特定した四角形が上記所定のアスペクト比及び所定のサイズの少なくとも一方を満たす場合、書面画像が四辺を有し、条件1を満たすと判定する。   The terminal control unit 16 may detect four corners of the document image in order to determine whether the document image has four sides. 10 to 12 are diagrams illustrating a method for detecting the four corners of the document image. The terminal control unit 16 first acquires edge information of the outer shape of the document image. For example, the terminal control unit 16 performs edge scanning of the upper side of the document image 50 (FIG. 10). Specifically, in a predetermined area 52 around the upper end of the document image 50, along the scanning lines (53a, 53b, 53c. Detect contrast. The terminal control unit 16 sets a position where the contrast change has occurred as a detection edge (54c, 54d,...). Next, the terminal control unit 16 performs linear approximation based on the detected edge, and calculates the upper side 55a (FIG. 11). For example, the detection edge can be linearly approximated by the least square method. Similarly, edge scanning is performed on the right side, the lower side, and the left side, and each side is obtained by linear approximation based on the detected edge. Based on the calculated upper side 55a, right side 55b, lower side 55c, and left side 55d, the terminal control unit 16 calculates the positions of the four corners (56a to 56d) of these intersections (FIG. 12). Then, the terminal control unit 16 identifies a quadrangle by using four line segments connecting the calculated four corner positions. When the specified quadrangle satisfies at least one of the predetermined aspect ratio and the predetermined size, it is determined that the document image has four sides and satisfies the condition 1.

なお上記の四辺の判定をより確実にするために、書面配置台43を黒色にすることが好ましい。このようにすることで端末制御部16は、書面配置台43の黒色と書面のコントラストに基づき四辺を抽出することができる。例えば書面の一部が破れて欠損している場合、折れ曲がっている場合等には、書面画像の四辺を検出できない。この場合は条件1を満たさない。条件1を満たさない場合、端末制御部16は、エラーメッセージを表示部13に表示させる。エラーメッセージは「解答用紙が検出できません。解答用紙が折れ曲がったり切れたりしていないか確認し、もう一度撮影してください」等である。   In order to make the determination of the above four sides more reliable, it is preferable that the document arrangement table 43 is black. In this way, the terminal control unit 16 can extract the four sides based on the contrast between the black color of the document arrangement table 43 and the document. For example, when a part of the document is broken and missing, or when the document is bent, the four sides of the document image cannot be detected. In this case, Condition 1 is not satisfied. If the condition 1 is not satisfied, the terminal control unit 16 causes the display unit 13 to display an error message. The error message is "An answer sheet cannot be detected. Check if the answer sheet is bent or cut, and take a picture again."

なお図10〜図12では、書面画像の外形のエッジ情報を取得するために、各辺のエッジ走査をしたが、エッジ走査の手法はこれに限られない。例えば図13及び図14に示すように、四隅の周辺の外形のエッジ情報のみを取得するようにしてもよい。図13及び図14は、それぞれ左上横及び左上縦のエッジ走査を行っており、このようにエッジ走査を行なうことで、四隅のうちの1点(左上隅)を検出することができる。四隅の他の点も同様に検出することができる。また、走査の方向は縦又は横に限られず、斜めの走査線により検出してもよい。図15及び図16は、走査線の方向を斜めにして、左上横及び左上縦のエッジ走査をする例を示している。このようにすることでも、四隅の位置を検出することができる。   10 to 12, edge scanning is performed on each side in order to acquire edge information of the outline of the document image, but the edge scanning method is not limited to this. For example, as shown in FIGS. 13 and 14, only the edge information of the outline around the four corners may be acquired. FIGS. 13 and 14 perform upper left horizontal and upper left vertical edge scanning, respectively. By performing edge scanning in this manner, one point (upper left corner) of the four corners can be detected. Other points at the four corners can be detected in the same manner. Further, the scanning direction is not limited to vertical or horizontal, but may be detected by an oblique scanning line. FIG. 15 and FIG. 16 show an example in which the scanning line direction is oblique and the upper left horizontal and upper left vertical edge scanning is performed. By doing so, the positions of the four corners can be detected.

次に条件2について説明する。条件2は、書面画像の輝度に係る条件である。端末制御部16は、書面画像のうち、所定の検出位置の輝度を検出する。図17は、書面画像50の中の検出位置を示す図である。本実施の形態では、検出位置を矢印にて示しており、3箇所の検出点61と、10箇所の検出点62の、合計13箇所の輝度を検出する。検出点61は、識別コードの周囲3箇所に位置する。検出点62は、書面画像全体の各辺近傍の10箇所に位置する。   Next, condition 2 will be described. Condition 2 is a condition relating to the brightness of the document image. The terminal control unit 16 detects the luminance at a predetermined detection position in the document image. FIG. 17 is a diagram illustrating a detection position in the document image 50. In the present embodiment, detection positions are indicated by arrows, and a total of 13 luminances of three detection points 61 and ten detection points 62 are detected. The detection points 61 are located at three places around the identification code. The detection points 62 are located at 10 positions near each side of the entire document image.

図17に示すとおり、好適には3つの検出点61(及び1つの検出点62)は識別コードの周囲の四隅に位置する。識別コードの周囲の四隅の輝度を検出することで、識別コード周辺が暗すぎる場合及び明るすぎる場合を、適切に検出することができる。また好適には検出点62は、書面画像の四隅の4箇所と、短辺を2等分する2箇所と、長辺を3等分する4箇所に位置する。検出点62をこのように配置することにより、書面全体が暗すぎる場合及び明るすぎる場合を、適切に検出することができる。   As shown in FIG. 17, the three detection points 61 (and one detection point 62) are preferably located at the four corners around the identification code. By detecting the luminance at the four corners around the identification code, it is possible to appropriately detect when the periphery of the identification code is too dark and too bright. Preferably, the detection points 62 are located at four locations at the four corners of the document image, two locations that divide the short side into two, and four locations that divide the long side into three. By arranging the detection points 62 in this way, it is possible to appropriately detect when the entire document is too dark and too bright.

端末制御部16は、検出した13箇所の輝度のうち、判読性の判定から除外する4点を特定する。除外する4点は、輝度が最高のもの、2番目に高いもの、輝度が最低のもの、2番目に低いものである。端末制御部16は、残りの9箇所の輝度が、それぞれ所定範囲内(例えば輝度レベルが0.6〜0.85)であるか否かを特定する。9箇所全ての検出点の輝度が所定範囲内である場合、端末制御部16は、条件2を満たすと判定する。このように輝度が4点を除外することで、複数の検出点のうち、比較的輝度が高い検出点及び低い検出点を除外し、バランスよく判読性の判定を行なうことができる。   The terminal control unit 16 specifies four points to be excluded from the determination of legibility among the detected 13 luminances. The four points to exclude are the highest brightness, the second highest, the lowest brightness, and the second lowest. The terminal control unit 16 specifies whether or not the remaining nine luminances are within a predetermined range (for example, the luminance level is 0.6 to 0.85). When the luminance of all nine detection points is within the predetermined range, the terminal control unit 16 determines that the condition 2 is satisfied. By excluding four luminance points in this way, detection points with relatively high luminance and low detection points among a plurality of detection points can be excluded, and legibility can be determined with good balance.

9箇所の検出点のうち、一部の輝度が所定範囲外である場合、条件2を見たさない。この場合、端末制御部16は、エラーメッセージを表示部13に表示させる。例えば9箇所の検出点の輝度のうち輝度レベルが0.85を超える箇所が存在する場合、「明るすぎて答案が読み込めません。もう少し暗いところでもう一度撮影してください」等のエラーメッセージを表示させる。また例えば9箇所の検出点の輝度のうち輝度レベルが0.6未満の箇所が存在する場合、「暗すぎて答案が読み込めません。もう少し明るいところでもう一度撮影してください」等のエラーメッセージを表示させる。   When some of the nine detection points are outside the predetermined range, Condition 2 is not seen. In this case, the terminal control unit 16 causes the display unit 13 to display an error message. For example, if there are locations where the luminance level exceeds 0.85 among the luminances of the nine detection points, an error message such as “It is too bright to read the answer. . In addition, for example, if there are nine detection points with a luminance level less than 0.6, an error message such as “It is too dark to read the answer. Please shoot again in a slightly brighter place.” Let

次に条件3について説明する。条件3は、識別コードが読み取り可能であるか否かという条件である。端末制御部16は、識別コードが読み取り可能である場合、条件3を満たすとし、識別コードが読み取り不可能である場合、条件3を満たさないと判定する。なお識別コードは、書面の表面及び裏面の両方に印刷される。表面に印刷される識別コード(以下、第一識別コードともいう。)は、書面の表面であることを特定するための情報を含む。一方裏面に印刷される識別コード(第二識別コード)は、書面の裏面であることを特定する情報を含む。そのため、第一識別コードと第二識別コードとは、異なる情報である。端末制御部16は、表面に係る書面画像に関しては第一識別コードが読み取り可能であるかを判定する。また端末制御部16は、裏面に係る書面画像に関しては第二識別コードが読み取り可能であるかを判定する。   Next, Condition 3 will be described. Condition 3 is a condition as to whether or not the identification code can be read. The terminal control unit 16 determines that the condition 3 is satisfied when the identification code is readable, and determines that the condition 3 is not satisfied when the identification code is not readable. The identification code is printed on both the front and back sides of the document. The identification code printed on the surface (hereinafter also referred to as the first identification code) includes information for specifying the surface of the document. On the other hand, the identification code (second identification code) printed on the back side includes information for specifying the back side of the document. Therefore, the first identification code and the second identification code are different information. The terminal control unit 16 determines whether or not the first identification code can be read for the document image related to the front surface. Further, the terminal control unit 16 determines whether or not the second identification code can be read for the document image related to the back side.

識別コードの読み取りが不可能である場合は条件3を満たさないため、この場合、端末制御部16は、エラーメッセージを表示部13に表示させる。エラーメッセージは「識別コードが検出できません。もう一度撮影して下さい」等である。   If the identification code cannot be read, the condition 3 is not satisfied. In this case, the terminal control unit 16 causes the display unit 13 to display an error message. The error message is “The identification code cannot be detected. Please take another picture”.

上記の条件1〜条件3の全てを満たす場合、端末制御部16は、送信ボタンを表示部13に表示させ、送信ボタンに対するユーザ操作、すなわち送信指示を受け付ける。送信指示を受けた場合、端末制御部16は、撮影した書面画像を、自己を識別する情報(以下、学習者IDという。)と共に端末通信部31によりサーバ2に送信する。   When all of the above conditions 1 to 3 are satisfied, the terminal control unit 16 displays a transmission button on the display unit 13 and accepts a user operation on the transmission button, that is, a transmission instruction. When receiving the transmission instruction, the terminal control unit 16 transmits the captured document image to the server 2 through the terminal communication unit 31 together with information for identifying itself (hereinafter referred to as a learner ID).

次に、本発明の一実施形態に係る画像処理システム10について、図18及び図19に示すフローチャートによりそれぞれ画像処理端末1及びサーバ2の動作を説明する。まず、画像処理端末1の動作について説明する。   Next, operations of the image processing terminal 1 and the server 2 will be described with reference to the flowcharts shown in FIGS. 18 and 19 for the image processing system 10 according to the embodiment of the present invention. First, the operation of the image processing terminal 1 will be described.

はじめに、画像処理端末1の端末制御部16は、撮影開始操作が入力されたか否かを判定する(ステップS10)。具体的には、学習アプリケーション上の撮影開始メニューへのユーザ操作を入力部14が検出した場合、端末制御部16は、撮影開始操作が入力されたと判定する。そして端末制御部16は、図9に示すプレビュー画面を表示部13により表示して、ステップS20に進む。   First, the terminal control unit 16 of the image processing terminal 1 determines whether or not a shooting start operation has been input (step S10). Specifically, when the input unit 14 detects a user operation to the shooting start menu on the learning application, the terminal control unit 16 determines that a shooting start operation has been input. And the terminal control part 16 displays the preview screen shown in FIG. 9 on the display part 13, and progresses to step S20.

次に端末制御部16は、プレビュー画面におけるシャッターボタン141へのユーザ操作があるか否かを判定する(ステップS20)。シャッターボタン141への操作を検出した場合、端末制御部16は、撮影部15により書面を撮影する(ステップS30)。   Next, the terminal control unit 16 determines whether or not there is a user operation on the shutter button 141 on the preview screen (step S20). When the operation on the shutter button 141 is detected, the terminal control unit 16 photographs the document by the photographing unit 15 (step S30).

続いて端末制御部16は、撮影した書面画像の判読性が所定条件を満たすか否かを判定する(ステップS40〜ステップS60)。まず端末制御部16は、書面画像が四辺を有するか否かを判定する(ステップS40)。書面画像が四辺を有すると判定した場合、ステップS50に進む。一方、書面画像が四辺を有しないと判定した場合、ステップS120に進み、エラーメッセージを表示する。具体的には端末制御部16は、「解答用紙が検出できません。解答用紙が折れ曲がったり切れたりしていないか確認し、もう一度撮影してください」等のメッセージを表示部13に表示させる。その後、ステップS20に戻り再度撮影を促す。   Subsequently, the terminal control unit 16 determines whether or not the readability of the photographed document image satisfies a predetermined condition (Steps S40 to S60). First, the terminal control unit 16 determines whether or not the document image has four sides (step S40). If it is determined that the document image has four sides, the process proceeds to step S50. On the other hand, if it is determined that the document image does not have four sides, the process proceeds to step S120, and an error message is displayed. Specifically, the terminal control unit 16 causes the display unit 13 to display a message such as “An answer sheet cannot be detected. Check if the answer sheet is bent or cut and take a picture again”. Thereafter, the process returns to step S20 to prompt the photographing again.

ステップS40において、書面画像が四辺を有すると判定した場合、端末制御部16は、検出点の輝度が所定範囲内であるか否かを判定する(ステップS50)。検出点の輝度が所定範囲内であると判定した場合、ステップS60に進む。一方、検出点の輝度が所定範囲内でないと判定した場合、ステップS120に進み、エラーメッセージを表示する。具体的には端末制御部16は、「暗すぎて答案が読み込めません。もう少し明るいところでもう一度撮影してください」又は「明るすぎて答案が読み込めません。もう少し暗いところでもう一度撮影してください」等のメッセージを表示部13に表示させる。その後、ステップS20に戻り再度撮影を促す。   If it is determined in step S40 that the document image has four sides, the terminal control unit 16 determines whether or not the luminance of the detection point is within a predetermined range (step S50). If it is determined that the luminance of the detection point is within the predetermined range, the process proceeds to step S60. On the other hand, if it is determined that the brightness of the detection point is not within the predetermined range, the process proceeds to step S120, and an error message is displayed. Specifically, the terminal control unit 16 “cannot read the answer because it is too dark. Please take a picture again in a slightly brighter place” or “take a picture again because it is too bright. Is displayed on the display unit 13. Thereafter, the process returns to step S20 to prompt the photographing again.

ステップS50において、検出点の輝度が所定範囲内であると判定した場合、端末制御部16は、書面画像に含まれる識別コードが読み取り可能であるか否かを判定する(ステップS60)。識別コードが読み取り可能であると判定した場合、ステップS70に進む。一方、識別コードが読み取り可能でないと判定した場合、ステップS120に進み、エラーメッセージを表示する。具体的には端末制御部16は、「識別コードが検出できません。もう一度撮影して下さい」等のメッセージを表示部13に表示させる。その後、ステップS20に戻り再度撮影を促す。   When it is determined in step S50 that the luminance of the detection point is within the predetermined range, the terminal control unit 16 determines whether or not the identification code included in the document image can be read (step S60). If it is determined that the identification code can be read, the process proceeds to step S70. On the other hand, if it is determined that the identification code cannot be read, the process proceeds to step S120, and an error message is displayed. Specifically, the terminal control unit 16 causes the display unit 13 to display a message such as “The identification code cannot be detected. Please shoot again”. Thereafter, the process returns to step S20 to prompt the photographing again.

ステップS60において、識別コードが読み取り可能であると判定した場合、端末制御部16は、書面画像を端末記憶部12により記憶する。また端末制御部16は、書面画像を表示部13により表示する(ステップS70)。学習者は撮影した書面画像を目視で確認できる。   If it is determined in step S60 that the identification code can be read, the terminal control unit 16 stores the document image in the terminal storage unit 12. Further, the terminal control unit 16 displays the document image on the display unit 13 (step S70). The learner can visually check the photographed document image.

続いて端末制御部16は、撮影した書面画像が表面であるか否かを判定する(ステップS80)。例えば端末制御部16は、第一識別コードを読み取った場合、撮影した書面画像が表面であることを判定する。あるいは端末制御部16は、ユーザに表面であるか否かを確認するポップアップウィンドウを表示部13に表示させ、ユーザ操作に基づき書面画像が表面であるか否かを判定してもよい。   Subsequently, the terminal control unit 16 determines whether or not the photographed document image is the front surface (step S80). For example, when reading the first identification code, the terminal control unit 16 determines that the photographed document image is the front surface. Or the terminal control part 16 may display on the display part 13 the pop-up window which confirms whether it is the surface to a user, and may determine whether a document image is the surface based on user operation.

撮影した書面画像が表面であると判定した場合、端末制御部16は、裏面撮影指示を受け付ける(ステップS90)。具体的には端末制御部16は、表面撮影ボタンを表示部13に表示させ、ユーザ操作に基づき裏面撮影指示を受け付ける。表面撮影ボタンに対するユーザ操作、すなわち裏面撮影指示を受け付けた場合、書面の裏面の撮影をする。当該撮影のフローは表面と同様であり、ステップS20からステップS80により裏面を撮影する。   When it is determined that the photographed document image is the front surface, the terminal control unit 16 receives a back surface photographing instruction (step S90). Specifically, the terminal control unit 16 displays a front surface shooting button on the display unit 13 and receives a back surface shooting instruction based on a user operation. When a user operation on the front side shooting button, that is, a back side shooting instruction is received, the back side of the document is shot. The photographing flow is the same as that for the front surface, and the back surface is photographed in steps S20 to S80.

ステップS80において書面画像が表面でない場合(裏面である場合)、端末制御部16は、送信指示を受け付ける(ステップS100)。具体的には端末制御部16は、送信ボタンを表示部13に表示させ、送信指示を受け付ける。送信指示を受けた場合、端末制御部16は、撮影した表面及び裏面からなる書面画像を、自己の学習者IDと共に端末通信部31によりサーバ2に送信する(ステップS110)。そして処理を終了する。   When the document image is not the front side (in the case of the back side) in step S80, the terminal control unit 16 receives a transmission instruction (step S100). Specifically, the terminal control unit 16 displays a transmission button on the display unit 13 and accepts a transmission instruction. When receiving the transmission instruction, the terminal control unit 16 transmits the captured document image including the front surface and the back surface to the server 2 through the terminal communication unit 31 together with its own learner ID (step S110). Then, the process ends.

次にサーバ2の動作について説明する。はじめにサーバ2のサーバ通信部21は、図18のステップS110において送信された書面画像を受信する(ステップS200)。   Next, the operation of the server 2 will be described. First, the server communication unit 21 of the server 2 receives the document image transmitted in step S110 of FIG. 18 (step S200).

続いてサーバ制御部23は、受信した書面画像を登録する(ステップS210)。具体的にはサーバ制御部23は、受信した書面画像をサーバ記憶部22に記憶する。このときサーバ制御部23は、書面画像の各識別コードの情報と対応付けて、サーバ記憶部22に記憶する。   Subsequently, the server control unit 23 registers the received document image (step S210). Specifically, the server control unit 23 stores the received document image in the server storage unit 22. At this time, the server control unit 23 stores the information in the server storage unit 22 in association with the information of each identification code of the document image.

続いてサーバ制御部23は、サーバ通信部21により、書面画像の送信元である学習者に書面画像が到着したことを表すメッセージを送信する(ステップS220)。当該メッセージは、画像処理端末1の学習アプリケーション上で表示される。   Subsequently, the server control unit 23 transmits a message indicating that the document image has arrived to the learner who is the transmission source of the document image by the server communication unit 21 (step S220). The message is displayed on the learning application of the image processing terminal 1.

続いてサーバ制御部23は、受信した書面画像を添削する添削者を決定する(ステップS230)。添削者は、書面毎に予め登録しておく。サーバ記憶部22は、識別コードと添削者情報を対応付けて記憶する。サーバ制御部23は、受信した書面画像に含まれる識別コードに基づき、添削者を決定する。   Subsequently, the server control unit 23 determines a corrector who corrects the received document image (step S230). The corrector registers in advance for each document. The server storage unit 22 stores the identification code and the corrector information in association with each other. The server control unit 23 determines the corrector based on the identification code included in the received document image.

続いてサーバ制御部23は、ステップS230で決定した添削者の添削者端末3に、サーバ通信部21により書面画像を送信する(ステップS240)。そして処理を終了する。   Subsequently, the server control unit 23 transmits a document image by the server communication unit 21 to the corrector terminal 3 of the corrector determined in step S230 (step S240). Then, the process ends.

このように本発明の一実施形態に係る画像処理システム10によれば、画像処理端末1が書面画像の判読性が所定条件を満たすか否かを判定するため、書面画像の判読性の低下を抑制することができる。また、各学習者の画像処理端末1がそれぞれ書面画像の判読性を判定するため、サーバ2での処理負荷を低減することができる。さらにサーバ2への送信前に判読性の判定を行うことにより、サーバ2に集積される書面画像の品質が確保され、各学習者の再送信の手間を省くことができる。また、再送信の必要性が無くなるため、通信リソースの消費を低減することができる。   As described above, according to the image processing system 10 according to the embodiment of the present invention, since the image processing terminal 1 determines whether the readability of the written image satisfies the predetermined condition, the readability of the written image is reduced. Can be suppressed. Further, since each learner's image processing terminal 1 determines the legibility of the written image, the processing load on the server 2 can be reduced. Further, by determining the legibility before transmission to the server 2, the quality of the written image accumulated in the server 2 is ensured, and it is possible to save the trouble of each learner's retransmission. Also, since there is no need for retransmission, communication resource consumption can be reduced.

また本発明の一実施形態に係る画像処理システム10によれば、受信した書面画像に係る識別コードに基づき添削者を決定し、添削者端末3に自動的に書面画像を送信する。そのため、学習者が送信した提出物(書面画像)を、直ちに添削者に配賦して届けることが可能であり、添削者に届くまでの時間を大幅に短縮できる。   Further, according to the image processing system 10 according to the embodiment of the present invention, the corrector is determined based on the received identification code related to the written image, and the written image is automatically transmitted to the corrector terminal 3. Therefore, the submission (document image) transmitted by the learner can be immediately distributed and delivered to the corrector, and the time until it reaches the corrector can be greatly shortened.

なお、本実施の形態では、専用ケース4を撮影台として用いて所定距離離れた位置に配置された書面を撮影部15により撮影するようにしたがこれに限られない。撮影台を用いずに、画像処理端末1を書面から所定距離離し、撮影部15により撮影するようにしてもよい。   In the present embodiment, the dedicated case 4 is used as a photographing stand and a document arranged at a predetermined distance is photographed by the photographing unit 15, but the present invention is not limited to this. Instead of using the photographing stand, the image processing terminal 1 may be separated from the document by a predetermined distance and photographed by the photographing unit 15.

なお、図18のステップS80において、撮影した書面画像が表面であるか否かを判定する処理を行うとし、撮影した書面画像が表面でない場合(裏面である場合)、ステップS100に進むとしたが、これに限られない。撮影した書面画像が表面でない場合(裏面である場合)、ステップS100に進む前に、端末記憶部12に、書面画像の表面が記憶されているか否かを判定してもよい。そして書面画像の表面が記憶されている場合に、ステップS100に進むようにしてもよい。一方、書面画像の表面が記憶されていない場合、エラーメッセージを表示するようにしてもよい。エラーメッセージは例えば「表面が撮影されていません。もう一度最初から撮影を行なって下さい」等である。そしてステップS20に戻るようにする。このようにすることで、書面画像の裏面しか撮像しないで送信処理を進めてしまうことを防止することができる。   In step S80 of FIG. 18, it is assumed that processing is performed to determine whether or not the photographed document image is the front side. If the photographed document image is not the front side (in the case of the back side), the process proceeds to step S100. Not limited to this. When the photographed document image is not the front surface (when it is the back surface), it may be determined whether or not the front surface of the document image is stored in the terminal storage unit 12 before proceeding to step S100. If the surface of the written image is stored, the process may proceed to step S100. On the other hand, when the surface of the written image is not stored, an error message may be displayed. The error message is, for example, “The surface has not been photographed. Please photograph again from the beginning”. Then, the process returns to step S20. In this way, it is possible to prevent the transmission process from proceeding without capturing only the back surface of the document image.

なお、本実施の形態では、書面画像の輝度に係る条件(条件2)について、図17に示す13箇所の検出点61及び検出点62の輝度のうち、一部の検出点を除外して判定したが、判定方法はこれに限られない。例えば13箇所の検出点全ての輝度に基づいて判読性を判定してもよい。また除外する検出点をより多く又は少なくしてもよい。また例えば書面画像の少なくとも1点の検出点の輝度に基づき判定してもよい。また、検出点61及び検出点62の位置及び個数はこれに限られない。例えば書面画像の中央部分に検出点を設けてもよい。また、検出点の個数を少なくしてもよく、また多くしてもよい。また本実施の形態では、各検出点の輝度に基づき判定したがこれに限られず、一部又は全部の検出点の輝度に係る平均値、分散等の統計値を用いて、輝度に係る条件を判定してもよい。   In the present embodiment, the condition (condition 2) relating to the brightness of the document image is determined by excluding some detection points from the brightness of the 13 detection points 61 and 62 shown in FIG. However, the determination method is not limited to this. For example, the legibility may be determined based on the luminance of all 13 detection points. Further, more or less detection points may be excluded. Further, for example, the determination may be made based on the luminance of at least one detection point of the document image. Further, the positions and the number of detection points 61 and 62 are not limited to this. For example, a detection point may be provided at the center of the document image. Further, the number of detection points may be reduced or increased. In the present embodiment, the determination is made based on the luminance of each detection point. However, the present invention is not limited to this, and the condition relating to the luminance is determined using statistical values such as the average value and the variance of the luminance of some or all of the detection points. You may judge.

なお、本実施の形態では、識別コードの読み取り可能条件(条件3)について、書面の両面の識別コード(第一識別コード及び第二識別コード)の両方ともが読み取り可能であるかを判定したがこれに限られない。例えば第一識別コード及び第二識別コードの少なくとも一方のみについて読み取り可能であるか否かを判定するようにしてもよい。また、書面の両面に識別コードが印刷されているとしたがこれに限られず、表面又は裏面のいずれか一方のみに識別コードが印刷されていてもよい。例えば表面のみに識別コードが印刷されている場合、表面の識別コードのみについて読み取り可能であるかを判定するようにする。一方、裏面については、識別コードの読み取り処理(ステップS60)をスキップする。   In the present embodiment, it is determined whether both of the identification codes (first identification code and second identification code) on both sides of the document can be read as the identification code readable condition (condition 3). It is not limited to this. For example, it may be determined whether at least one of the first identification code and the second identification code can be read. In addition, although the identification code is printed on both sides of the document, the present invention is not limited to this, and the identification code may be printed only on either the front surface or the back surface. For example, when an identification code is printed only on the surface, it is determined whether only the identification code on the surface can be read. On the other hand, for the back surface, the identification code reading process (step S60) is skipped.

なお、本実施の形態では、上記条件1〜条件3の全てを満たす場合に、判読性が所定条件を満たすとしたがこれに限られない。例えば上記条件1〜条件3の少なくとも1つに基づき、判読性が所定条件を満たすとしてもよい。また、条件1〜3条件の他に条件を追加してもよい。   In the present embodiment, the readability satisfies the predetermined condition when all of the above conditions 1 to 3 are satisfied. However, the present invention is not limited to this. For example, the legibility may satisfy a predetermined condition based on at least one of the above conditions 1 to 3. In addition to the conditions 1 to 3, conditions may be added.

なお、画像処理端末1が、所定条件に係る定義ファイルをダウンロードして書き換え可能にしてもよい。またこれにより条件1〜3を書き換えてもよく、また条件を削除又は追加するようにしてもよい。定義ファイルは、例えばネットワークNを介して所定の配信サーバから取得可能である。端末制御部16は、定義ファイルを端末通信部11により受信し、端末記憶部12により記憶する。サーバ2は蓄積された書面画像から機械学習することにより最適な定義ファイルを作成してもよく、各画像処理端末1に当該定義ファイルをダウンロードさせるようにしてもよい。機械学習は、Support Vector Machine(SVM)、Deep Neural Network(DNN)、Convolutional Neural Network(CNN)等を適宜用いることができる。   Note that the image processing terminal 1 may download a definition file related to a predetermined condition and make it rewritable. Moreover, conditions 1-3 may be rewritten by this, and you may make it delete or add conditions. The definition file can be acquired from a predetermined distribution server via the network N, for example. The terminal control unit 16 receives the definition file by the terminal communication unit 11 and stores it by the terminal storage unit 12. The server 2 may create an optimum definition file by machine learning from the stored document image, or may cause each image processing terminal 1 to download the definition file. For machine learning, Support Vector Machine (SVM), Deep Neural Network (DNN), Convolutional Neural Network (CNN), or the like can be used as appropriate.

なお、本実施の形態では書面の両面(表面及び裏面)を撮影するとしたがこれに限られない。書面の片面(表面)のみを撮像するようにしてもよい。この場合、図18におけるステップS70に続いてステップS100に進み、書面画像をサーバ2に送信する。   In the present embodiment, it is assumed that both sides (front side and back side) of the document are photographed, but this is not limitative. Only one side (front surface) of the document may be imaged. In this case, the process proceeds to step S100 following step S70 in FIG. 18, and the document image is transmitted to the server 2.

なお本実施の形態では、サーバ2は、受信した書面画像を添削者端末3に送信するとしたがこれに限られない。サーバ2は、受信した書面画像を画像補正し、補正した書面画像を添削者端末3に送信するようにしてもよい。図20は、画像補正の一例を示す図である。図20に示す画像補正では、まずグリッド63により書面画像50を9個の領域に分割する。そして領域毎に輝度を判定し、輝度が所定値以下の領域のみ、画像補正により輝度を上昇させるようにする。このようにすることで、書面画像の判読性を向上させることができる。なお画像補正は輝度に限らない。他にも、コントラスト、色調レベル、書面画像の角度等を補正してもよく、また台形補正を施してもよい。   In the present embodiment, the server 2 transmits the received document image to the corrector terminal 3. However, the present invention is not limited to this. The server 2 may perform image correction on the received document image and transmit the corrected document image to the corrector terminal 3. FIG. 20 is a diagram illustrating an example of image correction. In the image correction shown in FIG. 20, first, the written image 50 is divided into nine regions by the grid 63. Then, the luminance is determined for each region, and only the region where the luminance is a predetermined value or less is increased by image correction. By doing so, it is possible to improve the legibility of the written image. Note that image correction is not limited to luminance. In addition, the contrast, the color tone level, the angle of the written image, and the like may be corrected, or a trapezoidal correction may be performed.

例えばコントラストを補正する場合、書面画像をRGBの各色に分割し、各色のコントラストをそれぞれ個別に補正してもよい。このようにすることで、書面画像を見やすい画像に変換することができる。同様に書面画像の明るさを補正することにより、書面画像を見やすい画像に変換してもよい。   For example, when correcting the contrast, the document image may be divided into RGB colors, and the contrast of each color may be individually corrected. In this way, it is possible to convert the document image into an image that is easy to see. Similarly, the document image may be converted into an image that is easy to see by correcting the brightness of the document image.

また、書面画像がグレー画像である場合、当該画像を2値化するようにしてもよい。2値化は、単純2値化(単一の閾値により2値化する手法)であってもよく、あるいは別の手法(周辺輝度を参照しながら1画素単位で2値化閾値を変化させる手法)により行なう。後者の手法では、ある画素(以下、注目画素という。)の2値化閾値を、注目画素を中心とした所定範囲(以下、参照範囲という。)の輝度に基づき設定する。例えば参照範囲の平均輝度に基づき2値化閾値を設定する。このようにすることで、周囲と比較して暗い画素、又は周囲と比較して明るい画素を適切に検知することができる。好適には参照範囲は、注目画素を中心とする正方形の範囲である。参照範囲の大きさは適宜設定可能である。   Further, when the document image is a gray image, the image may be binarized. The binarization may be simple binarization (a method of binarizing with a single threshold) or another method (a method of changing the binarization threshold in units of pixels while referring to the peripheral luminance). ). In the latter method, a binarization threshold value of a certain pixel (hereinafter referred to as a target pixel) is set based on the luminance of a predetermined range (hereinafter referred to as a reference range) centered on the target pixel. For example, a binarization threshold is set based on the average luminance of the reference range. By doing so, it is possible to appropriately detect pixels that are darker than the surroundings or pixels that are brighter than the surroundings. Preferably, the reference range is a square range centered on the target pixel. The size of the reference range can be set as appropriate.

また、書面画像の角度を補正する場合、識別コード51の回転している角度を利用し、当該角度を打ち消すように補正するようにしてもよい。このようにすることで書面画像の回転角を容易に補正することができる。   Further, when correcting the angle of the document image, the rotation angle of the identification code 51 may be used to correct the angle so as to cancel it. In this way, the rotation angle of the written image can be easily corrected.

なお、サーバ2は、所定の領域の輝度を上昇させるようにしてもよい。例えば図20のグリッド63のうち、領域63a及び領域63bは、添削者が添削コメント等を記載する領域(以下、添削領域という。)に相当する。添削領域に記入される添削コメントの判読性を高めるために、輝度を上げるようにしてもよい。なお添削領域はグリッド63の領域63a及び63bに限られず、書面画像の任意の領域であってよい。また添削領域は、書面毎に異なってもよい。この場合サーバ2は、書面画像の識別コードに基づき、書面毎に予め定められた添削領域に基づき、添削領域を決定して当該領域の輝度を上げるようにする。   Note that the server 2 may increase the luminance of the predetermined area. For example, in the grid 63 of FIG. 20, the region 63a and the region 63b correspond to regions in which the corrector writes correction comments or the like (hereinafter referred to as correction regions). In order to improve the legibility of the correction comment entered in the correction area, the luminance may be increased. The correction area is not limited to the areas 63a and 63b of the grid 63, and may be an arbitrary area of the written image. The correction area may be different for each document. In this case, the server 2 determines the correction area based on the correction area predetermined for each document based on the identification code of the document image, and increases the brightness of the area.

なお画像補正をサーバ2にて行うとしたがこれに限られず、画像処理端末1が、サーバ2に送信前の書面画像に対して上記の画像処理を行うようにしてもよい。   Although the image correction is performed by the server 2, the present invention is not limited to this, and the image processing terminal 1 may perform the above-described image processing on the document image before being transmitted to the server 2.

なお、本実施の形態ではサーバ2は、受信した書面画像に含まれる識別コードに基づき、添削者を決定するとしたがこれに限られない。サーバ2は、識別コードに加えて、学習者IDに基づき添削者を決定するようにしてもよい。また、学習者IDのみに基づき添削者を決定するようにしてもよい。   In the present embodiment, the server 2 determines the corrector based on the identification code included in the received document image, but is not limited thereto. The server 2 may determine the corrector based on the learner ID in addition to the identification code. Further, the corrector may be determined based only on the learner ID.

本発明を諸図面や実施例に基づき説明してきたが、当業者であれば本開示に基づき種々の変形や修正を行うことが容易であることに注意されたい。従って、これらの変形や修正は本発明の範囲に含まれることに留意されたい。例えば、各手段、各ステップ等に含まれる機能等は論理的に矛盾しないように再配置可能であり、複数の手段やステップ等を1つに組み合わせたり、或いは分割したりすることが可能である。   Although the present invention has been described based on the drawings and examples, it should be noted that those skilled in the art can easily make various modifications and corrections based on the present disclosure. Therefore, it should be noted that these variations and modifications are included in the scope of the present invention. For example, the functions included in each means, each step, etc. can be rearranged so that there is no logical contradiction, and a plurality of means, steps, etc. can be combined or divided into one. .

10 画像処理システム
1 画像処理端末(学習者端末)
11 端末通信部
12 端末記憶部
13 表示部
14 入力部
15 撮影部
16 端末制御部
17 バス
2 サーバ
21 サーバ通信部
22 サーバ記憶部
23 サーバ制御部
24 バス
3 添削者端末
31 端末通信部
32 端末記憶部
33 表示部
34 入力部
35 端末制御部
36 バス
4 専用ケース
41 表蓋
42 裏蓋
43 書面配置台
431切り込み部
44 端末保持台
441 天板部
442 天板支持部
443 係合部
444 係合部
LEDスイッチ445
45 LED
5 書面
50 書面画像
51 識別コード
52 所定の領域
53 走査線
54 検出エッジ
55 辺
56 四隅の位置
61 検出点
62 検出点
131 第一矩形枠
132 第二矩形枠
141 シャッターボタン
142 ホームボタン
63 グリッド
10 Image processing system 1 Image processing terminal (learner terminal)
DESCRIPTION OF SYMBOLS 11 Terminal communication part 12 Terminal memory | storage part 13 Display part 14 Input part 15 Image | photographing part 16 Terminal control part 17 Bus 2 Server 21 Server communication part 22 Server storage part 23 Server control part 24 Bus 3 Corrector terminal 31 Terminal communication part 32 Terminal storage Unit 33 Display unit 34 Input unit 35 Terminal control unit 36 Bus 4 Dedicated case 41 Front cover 42 Back cover 43 Document placement table 431 Notch unit 44 Terminal holding table 441 Top plate unit 442 Top plate support unit 443 Engagement unit 444 Engagement unit LED switch 445
45 LED
5 Document 50 Document Image 51 Identification Code 52 Predetermined Area 53 Scan Line 54 Detection Edge 55 Side 56 Four Corner Positions 61 Detection Point 62 Detection Point 131 First Rectangular Frame 132 Second Rectangular Frame 141 Shutter Button 142 Home Button 63 Grid

Claims (14)

ネットワークにより接続された画像処理端末とサーバとを備える画像処理システムであって、
前記画像処理端末は、
書面を撮影して書面画像を生成する撮影部と、
前記書面画像の判読性が所定条件を満たすか否か判定する制御部と、
前記判読性が前記所定条件を満たす場合、前記サーバに前記書面画像を送信する端末通信部と、
前記判読性が前記所定条件を満たさない場合、エラーメッセージを表示する表示部と、
を備え、
前記サーバは、
前記画像処理端末から前記書面画像を受信するサーバ通信部と、
前記書面画像を記憶する記憶部と、
を備える、画像処理システム。
An image processing system comprising an image processing terminal and a server connected by a network,
The image processing terminal
A photographing unit for photographing a document and generating a document image;
A control unit for determining whether the readability of the written image satisfies a predetermined condition;
When the readability satisfies the predetermined condition, a terminal communication unit that transmits the document image to the server;
If the legibility does not satisfy the predetermined condition, a display unit that displays an error message;
With
The server
A server communication unit for receiving the document image from the image processing terminal;
A storage unit for storing the written image;
An image processing system comprising:
前記撮影部は、撮影台により所定距離離れた位置に配置された前記書面を撮影することを特徴とする、請求項1に記載の画像処理システム。   The image processing system according to claim 1, wherein the photographing unit photographs the document arranged at a predetermined distance from a photographing stand. 前記所定条件は、前記書面画像が四辺を有するという条件を含む、請求項1又は2に記載の画像処理システム。   The image processing system according to claim 1, wherein the predetermined condition includes a condition that the document image has four sides. 前記所定条件は、前記書面画像の少なくとも一部の輝度が所定範囲内であるという条件を含む、請求項1乃至3のいずれか一項に記載の画像処理システム。   4. The image processing system according to claim 1, wherein the predetermined condition includes a condition that brightness of at least a part of the document image is within a predetermined range. 5. 前記書面は識別コードを含み、
前記所定条件は、前記識別コードが読み取り可能であるという条件を含む、請求項1乃至4のいずれか一項に記載の画像処理システム。
The document includes an identification code;
The image processing system according to claim 1, wherein the predetermined condition includes a condition that the identification code can be read.
前記識別コードは第一識別コード及び第二識別コードにより構成され、
前記書面の表面に第一識別コードが印刷されており、前記表面の裏面に第二識別コードが印刷されており、
前記所定条件は、前記書面画像の前記第一識別コード及び前記第二識別コードのいずれもが読み取り可能であるという条件を含む、請求項5に記載の画像処理システム。
The identification code is composed of a first identification code and a second identification code,
A first identification code is printed on the front surface of the document, and a second identification code is printed on the back surface of the front surface,
The image processing system according to claim 5, wherein the predetermined condition includes a condition that both the first identification code and the second identification code of the document image are readable.
前記表示部は、前記撮影部により撮影する際に撮影範囲を示すガイド枠を表示し、
前記ガイド枠は、前記書面を撮影する範囲を示す第一矩形枠と、前記識別コードを撮影する範囲を示す第二矩形枠とを含む、請求項5又は6に記載の画像処理システム。
The display unit displays a guide frame indicating a shooting range when shooting by the shooting unit,
The image processing system according to claim 5, wherein the guide frame includes a first rectangular frame indicating a range in which the document is captured and a second rectangular frame indicating a range in which the identification code is captured.
前記サーバは、前記書面画像を補正するサーバ制御部を備え、前記サーバ制御部により補正した前記書面画像を前記記憶部に記憶する、請求項1乃至請求項7のいずれか一項に記載の画像処理システム。   The image according to any one of claims 1 to 7, wherein the server includes a server control unit that corrects the document image, and stores the document image corrected by the server control unit in the storage unit. Processing system. 前記サーバは、前記書面画像の前記識別コードに基づき、所定の添削者端末に前記書面画像を送信する、請求項5乃至7のいずれか一項に記載の画像処理システム。   The image processing system according to claim 5, wherein the server transmits the document image to a predetermined corrector terminal based on the identification code of the document image. ネットワークにより接続された画像処理端末とサーバとを備える画像処理システムにおける画像処理方法であって、
前記画像処理端末が、
書面を撮影して書面画像を生成する撮影するステップと、
前記書面画像の判読性が所定条件を満たすか否か判定するステップと、
前記判読性が前記所定条件を満たす場合、前記サーバに前記書面画像を送信するステップと、
前記判読性が前記所定条件を満たさない場合、エラーメッセージを表示するステップと、
前記サーバが、
前記画像処理端末から前記書面画像を受信するステップと、
前記書面画像を記憶するステップと、
を含む、画像処理方法。
An image processing method in an image processing system comprising an image processing terminal and a server connected by a network,
The image processing terminal is
Shooting a document to generate a document image;
Determining whether the readability of the written image satisfies a predetermined condition;
If the legibility meets the predetermined condition, sending the written image to the server;
When the legibility does not satisfy the predetermined condition, displaying an error message;
The server is
Receiving the document image from the image processing terminal;
Storing the written image;
Including an image processing method.
書面を撮影して書面画像を生成する撮影部と、
前記書面画像の判読性が所定条件を満たすか否か判定する制御部と、
前記判読性が前記所定条件を満たす場合、サーバに前記書面画像を送信する通信部と、
前記判読性が前記所定条件を満たさない場合、エラーメッセージを表示する表示部と、
を備える、画像処理端末。
A photographing unit for photographing a document and generating a document image;
A control unit for determining whether the readability of the written image satisfies a predetermined condition;
When the legibility satisfies the predetermined condition, a communication unit that transmits the document image to a server;
If the legibility does not satisfy the predetermined condition, a display unit that displays an error message;
An image processing terminal comprising:
前記撮影部は、撮影台により所定距離離れた位置に配置された前記書面を撮影することを特徴とする、請求項11に記載の画像処理端末。   The image processing terminal according to claim 11, wherein the photographing unit photographs the document arranged at a predetermined distance from a photographing stand. 前記所定条件は、前記書面画像が四辺を有するという条件を含む、請求項11又は12に記載の画像処理端末。   The image processing terminal according to claim 11 or 12, wherein the predetermined condition includes a condition that the document image has four sides. 前記所定条件は、前記書面画像の少なくとも一部の輝度が所定範囲内であるという条件を含む、請求項11乃至13のいずれか一項に記載の画像処理端末。   The image processing terminal according to any one of claims 11 to 13, wherein the predetermined condition includes a condition that a luminance of at least a part of the document image is within a predetermined range.
JP2016133452A 2016-07-05 2016-07-05 Image processing system, image processing method, and image processing terminal Active JP6220931B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016133452A JP6220931B1 (en) 2016-07-05 2016-07-05 Image processing system, image processing method, and image processing terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016133452A JP6220931B1 (en) 2016-07-05 2016-07-05 Image processing system, image processing method, and image processing terminal

Publications (2)

Publication Number Publication Date
JP6220931B1 JP6220931B1 (en) 2017-10-25
JP2018007106A true JP2018007106A (en) 2018-01-11

Family

ID=60156884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016133452A Active JP6220931B1 (en) 2016-07-05 2016-07-05 Image processing system, image processing method, and image processing terminal

Country Status (1)

Country Link
JP (1) JP6220931B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020030646A (en) * 2018-08-23 2020-02-27 カシオ計算機株式会社 Portable terminal device, information recording method, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005308966A (en) * 2004-04-20 2005-11-04 Konica Minolta Photo Imaging Inc Photographing device
JP5007564B2 (en) * 2006-12-28 2012-08-22 株式会社ニコン Image transfer system
JP6075850B2 (en) * 2012-12-17 2017-02-08 Kddi株式会社 Information terminal device, program, and recognition system
JP5808456B1 (en) * 2014-05-01 2015-11-10 株式会社Pfu Imaging system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020030646A (en) * 2018-08-23 2020-02-27 カシオ計算機株式会社 Portable terminal device, information recording method, and program

Also Published As

Publication number Publication date
JP6220931B1 (en) 2017-10-25

Similar Documents

Publication Publication Date Title
JP5327468B2 (en) Projector, program, information storage medium, and trapezoidal distortion correction method
US20180367732A1 (en) Visual cues for managing image capture
US7764307B2 (en) Remote instruction system, computer readable medium for remote instruction system and method
US9906762B2 (en) Communication apparatus, method of controlling communication apparatus, non-transitory computer-readable storage medium
JP5257618B2 (en) Projector, program, information storage medium, and exposure adjustment method
US9122123B2 (en) Projector having focus adjusting section for adjusting projection based on projection distance information, computer program product, and image projecting method
US20120212408A1 (en) Image generation device, projector, and image generation method
KR20090090682A (en) Image distortion compensation apparatus and method
JP5598033B2 (en) Information processing apparatus, information processing method, and program
JP2020178248A (en) Projection control device, projection control method, projection system, program, and storage medium
JP2008187362A (en) Projector and projected image adjustment method
JP6220931B1 (en) Image processing system, image processing method, and image processing terminal
US20210281742A1 (en) Document detections from video images
JP2012205089A (en) Information processing device, information processing method, and information processing program
JP5482925B2 (en) Image capturing apparatus and program
US20160224854A1 (en) Information processing apparatus, information processing method, and storage medium
JP2015149603A (en) Image display system, image display device, and image display method
US10893205B2 (en) Image display method and image display device using the same
US10944884B2 (en) Imaging device and non-transitory computer readable medium storing program
CN117082219A (en) Information processing apparatus, projection method, and non-transitory computer readable medium
JP4692321B2 (en) Imaging device
US20200174555A1 (en) Display device, display method, and display system
JP6626792B2 (en) Terminal and processing execution method
JP2006345462A (en) Communication apparatus, communication control method, communication control program, and recording medium
JP2017003732A (en) Image projection device, image projection system, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170728

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170815

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170821

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: 20170905

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171002

R150 Certificate of patent or registration of utility model

Ref document number: 6220931

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250