WO2002080087A1 - Two-dimensional code, method for converting two-dimensional code into speech, method for converting text document into speech, braille data creation apparatus - Google Patents

Two-dimensional code, method for converting two-dimensional code into speech, method for converting text document into speech, braille data creation apparatus Download PDF

Info

Publication number
WO2002080087A1
WO2002080087A1 PCT/JP2002/003207 JP0203207W WO02080087A1 WO 2002080087 A1 WO2002080087 A1 WO 2002080087A1 JP 0203207 W JP0203207 W JP 0203207W WO 02080087 A1 WO02080087 A1 WO 02080087A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
dimensional code
braille
sound quality
text
Prior art date
Application number
PCT/JP2002/003207
Other languages
French (fr)
Japanese (ja)
Other versions
WO2002080087A8 (en
Inventor
Naoyuki Okochi
Takuo Obata
Kouzo Kuroiwa
Tsutomu Fujita
Satoshi Mizoguchi
Original Assignee
Kosaido Co., Ltd.
Original Design 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
Priority claimed from JP2001096634A external-priority patent/JP2002297020A/en
Priority claimed from JP2001096826A external-priority patent/JP2002297170A/en
Priority claimed from JP2001100189A external-priority patent/JP3499220B2/en
Priority claimed from JP2001101126A external-priority patent/JP4439756B2/en
Priority claimed from JP2001268078A external-priority patent/JP4744745B2/en
Application filed by Kosaido Co., Ltd., Original Design Inc. filed Critical Kosaido Co., Ltd.
Priority to AU2002244953A priority Critical patent/AU2002244953A1/en
Publication of WO2002080087A1 publication Critical patent/WO2002080087A1/en
Publication of WO2002080087A8 publication Critical patent/WO2002080087A8/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B21/00Teaching, or communicating with, the blind, deaf or mute
    • G09B21/001Teaching or communicating with blind persons
    • G09B21/003Teaching or communicating with blind persons using tactile presentation of the information, e.g. Braille displays
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding

Definitions

  • Two-dimensional code Two-dimensional code reading method, two-dimensional code speech device, two-dimensional code speech method, two-dimensional code encoder, two-dimensional code encoding method, text document speech method, braille data creation device , Braille data creation method, program, and computer-readable recording medium
  • the present invention relates to a two-dimensional code, a two-dimensional code reading method, a two-dimensional code sounding device, a two-dimensional code sounding method, a two-dimensional code encoder, a two-dimensional code encoding method, a text document sounding method, and a sentence.
  • the present invention relates to an apparatus, a method, a program, and a recording medium readable from a computer for performing a transliteration.
  • the present invention relates to a two-dimensional code capable of improving data density, a method of reading the two-dimensional code, and processing of information encoded in a two-dimensional dot matrix type two-dimensional code to process data in various forms including audio output.
  • 2D code speech output device 2D code speech conversion method, 2D code encoder, 2D code encoding method, Text document displayed on the screen of the combi- A text document voice method for voice conversion using sound quality elements, a Braille data generation device that generates Braille data from an intermediate language for voice generated by text-to-speech synthesis processing, a Braille data generation method, and these methods
  • the present invention relates to a program to be executed and a recording medium which can be read overnight.
  • two-dimensional codes can encode multiple types of characters and have an error correction function, they have been used in fields such as distribution and product management, and various forms of two-dimensional codes have been developed. .
  • a symbol information device for example, as described in Japanese Patent Application Laid-Open No. Hei 7-214939, storage information is recorded in a host device in advance and recorded in a one-dimensional code.
  • Mobile terminal devices for transmitting data have been known.
  • a text document is converted into a two-dimensional code and printed, and the two-dimensional code symbol is decoded by a reading device and output from a voice synthesizing device.
  • a reading device and output from a voice synthesizing device.
  • voice synthesizing device Many attempts have been made to do so.
  • text-to-speech software products on the market. In these softwares, the sound quality elements of the entire document are set first, and the sound quality elements are fixed from the beginning to the end of the text document. It was voiced.
  • a text-to-speech synthesizer for example, as described in Japanese Patent Application Laid-Open No. H11-3338673, Japanese-language analysis processing is performed on sentences mixed with kanji and kana, and speech synthesis parameters are obtained. In some cases, it was converted to an intermediate language with an overnight message and output as speech synthesis. That is, in the conventional text-to-speech synthesizing apparatus, the intermediate language is used only for outputting speech data.
  • a first object of the present invention is to provide a large-capacity and small-sized two-dimensional code which can be printed by a general-purpose laser printer and secure sufficient positioning accuracy, a reading method thereof, a program, and a computer-readable recording medium. It is in.
  • a second object of the present invention is to provide a two-dimensional code speech device that can read a dot matrix type two-dimensional code, process the read code information, and output data in a form usable from any of visual, auditory, and tactile senses
  • Another object of the present invention is to provide a two-dimensional code speech conversion method, a program, and a computer-readable recording medium.
  • a third object of the present invention is to provide a two-dimensional code encoder, a two-dimensional code speech conversion device, a two-dimensional code encoding method, and a two-dimensional code encoding device, which enable a plurality of sentences in a text document to be vocalized by a plurality of different sound quality elements. It is an object of the present invention to provide a two-dimensional code conversion method, a text document conversion method, a program, and a recording medium readable by a computer.
  • a fourth object of the present invention is to provide a braille data generating apparatus and a braille data generating apparatus that perform braille translation along an actual spoken language from an intermediate language analyzed for text-to-speech conversion and synthesis without causing the problems described above.
  • An object of the present invention is to provide a method, a program, and a computer-readable recording medium.
  • a two-dimensional code comprising: a pattern that provides positioning information; and a pattern in which the adjacent first and second sides are close to the first data area; A substantially rectangular solid line in which the third side and the fourth side respectively opposed to the first side and the second side are separated from the first overnight area; A first projection and a second projection each arranged at a predetermined bit so as to extend outward from the second side, and the data area from the third side and the fourth side.
  • the fifth side and the sixth side, and the fourth side is extended from a second end point that is an end point of the first side different from the first end point.
  • the arranged seventh protrusion and an eighth protrusion arranged so as to extend the third side from a third end point which is an end point of the second side different from the first end point.
  • a two-dimensional code is provided, comprising: a protrusion; and a fourth end point, which is an intersection of the third side and the fourth side, wherein no protrusion is arranged.
  • the two-dimensional code since the above-described pattern for providing the data density and the positioning information is provided, even if the occupation area of the data area is increased by increasing the number of the binary data, The cells can be positioned in one pattern. As a result, the area occupied by the entire two-dimensional code can be made much smaller than a simple multiple of the amount of information stored in the data area. As a result, a two-dimensional code that stores a large amount of information at a high density is provided.
  • the first to eighth projections function as a headline for acquiring the data density and the positioning information in the read image. That is, the fifth and sixth protrusions are arranged at the first end point, and the seventh and eighth protrusions are arranged at the second and third end points, respectively. Since no projection is provided at the fourth end point, the fourth end point can be selected as a reference point for specifying the position coordinates of the cell in the read image. In addition, since the first to fourth protrusions are arranged on the rectangular solid line at predetermined pitches respectively, by calculating the number of these protrusions, the binary symbol encoded in the data area is calculated. The quantity of data can be calculated. This makes it possible to acquire information on the data density in the data area. Further, by providing straight lines connecting the projections in the read image, it is possible to specify the position coordinates of the cell based on the coordinates of the intersection of these straight lines.
  • the line widths of the first to fourth sides and the widths of the first to eighth protrusions are set in accordance with the size of the cell.
  • the first protrusion has a first length from the first end point toward the second end point.
  • N (where N is a natural number) are arranged at a pitch of a second length from the first end point to the third end point at a pitch of a second length from the first end point to the third end point.
  • the N third protrusions are arranged at a pitch of the first length from the third end point toward the fourth end point, and the fourth protrusion is It is preferable that the M pieces are arranged at a pitch of the second length from the second end point to the fourth end point.
  • the data capacity of the data area can be easily calculated by recognizing the first to fourth protrusions and specifying the specific quantities of N and M.
  • the data area is provided so as to surround the data area, and has a substantially rectangular pattern provided with a plurality of protrusions for providing the data density and the positioning information of the data area. Regardless of the amount of data stored in the area, each cell can be positioned in a single pattern. This provides a two-dimensional code that stores a large amount of information and has high reading accuracy.
  • the part is a square small area in which the N cells (N is a natural number) are arranged adjacent to each other in the first and second directions orthogonal to each other.
  • (L is a natural number) and M (M is a natural number) are arranged adjacent to each other in the above two directions, and the shape of the periphery of the data part is the first side in the second direction. And a second side orthogonal to the first side and orthogonal to each other And a third and fourth side respectively opposed to the first and second sides, and the first figure is arranged close to the data section along the first side.
  • (M + 1) first lines spaced apart from each other at a pitch corresponding to the size of the small area starting from the vicinity of the intersection of the first side and the second side
  • (M + 1) second line segments provided so as to protrude from the center of the first line segment toward the outside of the data section in the first direction.
  • the (L + 1) third line segments arranged, and the third line segments are provided so as to protrude from the center of the second line segments in the second direction toward the outside of the data portion.
  • the (L + 1) fourth line segments and a line connecting the vertices of the fourth line segment are separated from each other along the line parallel to the third side in the data section.
  • (L + 1) 7th line segments and corresponding 4th line segments are respectively arranged on the extension lines, and from the approximate center of the 7th line segment to the data section
  • An eighth line segment provided so as to protrude, and the second figure has the (M + 1) -th fifth line segment at both ends thereof.
  • a two-dimensional code is provided, wherein a vertex and a vertex of the eighth line segment are spaced apart from the data portion so as to be spaced apart from the third side and the fourth side, respectively. .
  • the method for reading a two-dimensional code comprising: a procedure for acquiring an image of the two-dimensional code; A step of cutting out a rectangular area surrounding the pattern so as to be in contact with the end point and to include at least a part of the seventh protrusion and at least a part of the eighth protrusion; The end points, the seventh projecting portion, the eighth projecting portion, and the respective contacts of the periphery of the rectangular area are specified as a first contact, a second contact, and a third contact, respectively.
  • the position coordinates of each cell in the read image are specified based on the plurality of protrusions, so that the symbolized binary data can be restored with high accuracy.
  • the capacity of the binary data in the data area is calculated based on the recognized number of the first to fourth protrusions, the data density of the data area can be easily and quickly obtained. Can be.
  • the method for reading a two-dimensional code according to the second aspect of the present invention described above comprising: a step of acquiring an image of the two-dimensional code; and a step in which the periphery of the second graphic is acquired in the acquired image.
  • a rectangle surrounding the pattern so as to be in contact with the corner portion and to include at least a part of the first fifth line segment and at least a part of the first seventh line segment.
  • the first contact point, the second contact point, and the third contact point are identified as the first contact point, the second contact point, and the third contact point, respectively.
  • the seventh line segment, the second line segment, the sixth line segment, and the third line segment are moved.
  • a second virtual line parallel to the 10th line segment is set and moved in the direction from the third contact point to the fourth contact point. Recognizing the fifth line segment, the fourth line segment, the eighth line segment, and the first line segment, and recognizing the second, fourth, sixth, and eighth line segments.
  • a program is provided for executing the method of reading a two-dimensional code according to the third aspect of the present invention in the evening.
  • a recording medium readable by a computer which records a program for executing the method for reading a two-dimensional code according to the third aspect of the present invention in the evening.
  • a recording medium readable by a computer which stores a program for executing the method for reading a two-dimensional code according to the fourth aspect of the present invention.
  • a phoneme code string data generating unit for generating a certain phoneme code string data
  • a rule speech synthesis processing unit for processing the phoneme code data to generate a speech waveform data
  • processing the phoneme code string data comprising: a braille translation unit that generates Braille data by using a voice translation unit; and an output control unit that selectively outputs at least one of the audio waveform data and the Braille data.
  • a braille translation unit that processes the phoneme code string data to generate Braille data, and selectively outputs at least one of the speech waveform data and the Braille data
  • an output control unit that performs the above operation, so that the information encoded in the two-dimensional code can be selectively obtained through the auditory or tactile sense or the auditory and tactile senses.
  • the two-dimensional code speech conversion device further includes a text data creation unit for creating text data from the decoded data, and the output control unit includes the text data, the audio waveform data, and the braille data. It is good to selectively output at least one of the evenings. Thereby, the information of the two-dimensional code can be obtained through any combination of the auditory, tactile, and visual senses.
  • the output control unit encodes second information including connection control data for adapting the data format of the audio waveform data, the Braille data, or the text data to the specifications of each output device.
  • An input of an output control signal obtained by decoding image data of the second two-dimensional code is received, and based on the output control signal, the audio waveform data, the braille data, or the data of the text data is received It is desirable to change the format. This makes it very easy to set and adjust the data format.
  • the two-dimensional code audio device may further include a storage unit having a plurality of storage areas for storing the data to be decoded. This makes it possible to collectively process the decoded data obtained from a plurality of two-dimensional codes.
  • T The two-dimensional code sound conversion device decodes the image data
  • the apparatus further comprises a decoding unit for outputting the decoded data after the decoding process, and an audio output unit for receiving the input of the audio waveform data and outputting the text document as audio.
  • the two-dimensional code speech conversion device may be configured such that the first two-dimensional code or the second It is preferable to further include an imaging unit that captures the two two-dimensional codes and outputs the image data.
  • the imaging section is provided with an opening for receiving the two-dimensional code, and a light source disposed at a position close to the opening;
  • An illumination mechanism having a light diffusion lens disposed so as to cover the light source; and an imaging element provided at a position facing the opening of the illumination mechanism and imaging the two-dimensional code,
  • the surface of the diffusion lens is processed so as to form frosted glass, and the illumination mechanism is provided so as to extend from at least the light source to a position where the imaging element is mounted, and opens the light from the light source.
  • the image display device further includes a cylindrical diffuse reflection member provided on the inner peripheral surface with a diffuse reflection material for uniformly irradiating the mouth.
  • the image sensor is, for example, an image sensor such as a CCD element or a CMOS.
  • a two-dimensional code imaging step of imaging a first two-dimensional code in which first information including a text document is encoded and recorded and outputting first image data; and the first image data A decoding process of decoding the decoded data and outputting decoded data; a phoneme code sequence data generating process of generating phoneme code sequence data which is intermediate data for generating an audio waveform signal from the decoded data.
  • a two-dimensional code conversion method comprising: an output control process for selectively outputting at least one of the Braille data.
  • a braille translation process of processing the phoneme code string data to generate Braille data, and selectively selecting at least one of the speech waveform data and the Braille data
  • an output control step of outputting the information to the two-dimensional code, so that the information encoded in the two-dimensional code can be selectively acquired through the auditory or tactile sense or the auditory and tactile senses.
  • the two-dimensional code speech conversion method further includes a text data creation step of creating a text data from the decoded data, and the output control step includes: It is desirable to selectively output at least one of the text data, the audio waveform data, and the Braille data. Thereby, the information of the two-dimensional code can be obtained through any combination of hearing, touch, and vision.
  • the two-dimensional code imaging process includes a second process including connection control data for adapting the audio waveform data, the braille data, or the text data format described above to the specifications of each output device. And outputting a second image data by imaging a second two-dimensional code in which the information of the second image data is symbolized.
  • the decoding process decodes the second image data and outputs a connection control signal.
  • the output control step includes a step of changing the audio waveform data, the Braille data, or the text / data format based on the output control signal. This makes it very easy to set and adjust the data format.
  • the two-dimensional code speech conversion method according to the present invention can be realized using a general-purpose combination.
  • a recording medium which stores a program for causing a computer to execute the above-described two-dimensional code conversion method is provided.
  • a display unit for visually displaying a text document and a plurality of different sound quality elements for regular speech synthesis; and allowing the user to select an arbitrary sentence from the displayed document and to correspond to the selected sentence.
  • a selection unit that allows a user to select the sound quality element from the plurality of sound quality elements; and a sound quality element attribute switching control signal for causing the sentence to be subjected to speech synthesis processing using the selected sound quality element.
  • a two-dimensional code encoder for generating a two-dimensional code including a control symbol for element attribute switching.
  • the selection unit is configured to perform the task based on the text document.
  • the user is allowed to select a desired sentence, and the user is allowed to select a sound quality element corresponding to the selected sentence from the plurality of sound quality elements, and the encode section converts the text data of the sentence into the sound quality element attribute. Since it is encoded into a two-dimensional code together with the switching control signal, it is possible to create a two-dimensional code that enables speech by a plurality of sound quality elements in the two-dimensional code speech processing.
  • a storage unit for storing a plurality of different sound quality elements for regular speech synthesis, a symbol in which the text of the text is coded, and a symbol selected corresponding to the text and added to the text of the text.
  • a two-dimensional code reading unit for reading a two-dimensional code including a sound quality element attribute switching control signal coded with a sound quality element attribute switching control signal for causing the above-mentioned text to be subjected to speech synthesis processing with the sound quality element;
  • a decoding unit for decoding the two-dimensional code and outputting the text data of the sentence and the control signal for switching the sound quality element attribute added to the text data; and the control for switching the sound quality element attribute. Based on the signal, the sound quality element corresponding to the selected sound quality element is extracted from the storage unit, and the sentence is converted into a speech using the extracted sound quality element.
  • a two-dimensional code audio device comprising:
  • the two-dimensional code image data including the sound quality element attribute switching control symbol added to the symbolized text is converted to the deco-coded data.
  • the voice synthesis unit decodes the sentence with a sound quality element that matches the selected sound quality element based on the sound quality element attribute switching control signal. Can be converted into speech with different sound quality elements for each sentence.
  • a two-dimensional code encoding method comprising: According to the encoding method described above, a user is allowed to select an arbitrary sentence from a text document, and the user is allowed to select a sound quality element corresponding to the selected sentence from the plurality of sound quality elements. And an encoding procedure for encoding
  • the two-dimensional code including the sound quality element attribute switching control symbol added to the symbolized text is decoded and decoded. Based on the sound quality element attribute switching control signal, the sentence is voice-processed with a sound quality element that matches the selected sound quality element, so that a document including a plurality of texts is voiced with a different sound quality element for each text.
  • the sentence is voice-processed with a sound quality element that matches the selected sound quality element, so that a document including a plurality of texts is voiced with a different sound quality element for each text.
  • the corresponding sound quality element is set from the plurality of sound quality elements.
  • the text data of the text is converted into a two-dimensional code together with the sound quality element attribute switching control signal, and the sound quality element attribute switching control signal includes a coded sound quality element attribute switching control symbol.
  • An encoding procedure for creating a two-dimensional code a two-dimensional code reading procedure for reading the two-dimensional code, a decoding of the two-dimensional code that has been read, the text data of the text, and the sound quality element.
  • a decoding procedure for outputting an attribute switching control signal, and a tone element that matches the selected tone element based on the tone element attribute switching control signal are registered in advance. Removed from the plurality of the sound elements, text document-speech method and a speech synthesis procedure for handling audio of the upper Symbol sentence above retrieved sound element is provide.
  • a code encoding procedure for creating a two-dimensional code including a signal-coded sound quality element attribute switching control symbol, and an encoding method for a two-dimensional code comprising: Program is provided.
  • the above-described encoding method can be realized using a general-purpose computer.
  • Control system for switching sound quality element attributes with coded control signals A two-dimensional code reading procedure for reading a two-dimensional code including a symbol, and the read two-dimensional code is decoded to read the text data and the text data of the text.
  • a decoding procedure for outputting the added sound quality element attribute switching control signal, and a plurality of sound quality elements that match the selected sound quality element are registered in advance based on the sound quality element attribute switching control signal.
  • a voice synthesis procedure for converting the sentence into a voice using the extracted voice quality element, and a program for executing a two-dimensional code voice conversion method including the following.
  • the two-dimensional code speech conversion method according to the sixteenth aspect of the present invention can be realized using a general-purpose computer.
  • Executing a two-dimensional code speech conversion method comprising: extracting a sound quality element that matches the element from a plurality of pre-registered sound quality elements and converting the sentence into a speech using the extracted sound quality element.
  • a storage medium that stores a program for storing the program to be read is provided.
  • the above-described two-dimensional code encoding method further includes a confirmation step of switching the display mode of the above-mentioned document selected in the selection step to inform the user that the selection of the sound quality element has been received.
  • the selecting step is a step of causing the user to select a plurality of sentences from the displayed document and allowing the user to select the sound quality element so that a plurality of different sound quality elements correspond to the plurality of sentences. Good to be.
  • the selection of the sound quality element is not limited to each sentence, and one sound quality element may be selected for a plurality of sentences.
  • the two-dimensional code described above includes at least one of a matrix-type two-dimensional code and a stack-type two-dimensional code.
  • a braille data generating apparatus including a braille translator for receiving an intermediate language, which is intermediate data for generating a speech waveform signal from text data, and processing the intermediate language to generate braille data.
  • the above-mentioned braille data creation device is provided with the above-mentioned braille translator, it is possible to create a braille data different from speech using an intermediate language for speech conversion synthesis. As a result, data for information transmission via tactile sensation can be created using an intermediate language originally formed for information transmission via hearing.
  • the above-mentioned braille data creating apparatus further comprises a condition setting section for setting conditions for creating the above-mentioned braille data.
  • the braille translation unit includes a Braille conversion unit that converts the intermediate language into the Braille code with reference to a conversion table that associates the intermediate language with the Braille code.
  • the braille data creating device may include the segment break data. It is preferable that the system further includes a separating unit that performs a separating process based on the cut information, and further performs a word wrap process on the Braille code converted by the Braille converting unit based on the segment break information. It is more preferable to provide one drap portion.
  • the Braille data creating apparatus further includes a Braille data output unit that adjusts the format of the Braille data so as to conform to the output format of the output destination and outputs the Braille data.
  • a Braille data output unit that adjusts the format of the Braille data so as to conform to the output format of the output destination and outputs the Braille data.
  • the above-described condition setting unit sets at least one of the processing conditions of the intermediate language, the type of the conversion table, the number of characters of the word wrapping process, and the format of the braille data.
  • the type of the conversion table is set, a desired conversion table can be selected from a plurality of conversion tables.
  • the word wrap mode can be easily changed according to the mode of the document to be reproduced as Braille and the type of the Braille output device.
  • a Braille data creation method including a Braille translation procedure for creating an Braille data by processing an intermediate language, which is intermediate data for creating an audio waveform signal from a text data.
  • a program for causing a computer to execute a braille data creation method including a braille translation procedure for creating an Braille data by processing an intermediate language, which is intermediate data for creating an audio waveform signal from text data.
  • a braille data creation method including a braille translation procedure for creating an Braille data by processing an intermediate language, which is intermediate data for creating an audio waveform signal from text data.
  • the braille translation procedure includes the step of referring to the conversion table in which the intermediate language and the braille code are associated with each other. It includes a Braille conversion procedure for converting a language into the Braille code.
  • the braille translation procedure includes a segmentation processing procedure for performing a segmentation process based on the segment break information.
  • the method for creating braille data further includes a word wrap processing procedure for performing word wrap processing on the braille code obtained by the braille conversion procedure on the basis of the phrase separation information. It is more preferable to provide.
  • the Braille conversion procedure and the break processing procedure included in the above-described Braille data creation method be performed simultaneously. This simultaneous processing is made possible by allocating a second braille code corresponding to the phrase delimiter to the conversion table in addition to the first braille code corresponding to the reading information of the text.
  • FIG. 1 is a schematic diagram showing a first embodiment of a two-dimensional code according to the present invention.
  • C is a diagram illustrating a two-dimensional code reading method according to a first embodiment of the present invention.
  • FIG. 2 is a diagram illustrating a two-dimensional code reading method according to a first embodiment of the present invention.
  • FIG. 3 is a flowchart illustrating a schematic procedure of the reading method illustrated in FIG. 2 c
  • FIG. 4 is a schematic diagram illustrating a second embodiment of the two-dimensional code according to the present invention
  • FIG. 9 is an explanatory diagram of a second embodiment of a two-dimensional code reading method according to the present invention.
  • FIG. 6 is a flowchart for explaining the schematic procedure of the reading method shown in FIG. 5.
  • FIG. 7 is a block diagram showing a first embodiment of the two-dimensional code audio device according to the present invention. .
  • FIG. 8 is a side view of an imaging unit included in the two-dimensional code audio device illustrated in FIG.
  • FIG. 9 is a top view of the imaging unit shown in FIG. 8 when cut along the line JJ in FIG.
  • FIG. 10 is a block diagram showing a specific configuration of a microcontroller included in the two-dimensional code audio device shown in FIG.
  • FIG. 11 is a schematic diagram of a first embodiment of a two-dimensional code speech conversion method according to the present invention.
  • 5 is a flowchart showing a procedure.
  • FIG. 12 is a flowchart showing a schematic procedure of the first embodiment of the two-dimensional code speech conversion method according to the present invention.
  • FIG. 13 is a block diagram showing an embodiment of a two-dimensional code encoder according to the present invention and a second embodiment of a two-dimensional code audio device according to the present invention.
  • FIG. 14 is a flowchart illustrating a schematic procedure of an embodiment of a two-dimensional code encoding method according to the present invention.
  • FIG. 15 is an explanatory diagram of a specific procedure of the two-dimensional code encoding method shown in FIG.
  • FIG. 16 is an explanatory diagram of a specific procedure of the two-dimensional code encoding method shown in FIG.
  • FIG. 17 is an explanatory diagram of a specific procedure of the encoding method of the two-dimensional code shown in FIG.
  • FIG. 18 is an explanatory diagram of a specific procedure of the encoding method of the two-dimensional code shown in FIG.
  • FIG. 19 is a flowchart illustrating a schematic procedure of an embodiment of the text document speech conversion method according to the present invention.
  • FIG. 20 is a block diagram including an embodiment of the braille data creation device of the present invention.
  • FIG. 21 is an explanatory diagram of an embodiment of a braille data creation method according to the present invention.
  • C FIG. 22 is a flowchart showing a schematic procedure of the braille data creation method shown in FIG. 21.
  • Figure 1 is a schematic diagram showing a first embodiment of a two-dimensional co-one de according to the present invention, the two-dimensional code 1 of the present embodiment, binarized data is dark Matrix data part 2 stored in the form of square cells A square arranged to surround the evening part 2 and a heading line (projection) consisting of a solid line extending vertically from each side al to d 1 of each of the squares al to d 1 (projections) R11 to: R14, R91 to R93, R31 to R33, R51 to R53, and R71 to R73.
  • the rectangle and the heading lines R11 to R93 are patterns in the present embodiment, whereby data density information and positioning information are given using a reading method described later.
  • the width of the rectangle and each header line is equal to the length of one side of the data cell.
  • the header lines R11 and R12 are arranged so as to extend from the point D along the sides b1 and a1, respectively.
  • Heading line R13 is arranged to extend side d1 from point B
  • heading line R14 is arranged to extend side c1 from point C.
  • These headlines R11 to R14 correspond to the fifth to eighth protrusions in the present embodiment, respectively.
  • Heading lines are not provided at only one point at point A (corresponding to the fourth end point) among the corners A to D of the rectangle. Thereby, as described later, the point A can be used as the origin of the two-dimensional code in the image processing to specify the position coordinates of each cell.
  • the header lines R 91 to R 93, R 31 to R 33, R 51 to R 53, and R 71 to R 73 each indicate the position of a particular cell in the row or column direction.
  • the header lines R 91 to R 93 and R 51 to R 53 are arranged at a constant pitch P 1 on the sides a 1 and c 1 of the rectangle, respectively. This corresponds to the third projectile.
  • the header lines R31 to R33 and R71 to R73 are arranged at a constant pitch P2 on the sides bl and d1 of the rectangle, respectively. It corresponds to the projection of 4.
  • the lengths of the pitches Pl and P2 are known constants, and have the same value in the present embodiment.
  • Heading lines R91-: R93, R31-R33 are arranged so as to extend outward from the sides a1, b1 of the rectangle.
  • the header lines R51 to R53 and R71 to R73 are arranged so as to extend inward of the rectangle from the other adjacent two sides c1, d1.
  • the lengths of the respective heading lines are all the same, but the sides c 1 and dl are set so that the inward heading lines R 51 to R 53 and R 71 to R 73 do not overlap with the matrix part 2.
  • the number of header lines can be independently increased or decreased in each of the horizontal and vertical directions according to the number of data in the matrix data.
  • the two-dimensional code 1 of the present embodiment since there is no special print pattern for cutting out and positioning in the matrix data portion 2, more data can be obtained in a smaller area. Can be equipped with overnight. Furthermore, even if the data capacity is increased, since the cutout and positioning can be performed with a single pattern surrounding the matrix data section 2, the occupied area of the entire two-dimensional code is proportional to the increase in the data capacity. Much smaller than the size. As a result, a two-dimensional code that stores a large amount of information at a high density is provided.
  • FIG. 1 a method for reading a two-dimensional code shown in FIG. 1 will be described as a first embodiment of a method for reading a two-dimensional code according to the present invention.
  • the reading procedure specific to the two-dimensional code is shown, and detailed procedures and adjustments generally required in the reading process are omitted.
  • FIG. 2 is an explanatory diagram of the reading method according to the present embodiment.
  • FIG. 3 is a flowchart showing a schematic procedure of the reading method shown in FIG.
  • step S 1 First, digital image data of a two-dimensional code 1 is captured using an image sensor such as a CCD (step S 1).
  • step S3 a point that contacts each side of the periphery of the rectangular area AR1 is searched.
  • points A, E, F, and H are obtained.
  • step S4 the dots on the line connecting the adjacent points of these points A, E, F, and H are examined, and the dark solid line corresponds to any line among the sides al to d1 of the rectangle. It is determined whether or not to perform (step S4). In the case shown in FIG. 2, it is determined that the line segment AE and the line segment AF respectively correspond to the solid lines of the sides dl and c1 of the rectangle. On the other hand, there is no corresponding solid line for line segment EH and line segment FH. Intersection A between line segment AE and line segment AF is quadratic Select as the origin of source code 1 (step S5).
  • Step S6 a line segment parallel to the line segment AF and having almost the same length is examined from point A to point E, line segment BH is specified, and point B and point H are specified from the end point. .
  • a line segment CG which is parallel to the line segment AE and has almost the same length is examined, and the points C and G are obtained therefrom. Further, the line segment BH and the line segment CG are obtained. Identify the intersection D with (Step S6).
  • a virtual dashed line (heading dashed line) which is parallel to the line segment AF and has the same length is set, and starting from point A, scanning in the direction of point E in the direction of bd1, bd2, etc. Then, the search is made for the entry lines R31 and R73, R32 and R72, and R33 and R71 (step S7). At this time, the distance from heading broken line bd1 connecting heading lines R31 and R73 to point A, and the length and pitch of each heading line are known constants in units of the data cell size. The position and length of each headline can be predicted on the basis of the positional relationship between the points A to D already specified in.
  • an imaginary dashed line which is parallel to the line segment AE and has the same length is set, and starting from the point A and scanning in the direction of the point F in the direction of ac l, ac 2. Search for R53, R92 and R52, and R91 and R51 (step S7).
  • the number of heading lines recognized as extending vertically inward from line segment AC (square side c 1) and vertically extending outward from line segment BD (square side a 1) is also the same as the number of heading lines recognized as If the number of heading lines recognized to extend vertically outward from the line segment CD (side of the rectangle bl) is the same, it can be confirmed that the search for each heading line has been performed normally. Also, as described above, the number of heading lines is determined independently in each of the horizontal and vertical directions according to the number of data items in the matrix data area 2, so that the number of heading lines is recognized by each line segment (side). The size of the matrix data is determined according to the number of header lines.
  • step S8 The coordinates of ⁇ 33 are calculated (step S8). These coordinates are the data in the matrix data part 2. This is equivalent to extracting the coordinates of an overnight cell at equal intervals.
  • Step S9 Further, from the coordinates of the intersection obtained in the above 7), the coordinate value of each cell is obtained from the known number of cells between the heading lines, and the binary value of each cell is sampled to be bit string data. (Step S9).
  • the data stored in the matrix data storage unit 2 can be restored with high accuracy by simple image processing, and the data capacity can be quickly reduced. Can be obtained.
  • FIG. 4 is a schematic diagram showing a two-dimensional code according to a second embodiment of the present invention.
  • the two-dimensional code 3 of the present embodiment includes a matrix data section 2 in which binarized data is stored in the form of bright and dark square cells, and a matrix data section 2.
  • Line segments LN11 to LS14 (first line segment), LS31 to: LS34 (third line segment), LS51 to: LS54 (fifth line segment), LS71 to LS74 (7th line segment) Line segments) and heading lines R21 to R24 (second line segment), R41 to R44 (fourth line segment), R61 R64 (sixth line segment), R81 to R84 (eighth line segment), and L-shaped figures LC whose both ends are connected to the ends of LS54 and LS74.
  • N data cells N is a natural number
  • the number of small regions is the same in both the X direction and the y direction.
  • the number of small regions is not limited to this, and can be independently changed in the X direction and the y direction.
  • each line segment constitutes a first figure in the present embodiment, and the figure LC constitutes a second figure in the present embodiment.
  • the data density information (print pitch) and the rotation angle of the matrix data are given using the reading method described later.
  • Can be The width of each line segment is the same as the length of one side of the data cell, and the length of each line segment is determined using the length of one side of the data cell as a basic unit.
  • the line segments LS11 to LS14 are respectively arranged at a pitch corresponding to the size of the small region along the side a2 of the square forming the periphery of the matrix portion 1.
  • the line segments L S31 to L S34 are arranged along the side b2 at pitches matching the size of the small area.
  • the line segments LS51 to LS54 are arranged at a pitch corresponding to the size of the small region along a line parallel to the side c2 and separated from the side c2.
  • the line segments LS71 to 374 are also arranged at pitches corresponding to the size of the small area along a line parallel to the side (12) at a distance from the side (12).
  • the header lines R21-R24 each indicate the position of a particular cell in the row or column direction.
  • the header lines R21 to R24 are arranged so as to extend outward from the matrix data section 2 from the line segments LS11 to LS14.
  • finding lines R41 to R44 are arranged so as to extend from line segments LS31 to LS34 toward the outside of matrix data section 2, respectively.
  • headline R61 ⁇ ! 64 is disposed on each of the segments S51 to LS54 so as to extend from the line segments S51 to LS54 to the matrix data portion 2.
  • the heading lines R81 to R84 are respectively arranged so as to extend from the line segments LS71 to LS74 toward the matrix portion 2.
  • the lengths of the heading lines are all the same, but the inward heading lines R61-: R64, R81-R84, so that the line segments S51-LS do not overlap with the matrix data section 2. 54, the line segments LS71 to LS74 are arranged apart from the periphery of the matrix data section 2.
  • the number of heading lines can be independently increased or decreased in each of the horizontal direction and the vertical direction according to the number of small regions included in the matrix data area 2 and the arrangement thereof. Therefore, it is possible to configure a two-dimensional code of various sizes and shapes depending on the application such as the capacity of the data and the printing place.
  • the L-shaped figure LC has a continuous orthogonal portion at the ends of the line segment LS 54 and the line segment LS 74, a rectangular area AR for cutting out so as to be in contact with the corner A in image processing at the time of reading described later.
  • the rotation angle of the data cell can be obtained, and the corner A It can be used as the origin of the two-dimensional code 3 to specify a target.
  • the two-dimensional code 3 of the present embodiment since there is no special print pattern for cutting out, positioning, and the like in the matrix data section 2, more data can be obtained in a smaller area. Can be mounted. Also, even if the data capacity is increased, the cutout and positioning can be performed only with the first and second figures surrounding the matrix data section 2, so that the area occupied by the entire two-dimensional code increases with the data capacity. Much smaller than the proportional size. This enables printing with a general-purpose laser printer, and provides a two-dimensional code that stores a large amount of information at a high density.
  • FIG. 4 a method of reading a two-dimensional code shown in FIG. 4 will be described as a second embodiment of the method of reading a two-dimensional code according to the present invention.
  • a reading procedure specific to the two-dimensional code according to the present invention is shown, and detailed procedures and adjustments generally required in the reading process are omitted.
  • FIG. 5 is an explanatory diagram of the reading method according to the present embodiment.
  • FIG. 6 is a flowchart showing a schematic procedure of the reading method shown in FIG.
  • step S11 First, digital image data of a two-dimensional code 3 is captured using an image sensor such as a CCD (step S11).
  • step S13 a point that contacts each side of the periphery of the rectangular area AR3 is searched.
  • points A, E, F, and H are obtained.
  • step S14 examine the dots on the straight line connecting the points A, E, F, and H that are adjacent to each other, and determine where the dark line segment forms the corner. Yes (step S14).
  • the intersection A between the straight line AE and the straight line AF is selected as the origin of the two-dimensional code 3 (step S15). This gives a straight line By obtaining the angle S between the AE and the side of the rectangular area AR3, the rotation angle of each data cell can be obtained.
  • a line segment parallel to the straight line AF and having a length substantially the same as the line segment LS 54 on the straight line AF is examined from point A to point E, line segment LS14 is identified, and its end point is determined. From this, point B is specified, and point H is specified on the extension of this line segment LS14.
  • a line segment LS 61 and a line segment L which are parallel to the line AE and are approximately the same length as the line segments LS 74 and LS 71 on the line AE, respectively.
  • S31 is examined, and the points C and G are determined from this, and the intersection D of the straight line BH and the straight line CG is specified (step S16).
  • a virtual dashed line that is parallel to the line segment AF and has the same length is set, and starting from point A and scanning in the direction of point E as bd1, bd2, etc.
  • headlines R44 and R84, R43 and R83, and R42 and R82 are searched (step S17).
  • the distance from heading dashed line bd1 connecting heading lines R44 and R84 to point A, and the length and pitch of each heading line are known constants in units of data cell size.
  • the position of each headline can be predicted based on the positional relationship between points A to D already specified in the procedure.
  • a virtual dashed line parallel to the line segment AE and having the same length is set, and starting from point A and scanning in the direction of point F in the direction of ac l, ac 2.
  • Search for R64, R23 and R63, and R22 and R62 step S17).
  • Step S 19 Further, from the coordinates of the intersection obtained in the above 7), the coordinate value of each cell is obtained from the number of cells between the known header lines, the binary value of each cell is sampled, and the data of the bit string is analyzed. (Step S 19).
  • the header line segment having the length determined by using the length of one side of the cell as a basic unit at a predetermined pitch is used for the matrix decoder 2.
  • the position coordinates are obtained by equally dividing the data cells in the matrix data section 2 using this, so that the binarized data can be restored with high accuracy by simple image processing. Also, the data capacity can be obtained quickly.
  • FIG. 7 is a block diagram showing a first embodiment of the two-dimensional code sound conversion device according to the present invention.
  • the feature of the two-dimensional code speech conversion device of the present embodiment is that, in addition to decoding binary data coded into a two-dimensional code and outputting the voice, it can also output text data and Braille data. And makes the encoded information available in a variety of visual, auditory and tactile forms.
  • the two-dimensional code sounding device 20 shown in FIG. 7 includes an operation unit 62, a microcontroller 30, an imaging unit 70, an image memory 80, a memory Ml, and a D / A converter. It comprises an amplifier 82, a speaker 58, and an output port 84.
  • the operation unit 62 is connected to the microcontroller 30, and the imaging unit 70 is connected to the microcontroller Controller 30 and the image memory 80.
  • the speaker 58 is connected to the D / A converter and the amplifier 82.
  • the microcontroller 30, the image memory 80, the memory M1, the D / A converter and the amplifier 82, and the output port 84 are commonly connected to the bus BUS.
  • the memory Ml stores various data such as a program for operating the two-dimensional code speech device 20 and the decoded two-dimensional code information, and the microcontroller 30 performs various data processing. It also provides a work area for executing
  • the memory Ml has a plurality of storage areas, and is configured to store a plurality of pieces of decoded two-dimensional code information and perform batch processing.
  • the program includes a program for causing the microcontroller 30 to execute the two-dimensional code speech conversion method according to the present invention.
  • various types of data include data of a plurality of sound quality elements when outputting a text document coded into a two-dimensional code, and a braille code that associates a phoneme code string with a braille code.
  • One-sided conversion table is included.
  • the sound quality elements are, for example, the type of voice (male or female), the pitch (high, medium, low) and the volume (large / medium / small).
  • the operation unit 62 includes various switches (not shown) for operating the two-dimensional code sounding device 20, so that various settings can be selected by the user. These settings include starting reading of the two-dimensional code, suspending, resuming, and fast-forwarding the audio output, requesting output of text data and Braille data, or a combination thereof.
  • the state of the switch of the operation unit 62 is read by the microcontroller 30.
  • the microcontroller 30 operates the entire apparatus in accordance with the program stored in the memory M1 and the operation of the operation unit 62 by the user. A more specific configuration of the microcontroller 30 will be described later in detail.
  • the imaging unit 70 reads an image of a two-dimensional code according to a command from the microcontroller 30.
  • the specific configuration of the imaging unit 70 will be described with reference to FIGS.
  • FIG. 8 is a side view of the imaging unit 70
  • FIG. 9 is a top view when the imaging unit 70 is cut along the line JJ in FIG.
  • the imaging unit 70 includes an imaging device 72 such as a CCD camera and an illumination mechanism. Illumination of imaging unit 70
  • the mechanism consists of a cylinder 74 with a diffusion plate 75 adhered to the inner peripheral surface, a document insertion section 78 provided on the bottom of the cylinder 74, and a document insertion section 7 on each side of the cylinder 74.
  • the original insertion section 78 is provided with a slit 76.
  • the position where the two-dimensional code is printed on the original: DC is predetermined, and when this original DC is inserted into the slit 76 in a specific manner, the part of the two-dimensional code is imaged. It is designed to fit within the field of view of element 72.
  • the surface of the power lens L2 is frosted to prevent the light source image from being directly transferred to the document.
  • the illumination light is diffused by the diffusion plate 75 attached to the inner peripheral surface of the cylinder, and the entire document is uniformly illuminated. Since the focus of the lens L1 of the image sensor 72 is adjusted in advance, the user can read the two-dimensional code without having to perform complicated focusing simply by inserting the document DC into the slit 76. .
  • the image memory 80 stores the image data of the two-dimensional code imaged by the imaging unit 70.
  • the D / A converter and the amplifier 82 receive the digital voice waveform data generated by the regular voice synthesis processing of the microcontroller 30, convert this into an analog signal, amplify it, and output it to the speaker 58. .
  • the speaker 58 receives this analog audio waveform signal and outputs audio.
  • the D / A converter, the amplifier 82 and the speaker 58 constitute an audio output unit in the present embodiment.
  • the output port 84 is a port for connecting an external output device such as an image display, a braille printer, or a character string display.
  • the microcontroller 30 includes a CPU 34, an imaging control unit 36, a decoding unit 54, a phoneme code string data conversion unit 32, a rule speech synthesis processing unit 56, It includes a Braille data creation unit 10 and an output control unit 38.
  • the imaging control unit 36, decoding unit 54, phoneme code string data conversion unit 32, regular speech synthesis processing unit 56, Braille data creation unit 10, and output control unit 38 are connected via the bus BUS. And are commonly connected to CPU 34.
  • the imaging control unit 36 generates a signal for controlling the imaging unit 70 and supplies the signal to the imaging unit 70.
  • the decoding unit 54 retrieves the image data of the two-dimensional code captured by the imaging unit 70 from the image memory 80 (see FIG. 7), and restores the binary data symbolized into the two-dimensional code by a predetermined decoding process. And outputs the text data and the various control signals described above.
  • the phoneme code string data converter 32 Upon receiving the text data output from the decoding unit 54, the phoneme code string data converter 32 generates and outputs phoneme code string data, which is an intermediate language for speech synthesis.
  • the rule speech synthesis processing unit 56 receives the phoneme code string data and the control signal for switching the sound quality element attribute, and switches the sound element corresponding to the sound quality element selected in advance when creating the two-dimensional code.
  • the digital audio waveform is generated and output from the memory M 1 (see Fig.
  • the braille data generator 10 constitutes a braille translator in the present embodiment, receives phoneme code string data, and refers to a braille code conversion table stored in the memory M1 to generate a phoneme code string data. Evening is converted to Braille and output.
  • the output control unit 38 supplies the speech waveform data supplied from the regular speech synthesis processing unit 56 to the D / A converter and the amplifier 82, and outputs the data read from a dedicated two-dimensional code card described later.
  • the text data supplied from the decoding unit 54 and the Braille data supplied from the Braille data generator 10 are adapted to the data format of the external connection device, and output port 8 4 (see Figure 7).
  • the data other than the voice waveform data can be output by the output control unit 38, such as text data only, braille data only, or both text data and braille data. Is output.
  • FIG. 11 and FIG. 12 are flowcharts showing a schematic procedure of the two-dimensional code speech conversion method of the present embodiment.
  • the features of the present embodiment are that a text document coded into a two-dimensional code can be selectively output in three modes: visual, auditory, and tactile, and connection conditions for connecting an external device to the output port 84.
  • the settings of the data format to be output and the like are coded in advance into a two-dimensional code in a dedicated card format, and this dedicated two-dimensional code This is to decode the code and execute these settings prior to processing such as speech synthesis.
  • the two-dimensional code audio device 20 shown in FIG. 7 is set to output only audio in an initial state immediately after power-on.
  • the user selects a two-dimensional code (corresponding to a second two-dimensional code; hereinafter, referred to as a setting two-dimensional code) of a dedicated card corresponding to a desired external device to be connected.
  • the two-dimensional code includes connection conditions for connecting an external device selected by the user to the output port 84, and various output data of the two-dimensional code audio device 20 according to the specifications of the external device. Output control data to conform to the format is coded.
  • External devices that can be connected include image display devices such as CRT (Cathode Ray Tube) and LCD (Liquid Crystal Display), and character string display devices such as Braille printers and Braille displays.
  • the imaging section 70 is activated.
  • the LED light source LS is turned on, the image of the two-dimensional code of the dedicated card is read (step S21 in FIG. 11), and the image is stored in the image memory 80.
  • the image data is transferred and stored.
  • the decoding unit 54 of the memory microcontroller 30 extracts this image data from the image memory 80 and performs a decoding process (step S22). More specifically, two-dimensional code extraction, positioning, and other processing are performed, and each data cell on the code is read and extracted as bit string data.
  • the output control data is restored and supplied to the output control unit 38 and the output port 84 as an output control signal.
  • the output control unit 38 is set to conform to the specifications of the external device to be connected to the format of the data output from the two-dimensional code audio device 20 and conforms to the connection conditions of the selected external device.
  • the connection conditions of the output port 84 are set (step S23).
  • the information of the two-dimensional code (the first two-dimensional code) in which the text document to be processed is coded is converted into speech, and the Braille data and the text data are combined.
  • the output procedure will be described with reference to FIGS.
  • the imaging unit 70 reads out the image of this two-dimensional code and the image memory 70 It is stored in 80 (step S24).
  • the two-dimensional code to be read may be a conventionally used two-dimensional code, but in the present embodiment, a two-dimensional code created by using dedicated software is used.
  • this two-dimensional code in addition to the data of the text document and the error correction code, various control data for speech conversion are also symbolized. In particular, one or more texts in the text document are written.
  • the control data for switching the attribute of the sound quality element is added to the text data of each sentence and encoded so that each sound is converted into a different sound quality element.
  • the decoding unit 54 of the microcontroller 30 retrieves the image data of the read two-dimensional code from the image memory 80, cuts out, positions, etc., reads the data cells on the code, and decodes the bit string. By retrieving the data as one night, these data are restored (step S25), and error correction processing is further performed using an error correction code (step S26) o
  • the microcontroller 30 checks whether or not a request for text data output has been made during the user's request read from the operation unit 62 (step S27). After the control signal for voice conversion is removed by the output control unit 38, the text data is output from the output port 84 (step S28). As a result, the text document is displayed on the external image display device connected to the output port 84, and the information encoded in the two-dimensional code is obtained through the visual sense. If there is no request for text data output, the process proceeds to the next step S29. Next, the phoneme code string data converter 32 of the microcontroller 30 converts the text data into phoneme code string data as preprocessing of the speech synthesis processing (step S29).
  • the control data for sound quality element attribute switching which has been encoded in the two-dimensional code, is added to the phoneme code string data in text units.
  • the microcontroller 30 confirms whether or not a request for braille output has been made during the user's request (step S30).
  • the rule speech synthesis processing unit 56 performs speech synthesis on the phoneme code string data in accordance with the rule speech synthesis procedure. Processing is performed (step S33), and the data is converted into audio waveform data and supplied to the D / A converter and the amplifier 82.
  • the rule speech synthesis processing unit 56 fetches, from the memory M1, a sound quality element that matches the sound quality element selected when the two-dimensional code was created, based on the sound quality element attribute switching control data added for each document. Speech synthesis processing is performed by combining phoneme segments matching this.
  • the D / A converter and the amplifier 82 perform D / A conversion of the supplied audio waveform data, amplify and output the audio from the speaker 58 (step S34).
  • the text document coded into the two-dimensional code is vocalized using the sound quality element selected when the two-dimensional code was created, so that the document is read out with different types of voice for each sentence.
  • step S30 When a Braille data output request is received (step S30), the phoneme code string data generated in step S29 is converted into Braille data by the Braille data generator 20 (step S31). ).
  • This processing focuses on the fact that in the case of Japanese and the like, braille is represented by phonetic characters corresponding to kana characters, and can be easily converted by referring to a braille code conversion table. Also, by using phoneme code string data, it is possible to ensure consistency between voice output and how to read kanji. For phonetic characters such as alphabetic characters that can be used as they are in Braille, there is no need to intervene in phoneme sequence code data, and they will be converted directly to Braille from text data.
  • the generated Braille data is output from the output port 84 by the output control unit 38 in a data format suitable for the external device to be connected (step SS32).
  • a text document coded into a two-dimensional code can be vocalized, and text data, braille data, or both can be selectively output.
  • the data encoded in the two-dimensional code can be obtained by audio as audio information from the audio output speaker, and the text data can be output to an external image display device for visual confirmation as text information.
  • an external Braille printer or Braille display as a Braille display, tactile confirmation is possible.
  • the above-described two-dimensional code speech conversion device is provided as multimedia that can be utilized in a variety of ways including visual, auditory, and tactile senses. (7)
  • One embodiment of two-dimensional code encoder and second embodiment of two-dimensional code speech device is provided as multimedia that can be utilized in a variety of ways including visual, auditory, and tactile senses.
  • FIG. 13 is a block diagram showing both an embodiment of a two-dimensional code encoder according to the present invention and a second embodiment of a two-dimensional code audio device according to the present invention.
  • a two-dimensional code encoder according to the present invention
  • a two-dimensional code audio device according to the present invention
  • the two-dimensional encoder 40 shown on the left side of FIG. 13 includes a display unit 46, a selection unit 44, a control unit 42, and a printer 48.
  • the display unit 46 is composed of a CRT (Cathode Ray Tube), a liquid crystal display device, or the like, and displays a text document and a sound quality element selection button described later on a screen.
  • the selection unit 44 includes a mouse, a trackball, a keyboard, and the like, and allows the user to select an arbitrary range of documents in the text document displayed on the display unit 46, and reads out the selected document aloud.
  • the user selects the sound quality element at the time from the sound quality element selection button displayed on the display section 46.
  • the control unit 2 adds a control signal for switching the attribute of the selected sound quality element to the text data of the selected document, and then encodes the data into a two-dimensional code.
  • the printer 48 prints the encoded two-dimensional code.
  • the two-dimensional code speech device 90 shown on the right side of FIG. 13 includes a two-dimensional code reader 92, a decoding unit 54, a memory M2, a regular speech synthesis processing unit 56, and a speaker 58. .
  • the two-dimensional code reader 92 reads the symbol of the two-dimensional code created by the printer 48 of the two-dimensional code encoder 40 and sends the obtained image data to the decoding unit 54.
  • the decoding unit performs a decoding process on the received image data. At this time, the control symbol for sound quality element attribute switching is also decoded and becomes a control signal for sound quality element attribute switching.
  • the decoded text data and sound quality element attribute switching control signal are sent to the regular speech synthesis processing unit 56.
  • a plurality of sound quality elements including the same sound quality element as the sound quality element added to the text data of the document in the two-dimensional encoder 40 are stored in the memory M2 in advance.
  • the rule speech synthesis processing unit 56 retrieves from the memory M2 the same tone quality element as the tone quality element already selected by the two-dimensional code encoder 40, and retrieves it. Ruled speech synthesis processing of text data overnight Do.
  • the audio signal generated by the audio synthesis processing is supplied to the speaker 58 and output as audio.
  • FIG. 14 is a flowchart illustrating a schematic procedure of the two-dimensional code encoding method according to the present embodiment.
  • FIGS. 15 to 18 are explanatory diagrams showing specific procedures of the encoding method shown in FIG.
  • the display unit 46 displays a text document that has already been created or is being created (step S41).
  • An example of the displayed text document is shown in the explanatory diagram of Fig. 15.
  • the screen display shown in the figure is an example of a text document created by general-purpose document creation software.
  • an icon 100 for sound quality element selection processing to be described later is also displayed.
  • buttons B T1 to B T7 for selecting sound quality elements is displayed as shown in FIG.
  • the button BT1 is a sound quality element setting button, and in this embodiment, three types of settings are possible. Voice type (male or female), pitch (high / medium / low) and volume (large / medium / small).
  • the user selects an arbitrary sentence in the document by dragging the mouse or operating the keyboard, for example, as shown in FIG. 16, a "multimedia document reading system” (step S42), and furthermore, a sound quality element.
  • a "multimedia document reading system” step S42
  • a sound quality element When the sound quality is set with the setting button BT1 and the setting button BT2 is pressed (step S43), the selected sound quality is set in the selected document.
  • the selected text "Multimedia Document Speech System" is highlighted to inform the user of the setting.
  • the sound quality element described above in the present embodiment can be set for each sentence.
  • one sound quality element may be set for a plurality of documents.
  • the display unit 46 switches the font and display color for each sentence according to the set sound quality content. For example, if the voice type is male, the color is blue, if female, the color is red,
  • the font of the document is switched to italic, bold, or thin style according to the pitch, and the volume level is displayed according to the font size (point).
  • the batch button BT 3 in the dialog is a button for setting the selected sound quality element for the whole text
  • the cancel button BT 7 is for canceling the above-described sound quality element selection processing in the middle. Button.
  • the control unit 42 sends a sound quality element attribute switching control signal for synthesizing each sentence with the selected sound quality element.
  • a sound quality element attribute switching control signal for synthesizing each sentence with the selected sound quality element.
  • the two-dimensional code 1 is printed on the paper by the printer 48 (step S46).
  • the sound quality element attribute switching control signal added to each sentence is also encoded and stored as a sound quality element attribute switching control symbol.
  • the image of the two-dimensional code 1 is read by the two-dimensional code reader 92 of the two-dimensional code sounding device 90 (step S47).
  • the image data of the two-dimensional code 1 is sent from the two-dimensional code reader 92 to the decoding unit 54, and the decoding unit 54 performs a decoding process on the sent image data (step S48).
  • the image data of the sound quality element attribute switching symbol is also decoded and becomes a sound quality element attribute switching signal.
  • the decoded text data of each text and the sound quality element attribute switching control signal added to the text data of each text are sent to the regular speech synthesis processing unit 56.
  • the rule-based speech synthesis processing unit 5 6 On the other hand, the sound quality element corresponding to the selected sound quality element is fetched from the memory M2, and speech synthesis processing of the text sentence is performed using the fetched sound quality element. (Step S49) Finally, each text / sentence is read out by the speaker 58 using the voice of the sound quality selected for each sentence (Step S50).
  • FIG. 20 is a block diagram including an embodiment of the braille data creation device of the present invention.
  • the Braille data creation device 110 shown in the figure is composed of a condition setting unit 114, a Braille conversion table selection unit 118, a memory M3, an intermediate language acquisition unit 112, and a filtering unit 116. It has a Braille conversion unit 122, a word wrap unit 124 and an output unit 126.
  • the intermediate language acquisition unit 112, the filtering unit 116, the braille conversion table selection unit 118, and the braille conversion unit 122 constitute a braille translation unit, and a braille conversion unit.
  • the unit 122 simultaneously constitutes a Braille conversion unit and a segmentation unit.
  • the memory M3 stores a plurality of types of braille code conversion tables corresponding to the intermediate language and the braille data.
  • the intermediate language generation processing unit 13 2 shown in the figure is provided in a text-to-speech conversion synthesis device (not shown), and the condition setting unit 1 14 that generates the intermediate language from the input text data is Set filter conditions, braille conversion conditions, editing processing conditions, output conditions, etc., and filter the command signals CS1 to CS4 so that each part operates under the set conditions. These are supplied to the selection section 118, the first drop section 124 and the output section 126, respectively.
  • the fill-in ring condition refers to the type of fill-in ring processing performed by the fill-in ring portion 1 16.
  • the braille conversion condition is a braille code conversion table used when converting an intermediate language into a braille code.
  • Type The editing processing condition refers to the maximum number of characters when executing the word wrap processing described later.
  • the output condition refers to the type of Braille printer or Braille display that is the output destination of Braille data.
  • the intermediate language acquisition unit 112 receives the intermediate language from the intermediate language generation processing unit 132 and supplies it to the filtering unit 116.
  • the filtering unit 1 16 receives the command signal CS 1 from the condition setting unit 1 14 and does not need to translate from the intermediate language supplied from the intermediate language acquisition unit 1 12 according to the filtering conditions set. Remove symbols.
  • the braille conversion table selection unit 1 18 receives the command signal CS 2 from the condition setting unit 1 14 and extracts the set braille code conversion table from a plurality of types of braille code conversion tables stored in the memory M 3. Hold.
  • the braille conversion unit 122 refers to the braille code conversion table held by the braille conversion table selection unit 118, and refers to the data after the filtering process supplied from the filtering unit 116. To Braille code.
  • the word wrap section 124 executes the word wrap of the braille code data supplied from the braille conversion section 122 with the set number of characters in accordance with the command signal CS3 supplied from the condition setting section 114.
  • the output unit 126 outputs braille data to the set braille device according to the command signal CS4 supplied from the condition setting unit 114.
  • the braille device includes a braille printer, a braille display, and the like.
  • the procedure of outputting braille data from an intermediate language for speech synthesis using the braille data creation device 110 shown in FIG. 20 is an embodiment of the braille data creation method according to the present invention. A specific description will be given with reference to FIGS. 21 and 22.
  • FIG. 21 is an explanatory diagram of an embodiment of a method for creating a Braille data file according to the present invention. The example of a sentence "System provided.”
  • FIG. 4 is an explanatory diagram specifically showing a process of converting a text document into Braille data and outputting the data.
  • FIG. 22 is a flowchart showing a schematic procedure of the braille data creating method shown in FIG.
  • the condition setting unit 114 sets the conditions for creating the Braille data overnight (FIG. 22, step S51).
  • the condition setting unit 114 sets the filtering method “FA”, the output device “Braille pudding A”, the braille code “NA BCC”, and the number of word wrap characters “10 characters” as the setting condition SC.
  • the filtering method “FA” refers to setting the data to be filtered to alphabets and numbers
  • the output device “Braille pudding A” refers to a braille printer as an output device.
  • A which sets the conditions for processing braille pudding A under appropriate conditions. Is determined. More specifically, the output device control code is set to ⁇ A, as shown in DT6 of the output device of FIG.
  • the Braille conversion table selection unit 118 draws out the Braille code conversion table T corresponding to the Braille code “NABCC” set by the condition setting unit 114 from the memory M3 and holds it (step S52).
  • the Braille code conversion table T includes a Braille code (first Braille code) corresponding to the reading information, and a space for emptying these squares. , ".”, ",”, "?", "! Are allocated as braille codes (second braille codes).
  • the intermediate language acquisition unit 112 acquires an intermediate language for speech synthesis (step S53).
  • This intermediate language is generated by the intermediate language generation processing unit 132 (see FIG. 20) provided in the text-to-speech conversion / synthesizing apparatus (not shown). More specifically, as shown in FIG. 21, the input text DT 1 "Provides a system.” Is generated for the intermediate language DT 2 "P 1 system”, and the input text DT 1 "System I 0" is generated.
  • the intermediate language is acquired by the intermediate language acquisition unit 112.
  • the filtering unit 116 extracts phrase separation information and reading information necessary for braille from the intermediate language acquired by the intermediate language acquisition unit 112 (step S54). More specifically, as shown in FIG. 21, for the intermediate language DT2 “P 1 system”, Takeshima I-S P0., The filter unit 116 sets the filter set by the condition setting unit 114. In accordance with the evening ring method "FA”, alphabetic characters and numbers are file-clipped to extract the phrase delimiters ",””.” And the phonetic symbol "System @ 1". , ⁇ , 3 3 (((((3 3 3 3 3 3
  • the Braille converting unit 122 converts the filled intermediate language into the Braille code with reference to the selected Braille code conversion table T, and simultaneously performs the writing (step S55).
  • the space for blank space is allocated at the same time as the Braille code corresponding to the reading information, as the Braille code corresponding to the part indicating the segment break. information Is converted to a braille code, and at the same time, it is possible to perform the segmentation processing.
  • the filtered intermediate language DT 3 "System I, Takeshima.”
  • the Braille code data DT4 " ⁇ ? QY9DQ3 @ [3 ⁇ Z? 4DD Is converted to "
  • the mouth is a space character representing a space.
  • the word wrap unit 124 performs a single-draft process on the Braille code converted by the Braille conversion unit 122 (step S56).
  • the number of characters in the braille code data is counted up in a county (not shown), and at the same time, the phrase separation part is recorded based on the space character. If the counted number of characters exceeds the number of word wrap characters set in the condition setting unit 114 before going to the phrase delimiter, the space character in the phrase is replaced with a line feed code. If the number of characters in one phrase exceeds the number of de-wrapped characters, insert a line feed code in the middle of the phrase.
  • the output unit 126 adapts the Braille data to the data format of the output destination Braille output device and outputs the data (step S57). More specifically, the connection device control code set by the condition setting unit 114 is added to the output braille data. In this embodiment shaped condition, the control code for setting the receiving braille data format of Braille purine evening A output devices NABCC, 1-line printing characters to 10 characters are set as lambda A, the output data DT 6 in FIG. 2 1 As shown in, " ⁇ A ⁇ ? QY9—Line feed code 1 Q3 @ [3 ⁇ Z? 4—Line feed code-" is output.
  • each program may be stored in a recording medium such as a flexible disk CD-HOM and read and executed by a combination program.
  • the recording medium is not limited to a portable medium such as a magnetic disk or an optical disk, but may be a fixed recording medium such as a hard disk device or a memory.
  • a program that incorporates the above-described series of procedures for the two-dimensional code reading method, the two-dimensional code conversion method, the two-dimensional code encoding method, the text document conversion method, and the braille data creation method is provided on the Internet. It may be distributed via communication lines (including wireless communication).
  • a program that incorporates the above-described two-dimensional code reading method, two-dimensional code sounding method, two-dimensional code encoding method, text document sounding method, and braille data creation method is embedded in a program. In the state of being converted, modulated, or compressed, it may be distributed via a wired or wireless line such as an Internet connection network, or stored in a recording medium.
  • the imaging unit 70 including an imaging device 72 for acquiring image data of a two-dimensional code and a lighting mechanism, and a regular speech synthesis processing unit 56
  • the speaker 58 and the data output port 84 for the text document data and the braille printer are all built-in.
  • the image data acquired by the external two-dimensional code reader is stored in the image memory. It is also possible to adopt a form that takes in the data.
  • the two-dimensional code vocoder which can output text data and braille data in addition to voice output has been described.
  • the present invention is not limited to this, and may output only voice output and braille data.
  • an external device connected to the output port 84 an image display device, a braille printer, and a braille display are provided.
  • the present invention is not limited to this, and a connection may be made to a communication device such as a mobile phone via a wired line or a wireless line via a modem or the like. Also, for example, in the example shown in Fig.
  • Braille device A is taken as a Braille device, and it is decided to output in Braille data format that is compatible with it, but the Braille data format that is suitable for Braille displays is also set.
  • the description has been given by taking a Japanese sentence as an example of the text data.
  • this is only an example, and Of course, the invention can be applied to any language.

Abstract

A two-dimensional code (3) consists of a first figure including line segments (LS11-LS14, LS31-LS34, LS51-LS54, LS71-LS74) arranged at pitches corresponding to a small region size around a data block (2) and index lines (R21-R24, R41-R44, R61-R64, R81-R84) orthogonally extending from substantially the center of each segment and an L-shaped second figure (LC) having ends continuous with ends of the segments (LS54 and LS74). The index lines (R21-R24, R41-R44) are arranged to face the outside of the data block (2) while the index lines (R61-R64, R81-R84) are arranged to face the data block (2). In accordance with these index lines, data density information and positioning information are fetched during decoding.

Description

明 細 二次元コード、 二次元コードの読み取り方法、 二次元コード音声化装置、 二次元コード音声化方 法、 二次元コードエンコーダ、 二次元コードのエンコード方法、 テキスト文書音声化方法、 点字データ作成装置、 点字データ作成方法、 プログラムおよびコンピュータ読み取り可能な記録媒体  Description Two-dimensional code, two-dimensional code reading method, two-dimensional code speech device, two-dimensional code speech method, two-dimensional code encoder, two-dimensional code encoding method, text document speech method, braille data creation device , Braille data creation method, program, and computer-readable recording medium
技術分野 Technical field
本発明は、 二次元コード、 二次元コードの読み取り方法、 二次元コード音声化 装置、 二次元コード音声化方法、 二次元コードエンコーダ、 二次元コードのェン コード方法、 テキスト文書音声化方法、 文章から点訳を行う装置、 点訳方法、 プ ログラムおよびコンビユー夕読み取り可能な記録媒体に関する。 本発明は、 特に、 データ密度の向上を可能にする二次元コード、 その読み取り方法、 ドットマトリ ックス式の二次元コードに記号化された情報を処理して音声出力を含む様々な態 様でデータ出力する二次元コード音声化装置、 二次元コード音声化方法、 二次元 コードエンコーダ、 二次元コードのエンコード方法、 コンビユー夕の画面に表示 されたテキスト文書を二次元コードを介して規則音声合成用の音質要素で音声化 させるテキスト文書音声化方法、 テキスト音声合成処理によって生成された音声 用の中間言語から点字データを作成する点字データ作成装置、 点字データ作成方 法、 並びにこれらの方法をコンビユー夕に実行させるプログラムおよびコンビュ 一夕読み取り可能な記録媒体に関する。 景技術  The present invention relates to a two-dimensional code, a two-dimensional code reading method, a two-dimensional code sounding device, a two-dimensional code sounding method, a two-dimensional code encoder, a two-dimensional code encoding method, a text document sounding method, and a sentence. The present invention relates to an apparatus, a method, a program, and a recording medium readable from a computer for performing a transliteration. In particular, the present invention relates to a two-dimensional code capable of improving data density, a method of reading the two-dimensional code, and processing of information encoded in a two-dimensional dot matrix type two-dimensional code to process data in various forms including audio output. 2D code speech output device, 2D code speech conversion method, 2D code encoder, 2D code encoding method, Text document displayed on the screen of the combi- A text document voice method for voice conversion using sound quality elements, a Braille data generation device that generates Braille data from an intermediate language for voice generated by text-to-speech synthesis processing, a Braille data generation method, and these methods The present invention relates to a program to be executed and a recording medium which can be read overnight. Landscape technology
二次元コードは、 複数種類の文字をエンコードでき、 誤り訂正機能を有するこ とから、 流通や商品管理等の分野で利用されてきており、 様々な形態の二次元コ ードが開発されてきた。  Since two-dimensional codes can encode multiple types of characters and have an error correction function, they have been used in fields such as distribution and product management, and various forms of two-dimensional codes have been developed. .
従来の二次元コードは、 一次元のバーコ一ドに代替する用途への利用にとどま つており、 このため、 例えば管理コードやこれに付随する情報のように、 その要 求仕様は、 小容量の情報を格納できれば充分であった。 近年、 各種の障害者の自立を支援し、 社会参加を積極的に促進する機運が高ま つている。 このような動きの中で、 本願発明者は、 視聴覚障害者向けの文章読み 上げ装置の開発にあたり、 二次元コードの利用を検討した。 実用性の観点からそ の仕様として、 1ページの文章の情報、 具体的には、 日本語で 8 0 0文字程度を 例えば 2 c m2の記号で格納でき、 かつ、 市販のレーザプリン夕で印刷できること が要求された。 Conventional two-dimensional codes are used only to replace one-dimensional barcodes.Therefore, the required specifications, such as management codes and accompanying information, are limited to small volumes. It was enough to store the information. In recent years, there has been increasing momentum to support the independence of people with disabilities and actively promote social participation. In such a movement, the inventor of the present application examined the use of a two-dimensional code in developing a text-to-speech apparatus for the visually impaired. As a specification of the utility aspect Karaso, 1 page text information, specifically, can be stored in 8 0 0 of about characters for example 2 cm 2 symbols in Japanese, and printed in evening commercial laser purine It was required to be able to do it.
しかしながら、 上述の要求仕様を従来の二次元コードで実現しょうとすると、 所望の密度で印刷すれば充分な読み取り率が得られず、 この一方、 読み取れる密 度で印刷するとサイズが大きくなりすぎる、 という問題が発生した。  However, if the above-mentioned required specifications were to be realized with conventional two-dimensional codes, printing at a desired density would not provide a sufficient reading rate, while printing at a readable density would increase the size too much. Problem has occurred.
このような問題の原因として、 一つには、 従来の二次元コードが上述の大容量 の情報を格納するように設計されていないために、 容量を増やすとデータセル以 外の印刷領域のオーバへッドが大きくなつてしまう、 ということが挙げられる。 また、 読み取り率の問題は、 データセルをサンプリングするときに位置決めの 精度が十分に確保できないことである。 従来、 データセルの印刷ピッチを示す一 方法として、 データセルと同じサイズの明暗図形を 1セル毎に交互に並べる試み もあった。 しかしながら、 この方法では、 現状のレーザプリン夕で高密度で印刷 すると、 トナーの粒子が飛散ったり、 かすれるなど、 プリンタ特有の特性により 精度を高めることが困難であった。 この一方、 位置決めを充分な精度で実行でき れば、 デ一夕の読み取りについては、 印刷に多少のトナー飛散やかすれがあって も、 画像処理またはエラ一訂正符号処理により、 充分に複合化できることが判明 した。  One of the causes of such a problem is that conventional two-dimensional codes are not designed to store the above-mentioned large-capacity information. That is, the head becomes larger. Another problem with the read rate is that it is not possible to ensure sufficient positioning accuracy when sampling data cells. Conventionally, as one method of indicating the print pitch of a data cell, there has been an attempt to alternately arrange light and dark figures having the same size as the data cell for each cell. However, with this method, when printing at high density with the current laser printer, it was difficult to increase the accuracy due to printer-specific characteristics, such as toner particles being scattered or blurred. On the other hand, if the positioning can be performed with sufficient accuracy, it is possible to sufficiently combine the reading and image reading by image processing or error correction code processing even if there is some toner scattering or fading in printing. There was found.
また、 従来、 記号情報装置としては、 例えば特開平 7— 2 1 4 9 3 9号公報に 記載されているように、 予め記憶情報をホスト装置に記録させておき、 一次元バ 一コードに記録呼び出し機能の役目を持たせて、 記憶情報を音声にて出力させる システムや、 特開平 7— 1 8 2 3 7 9号公報に記載されているように、 バーコ一 ドから読み取ったデータを音声にて送信する携帯端末装置は知られていた。  Conventionally, as a symbol information device, for example, as described in Japanese Patent Application Laid-Open No. Hei 7-214939, storage information is recorded in a host device in advance and recorded in a one-dimensional code. A system that outputs the stored information by voice by providing the function of a calling function, or, as described in Japanese Patent Application Laid-Open No. 7-182379, converts data read from a bar code into voice. Mobile terminal devices for transmitting data have been known.
また、 特開平 7— 1 7 5 8 8 3号公報に記載されているように、 マトリックス 式二次元コードを読み取らせて、 記号のデータをテキスト文書データに変換する 装置および方法も知られていた。 しかしながら、 単独の装置本体で、 ドットマトリックス式二次元コードを読み 込んでデコード処理し、 規則音声合成処理部を介して内蔵スピーカから音声出力 させるとともに、 点字プリン夕用のデータを併せて出力することまではできなか つた。 Further, as described in Japanese Patent Application Laid-Open No. 7-175883, an apparatus and a method for reading a matrix type two-dimensional code and converting symbol data into text document data are also known. . However, the dot-matrix two-dimensional code must be read and decoded by the single device itself, output as voice from the built-in speaker via the regular voice synthesis processor, and output data for Braille printing. It was not possible until now.
また、 従来、 二次元コード音声化装置および二次元コード音声化方法として、 テキスト文書を二次元コード化して印字し、 この二次元コ一ド記号を読み取り装 置によりデコードして音声合成装置より出力する方法は多く試みられている。 また、 テキスト文書の音声化ソフトウェアも数多く市場に出されているが、 こ れらのソフトウェアでは、 最初に文書全体の音質要素を設定して、 テキスト文書 の最初から最後まで一定の音質要素にて音声化されていた。  Conventionally, as a two-dimensional code sounding device and a two-dimensional code sounding method, a text document is converted into a two-dimensional code and printed, and the two-dimensional code symbol is decoded by a reading device and output from a voice synthesizing device. Many attempts have been made to do so. There are also many text-to-speech software products on the market. In these softwares, the sound quality elements of the entire document are set first, and the sound quality elements are fixed from the beginning to the end of the text document. It was voiced.
従って、 従来の二次元コード音声化装置および二次元コード音声化方法におい ても、 一つのテキスト文書中に複数の音質要素を含有することは困難であり、 予 め設定された単一の音質要素にて音声化されていた。  Therefore, it is difficult for a conventional two-dimensional code sounding device and two-dimensional code sounding method to include a plurality of sound quality elements in a single text document. Had been voiced.
しかしながら、 テキスト文書全体が単一の音質要素で音声化されると、 非常に 単調であり、 聴取者を飽きさせるという問題があった。 特に、 文書を構成する複 数の文章が複数の異なる話者の存在を前提として記述された場合、 このようなテ キスト文書を最初から最後まで同一の音質要素にて音声化する現状は、 不自然で あり変化に乏しいという問題点があった。  However, when the entire text document was vocalized with a single sound quality element, it was very monotonous, and had a problem that the listener was bored. In particular, when multiple sentences that compose a document are described on the assumption that there are a plurality of different speakers, the current situation in which such a text document is transcribed from the beginning to the end with the same sound quality element is not suitable. There was the problem of being natural and of little change.
また、 従来、 コンピュータ点訳は、 漢字かな混じり文に対して辞書を参照しな がら日本語解析処理を行い、 点字データを出力するものであった。  In the past, computer braille translation was used to perform Japanese parsing on kanji and kana mixed sentences while referring to a dictionary and output braille data.
この一方で、 テキスト音声合成装置として、 例えば特開平 1 1— 3 3 8 6 7 3 号公報に記載されているように、 漢字かな混じり文に対して日本語解析処理を行 い、 音声合成パラメ一夕を付加した中間言語に変換して音声合成出力するものが あった。 即ち、 従来のテキスト音声合成装置では、 中間言語は音声デ一夕出力の ためにのみ使用されていた。  On the other hand, as a text-to-speech synthesizer, for example, as described in Japanese Patent Application Laid-Open No. H11-3338673, Japanese-language analysis processing is performed on sentences mixed with kanji and kana, and speech synthesis parameters are obtained. In some cases, it was converted to an intermediate language with an overnight message and output as speech synthesis. That is, in the conventional text-to-speech synthesizing apparatus, the intermediate language is used only for outputting speech data.
しかしながら、 一つの文章を点字と音声とで選択的に出力させたい場合もある このような場合、 点字についてはテキスト—点字変換で変換し、 この一方、 音声 についてはテキスト—音声変換合成で変換するという、 二通りの方法を用いる必 要があった。 このため、 二度の日本語解析が必要であり、 効率が悪いという問題 があった。 発明の開示 However, there is a case where one sentence is desired to be selectively output in Braille and voice. In such a case, Braille is converted by text-to-Braille conversion, while voice is converted by text-to-speech conversion and synthesis. Two methods had to be used. For this reason, twice Japanese analysis is required, which is inefficient. was there. Disclosure of the invention
本発明第 1の目的は、 汎用のレーザプリン夕で印刷でき、 充分な位置決め精度 を確保できる大容量 ·小サイズの二次元コード、 その読み取り方法、 プログラム およびコンピュータ読み取り可能な記録媒体を提供することにある。  A first object of the present invention is to provide a large-capacity and small-sized two-dimensional code which can be printed by a general-purpose laser printer and secure sufficient positioning accuracy, a reading method thereof, a program, and a computer-readable recording medium. It is in.
本発明の第 2の目的は、 ドットマトリックス式二次元コードを読み取り、 読み 取ったコード情報を処理して視覚、 聴覚、 触覚のいずれからも利用可能な形態で データ出力できる二次元コード音声化装置、 二次元コード音声化方法、 プログラ ムおよびコンピュータ読み取り可能な記録媒体を提供することにある。  A second object of the present invention is to provide a two-dimensional code speech device that can read a dot matrix type two-dimensional code, process the read code information, and output data in a form usable from any of visual, auditory, and tactile senses Another object of the present invention is to provide a two-dimensional code speech conversion method, a program, and a computer-readable recording medium.
本発明の第 3の目的は、 テキスト文書中の複数の文章を複数の異なる音質要素 で音声化することを可能にする二次元コードエンコーダ、 二次元コード音声化装 置、 二次元コードのエンコード方法、 二次元コード音声化方法、 テキスト文書音 声化方法、 プログラムおよびコンビュー夕読み取り可能な記録媒体を提供するこ とにある。  A third object of the present invention is to provide a two-dimensional code encoder, a two-dimensional code speech conversion device, a two-dimensional code encoding method, and a two-dimensional code encoding device, which enable a plurality of sentences in a text document to be vocalized by a plurality of different sound quality elements. It is an object of the present invention to provide a two-dimensional code conversion method, a text document conversion method, a program, and a recording medium readable by a computer.
本発明の第 4の目的は、 前述した問題を発生させることなく、 テキスト—音声 変換合成用に文書解析された中間言語から実際の話し言葉に沿った点訳を行う点 字データ作成装置、 点字データ作成方法、 プログラムおよびコンピュータ読み取 り可能な記録媒体を提供することにある。  A fourth object of the present invention is to provide a braille data generating apparatus and a braille data generating apparatus that perform braille translation along an actual spoken language from an intermediate language analyzed for text-to-speech conversion and synthesis without causing the problems described above. An object of the present invention is to provide a method, a program, and a computer-readable recording medium.
本発明の第 1の側面によれば、  According to a first aspect of the present invention,
バイナリデータがセル状に記号化されて二次元マトリクスをなすように配置さ れたデータ領域と、 上記第 1のデ一夕領域を囲むように配置され、 上記データ領 域のデータ密度の情報と位置決め情報とを与えるパターンと、 を備える二次元コ —ドであって、 上記パターンは、 隣り合う第 1の辺と第 2の辺とが上記第 1のデ 一夕領域に近接し、 上記第 1の辺と上記第 2の辺にそれそれ対向する第 3の辺と 第 4の辺とが上記デ一夕領域に離隔するように配置されたほぼ矩形の実線と、 上記第 1の辺と上記第 2の辺から外側に延在するようにそれそれ所定ビッチで 配置された第 1の突起部と第 2の突起部と、 上記第 3の辺と上記第 4の辺から上 記データ領域に向かって内側に延在するようにそれそれ所定ピッチで配置された 第 3の突起部と第 4の突起部と、 上記第 1の辺と上記第 2の辺の交点である第 1 の端点から上記第 1の辺と上記第 2の辺とをそれそれ延長するように配置された 第 5の突起部および第 6の突起部と、 上記第 1の端点とは異なる上記第 1の辺の 端点である第 2の端点から上記第 4の辺を延長させるように配置された第 7の突 起部と、 上記第 1の端点とは異なる上記第 2の辺の端点である第 3の端点から、 上記第 3の辺を延長させるように配置された第 8の突起部と、 を含み、 上記第 3 の辺と上記第 4の辺との交点である第 4の端点には突起部が配置されない二次元 コードが提供される。 A data area in which binary data is encoded into cells and arranged to form a two-dimensional matrix; and a data area arranged to surround the first data area, and information on data density in the data area. A two-dimensional code comprising: a pattern that provides positioning information; and a pattern in which the adjacent first and second sides are close to the first data area; A substantially rectangular solid line in which the third side and the fourth side respectively opposed to the first side and the second side are separated from the first overnight area; A first projection and a second projection each arranged at a predetermined bit so as to extend outward from the second side, and the data area from the third side and the fourth side. Are arranged at a predetermined pitch so as to extend inward toward A third protrusion, a fourth protrusion, and the first side and the second side extending from the first end point which is the intersection of the first side and the second side. The fifth side and the sixth side, and the fourth side is extended from a second end point that is an end point of the first side different from the first end point. The arranged seventh protrusion and an eighth protrusion arranged so as to extend the third side from a third end point which is an end point of the second side different from the first end point. A two-dimensional code is provided, comprising: a protrusion; and a fourth end point, which is an intersection of the third side and the fourth side, wherein no protrusion is arranged.
上記二次元コードによれば、 上記デ一夕密度と上記位置決め情報とを与える上 記パターンを備えるので、 上記バイナリデータの数量を増大させて上記データ領 域の占有面積が増大しても、 単一のパターンで上記セルの位置決めを行なうこと ができる。 これにより、 二次元コード全体の占有面積を、 上記データ領域に格納 する情報量の単純な倍数よりもはるかに小さくできる。 この結果、 大容量の情報 を高密度で格納する二次元コードが提供される。  According to the two-dimensional code, since the above-described pattern for providing the data density and the positioning information is provided, even if the occupation area of the data area is increased by increasing the number of the binary data, The cells can be positioned in one pattern. As a result, the area occupied by the entire two-dimensional code can be made much smaller than a simple multiple of the amount of information stored in the data area. As a result, a two-dimensional code that stores a large amount of information at a high density is provided.
上記第 1から第 8の突起部は、 読み取り画像内で上記データ密度と上記位置決 め情報とを取得するための見出し線として機能する。 即ち、 上記第 1の端点に上 記第 5および第 6の突起部が配置され、 上記第 2および第 3の端点に上記第 7お よび第 8の突起部がそれそれ配置される一方、 上記第 4の端点には突起部が配置 されないので、 上記第 4の端点は、 読み取り画像内で上記セルの位置座標を特定 するための基準点として選択することができる。 また、 上記第 1から第 4の突起 部がそれそれ所定ピッチで上記矩形実線に配置されるので、 これらの突起部の数 量を算出することにより、 上記データ領域内に記号化された上記バイナリデータ の数量を算出することが可能になる。 これにより、 上記データ領域におけるデー 夕密度の情報を取得することができる。 さらに、 読み取り画像内で上記突起部同 士を結ぶ直線を設けることにより、 これらの直線の交点の座標に基づいて上記セ ルの各位置座標を特定することが可能になる。  The first to eighth projections function as a headline for acquiring the data density and the positioning information in the read image. That is, the fifth and sixth protrusions are arranged at the first end point, and the seventh and eighth protrusions are arranged at the second and third end points, respectively. Since no projection is provided at the fourth end point, the fourth end point can be selected as a reference point for specifying the position coordinates of the cell in the read image. In addition, since the first to fourth protrusions are arranged on the rectangular solid line at predetermined pitches respectively, by calculating the number of these protrusions, the binary symbol encoded in the data area is calculated. The quantity of data can be calculated. This makes it possible to acquire information on the data density in the data area. Further, by providing straight lines connecting the projections in the read image, it is possible to specify the position coordinates of the cell based on the coordinates of the intersection of these straight lines.
上記第 1乃至第 4の辺の線幅と上記第 1乃至第 8の突起部の幅は、 上記セルの サイズに対応して設定されることが望ましい。  It is desirable that the line widths of the first to fourth sides and the widths of the first to eighth protrusions are set in accordance with the size of the cell.
上記第 1の突起部は、 上記第 1の端点から上記第 2の端点に向かって第 1の長 さのピッチで N ( Nは自然数) 個配置され、 上記第 2の突起部は、 上記第 1の端 点から上記第 3の端点に向かって第 2の長さのピッチで M (Mは自然数) 個配置 され、 上記第 3の突起部は、 上記第 3の端点から上記第 4の端点に向かって上記 第 1の長さのピッチで上記 N個配置され、 上記第 4の突起部は、 上記第 2の端点 から上記第 4の端点に向かって上記第 2の長さのピッチで上記 M個配置されると 良い。 上記データ領域のデータの容量は、 上記第 1から第 4の突起部を認識し、 上記 Nと Mの具体的数量を特定することにより、 容易に算出できる。 The first protrusion has a first length from the first end point toward the second end point. N (where N is a natural number) are arranged at a pitch of a second length from the first end point to the third end point at a pitch of a second length from the first end point to the third end point. ), The N third protrusions are arranged at a pitch of the first length from the third end point toward the fourth end point, and the fourth protrusion is It is preferable that the M pieces are arranged at a pitch of the second length from the second end point to the fourth end point. The data capacity of the data area can be easily calculated by recognizing the first to fourth protrusions and specifying the specific quantities of N and M.
上記二次元コードによれば、 データ領域を囲むように配置され、 上記デー夕領 域のデータ密度と位置決め情報とを与える複数の突起部が設けられたほぼ矩形状 のパターンを備えるので、 上記データ領域に格納されるデータ容量の大きさにか かわらず、 単一のパターンで各セルの位置決めを行なうことができる。 これによ り、 大容量の情報を格納するとともに読み取り精度の高い二次元コードが提供さ れる。  According to the two-dimensional code, the data area is provided so as to surround the data area, and has a substantially rectangular pattern provided with a plurality of protrusions for providing the data density and the positioning information of the data area. Regardless of the amount of data stored in the area, each cell can be positioned in a single pattern. This provides a two-dimensional code that stores a large amount of information and has high reading accuracy.
本発明の第 2の側面によれば、  According to a second aspect of the present invention,
二進化されたデ一夕のビットが明部または暗部の正方形データセルとして記号 化されて二次元マトリクスをなすように配置されたデータ部と、 上記データ部の 周囲部に配置され、 上記セルの印刷ピッチの情報を与える第 1の図形と、 上記デ —夕部の周囲部に配置され、 上記セルの回転方向の情報を与える第 2の図形と、 を備える二次元コードであって、 上記データ部は、 互いに直行する第 1および第 2の方向に上記デ一夕セルが互いに隣接してそれそれ N個 (Nは自然数) 配置さ れた正方形の小領域が、 上記第 1の方向に L個 (Lは自然数) 、 上記 2の方向に M個 (Mは自然数) だけ互いに隣接して配置されて構成され、 上記データ部の周 縁の形状は、 上記第 2の方向の第 1の辺と、 この第 1の辺に直交する第 2の辺と、 互いに直交し上記第 1および第 2の辺にそれそれ対向する第 3および第 4の辺と、 を有する矩形であり、 上記第 1の図形は、 上記第 1の辺に沿って上記データ部に 近接して配置され、 上記第 1の辺と上記第 2の辺との交点の近傍を起点として上 記小領域のサイズに応じたピッチで互いに離隔して配置された (M + 1 ) 個の第 1の線分と、 上記第 1の方向であって上記データ部の外側へ向けて上記第 1の線 分のほぼ中央からそれそれ突出するように設けられた (M + 1 ) 個の第 2の線分 と、 上記第 2の辺に沿って上記データ部に近接して配置され、 第 1個目の上記第 2の線分の頂点を起点として上記小領域のサイズに応じたピッチで互いに離隔し て配置された (L + 1 ) 個の第 3の線分と、 上記第 2の方向であって上記データ 部の外側へ向けて上記第 2の線分のほぼ中央からそれそれ突出するように設けら れた (L + 1 ) 個の第 4の線分と、 上記第 3の辺に平行な線に沿って上記データ 部に離隔して配置され、 上記第 4の線分の頂点を結ぶ線上の一点を起点として上 記小領域のサイズに応じたピッチで互いに離隔して配置された (M+ 1 ) 個の第 5の線分と、 対応する上記第 2の線分の延長線上にそれそれ配置され、 上記第 5 の線分のほぼ中央から上記デ一夕部の側へ向けて延出するように設けられた (M + 1 ) 個の第 6の線分と、 上記第 4の辺に平行な線に沿って上記データ部に離隔 して配置され、 上記第 2の線分の頂点を結ぶ線上の一点を起点として上記小領域 のサイズに応じたピッチで互いに離隔して配置された (L + 1 ) 個の第 7の線分 と、 対応する上記第 4の線分の延長線上にそれそれ配置され、 上記第 7の線分の ほぼ中央から上記データ部へ向けて突出するように設けられた第 8の線分と、 を 含み、 上記第 2の図形は、 その両端が上記 (M + 1 ) 個目の第 5の線分と上記A data part in which the binarized data bits are encoded as a square data cell of a bright part or a dark part and arranged so as to form a two-dimensional matrix; and a data part arranged around the data part, and A two-dimensional code, comprising: a first figure that provides information on a print pitch; and a second figure that is arranged around the data section and that provides information on the rotation direction of the cell. The part is a square small area in which the N cells (N is a natural number) are arranged adjacent to each other in the first and second directions orthogonal to each other. (L is a natural number) and M (M is a natural number) are arranged adjacent to each other in the above two directions, and the shape of the periphery of the data part is the first side in the second direction. And a second side orthogonal to the first side and orthogonal to each other And a third and fourth side respectively opposed to the first and second sides, and the first figure is arranged close to the data section along the first side. (M + 1) first lines spaced apart from each other at a pitch corresponding to the size of the small area starting from the vicinity of the intersection of the first side and the second side And (M + 1) second line segments provided so as to protrude from the center of the first line segment toward the outside of the data section in the first direction. Are arranged in close proximity to the data section along the second side, and are spaced apart from each other at a pitch corresponding to the size of the small area with a vertex of the first line segment as a starting point. The (L + 1) third line segments arranged, and the third line segments are provided so as to protrude from the center of the second line segments in the second direction toward the outside of the data portion. The (L + 1) fourth line segments and a line connecting the vertices of the fourth line segment are separated from each other along the line parallel to the third side in the data section. (M + 1) fifth line segments spaced apart from each other at a pitch corresponding to the size of the above small area starting from one point, and deviate from the extension line of the corresponding second line segment (M + 1) sixth line segments arranged so as to extend from substantially the center of the fifth line segment toward the de-night area, and It is arranged at a distance from the data section along a line parallel to the fourth side, and is spaced apart from each other at a pitch corresponding to the size of the small area starting from a point on a line connecting the vertices of the second line segment. (L + 1) 7th line segments and corresponding 4th line segments are respectively arranged on the extension lines, and from the approximate center of the 7th line segment to the data section An eighth line segment provided so as to protrude, and the second figure has the (M + 1) -th fifth line segment at both ends thereof.
( L + 1 ) 個目の第 7の線分に連続するように設けられる L字の図形であり、 上 記第 5の線分と上記第 7の線分は、 上記第 6の線分の頂点と上記第 8の線分の頂 点がそれそれ上記第 3の辺と上記第 4の辺から離隔するように上記デ一夕部から 離隔して配置される、 二次元コードが提供される。 It is an L-shaped figure provided so as to be continuous with the (L + 1) th seventh line segment, and the fifth line segment and the seventh line segment are the sixth line segment. A two-dimensional code is provided, wherein a vertex and a vertex of the eighth line segment are spaced apart from the data portion so as to be spaced apart from the third side and the fourth side, respectively. .
本発明の第 3の側面によれば、  According to a third aspect of the present invention,
上述した本発明の第 1の側面にかかる二次元コ一ドの読み取り方法であって、 上記二次元コードの画像を取得する手順と、 取得された上記画像内で、 周縁が上 記第 4の端点に接するとともに、 上記第 7の突起部の少なくとも一部と上記第 8 の突起部の少なくとも一部とを含むように、 上記パターンを取囲む矩形領域を切 り出す手順と、 上記第 4の端点、 上記第 7の突起部および上記第 8の突起部と上 記矩形領域の周縁との各接点をそれそれ第 1の接点、 第 2の接点および第 3の接 点として特定し、 上記第 5または第 6の突起部と上記矩形領域の周縁との接点を 第 4の接点として認識する手順と、 上記第 1の接点と上記第 2の接点とを結ぶ第 The method for reading a two-dimensional code according to the first aspect of the present invention described above, comprising: a procedure for acquiring an image of the two-dimensional code; A step of cutting out a rectangular area surrounding the pattern so as to be in contact with the end point and to include at least a part of the seventh protrusion and at least a part of the eighth protrusion; The end points, the seventh projecting portion, the eighth projecting portion, and the respective contacts of the periphery of the rectangular area are specified as a first contact, a second contact, and a third contact, respectively. A step of recognizing a contact point between the fifth or sixth protrusion and the periphery of the rectangular area as a fourth contact point, and a step of connecting the first contact point and the second contact point.
1の線分を設定し、 上記第 1の接点と上記第 3の接点とを結ぶ第 2の線分を設定 する手順と、 上記第 1の線分に平行な第 1の仮想線を設定して上記第 4の接点か ら上記第 3の接点の方向へ移動させることにより、 上記第 1の突起部と上記第 3 の突起部と上記第 2の辺とを認識する手順と、 上記第 2の線分に平行な第 2の仮 想線を設定して上記第 4の接点から上記第 2の接点の方向へ移動させることによ り、 上記第 2の突起部と上記第 4の突起部と上記第 1の辺とを認識する手順と、 認識された第 1乃至第 4の突起部の数量に基づいて上記デ一夕領域における上記 バイナリデータの容量を算出する手順と、 上記第 1の線分および上記第 2の線分 を X軸または Y軸とする座標系または上記矩形領域の周縁をなす辺のうち互いに 直交する 2辺を X軸または Y軸とする座標系を設定して上記データ領域内の各セ ルの座標を特定する手順と、 上記セル座標に基づいて上記記号化されたバイナリ データをビット列デ一夕に変換する手順と、 を備える二次元コードの読み取り方 法が提供される。 Set the first line segment and set the second line segment connecting the first contact and the third contact And setting a first virtual line parallel to the first line segment and moving the first virtual line from the fourth contact point to the third contact point. A step of recognizing a third protrusion and the second side; and setting a second virtual line parallel to the second line segment to direct the direction from the fourth contact to the second contact. By moving the second projection, the fourth projection, and the first side, based on the number of the recognized first to fourth projections. A procedure for calculating the capacity of the binary data in the data area; and a coordinate system using the first line segment and the second line segment as an X axis or a Y axis, or a side forming a periphery of the rectangular area. A procedure of setting a coordinate system in which two sides orthogonal to each other are set as an X axis or a Y axis and specifying the coordinates of each cell in the data area; Reading how the two-dimensional code and a procedure for converting the binary data the symbolized on the basis of the cell coordinate to bit Retsude Isseki is provided.
上記二次元コードの読み取り方法によれば、 上記複数の突起部に基づいて読み 取り画像内における各セルの位置座標を特定するので、 記号化されたバイナリデ —夕を高精度で復元することができる。 また、 認識された第 1乃至第 4の突起部 の数量に基づいて上記デ一夕領域における上記バイナリデータの容量を算出する ので、 上記デ一夕領域のデータ密度を容易かつ迅速に取得することができる。 本発明の第 4の側面によれば、  According to the two-dimensional code reading method, the position coordinates of each cell in the read image are specified based on the plurality of protrusions, so that the symbolized binary data can be restored with high accuracy. . Further, since the capacity of the binary data in the data area is calculated based on the recognized number of the first to fourth protrusions, the data density of the data area can be easily and quickly obtained. Can be. According to a fourth aspect of the present invention,
上述した本発明の第 2の側面にかかる二次元コードの読み取り方法であって、 上記二次元コードの画像を取得する手順と、 取得された上記画像内で、 周縁が上 記第 2の図形のコーナ部に接するとともに、 第 1個目の上記第 5の線分の少なく とも一部と第 1個目の第 7の線分の少なくとも一部とを含むように、 上記パター ンを取囲む矩形領域を切り出す手順と、 上記コーナ部との接点、 上記第 1個目の 第 7の線分と上記矩形領域の周縁との接点および上記第 1個目の上記第 5の線分 と上記矩形領域の周縁との接点をそれそれ第 1の接点、 第 2の接点および第 3の 接点として特定し、 第 1個目の上記第 1の線分または第 1個目の上記第 3の線分 と上記矩形領域の周縁との接点を第 4の接点として認識する手順と、 上記第 1の 接点と上記第 2の接点とを結ぶ第 9の線分を設定し、 上記第 1の接点と上記第 3 の接点とを結ぶ第 1 0の線分を設定する手順と、 上記第 9の線分に平行な第 1の 仮想線を設定して上記第 2の接点から上記第 4の接点の方向へ移動させることに より、 上記第 7の線分と上記第 2の線分と上記第 6の線分と上記第 3の線分とを 認識する手順と、 上記第 1 0の線分に平行な第 2の仮想線を設定して上記第 3の 接点から上記第 4の接点の方向へ移動させることにより、 上記第 5の線分と上記 第 4の線分と上記第 8の線分と上記第 1の線分とを認識する手順と、 認識された 第 2、 第 4、 第 6、 および第 8の線分の数量に基づいて上記データ部における上 記データの容量を算出する手順と、 上記矩形領域の周縁をなす辺のうち互いに直 交する 2辺を X軸または Y軸とする座標系を設定して上記デ一夕部内の各セルの 座標を特定する手順と、 上記セル座標に基づいて上記記号化されたデータをビッ ト列デ一夕に変換する手順と、 を備える二次元コードの読み取り方法が提供され 本発明の第 5の側面によれば、 The method for reading a two-dimensional code according to the second aspect of the present invention described above, comprising: a step of acquiring an image of the two-dimensional code; and a step in which the periphery of the second graphic is acquired in the acquired image. A rectangle surrounding the pattern so as to be in contact with the corner portion and to include at least a part of the first fifth line segment and at least a part of the first seventh line segment. A step of cutting out an area, a contact point with the corner portion, a contact point between the first seventh line segment and the periphery of the rectangular area, and the first fifth line segment and the rectangular area The first contact point, the second contact point, and the third contact point are identified as the first contact point, the second contact point, and the third contact point, respectively. A step of recognizing a contact point with the periphery of the rectangular area as a fourth contact point; and a step of recognizing the first contact point and the second contact point. Setting a ninth segment connecting the first contact and the third contact, and setting a 10th segment connecting the third contact and the first contact parallel to the ninth segment. By setting a virtual line and moving it from the second contact point to the fourth contact point, the seventh line segment, the second line segment, the sixth line segment, and the third line segment are moved. And a second virtual line parallel to the 10th line segment is set and moved in the direction from the third contact point to the fourth contact point. Recognizing the fifth line segment, the fourth line segment, the eighth line segment, and the first line segment, and recognizing the second, fourth, sixth, and eighth line segments. Calculating the capacity of the above data in the data section based on the quantity of the above, and setting a coordinate system in which two sides orthogonal to each other among the sides forming the periphery of the rectangular area are set as the X axis or the Y axis. A procedure for specifying the coordinates of each cell in the data section, and converting the encoded data into a bit string based on the cell coordinates. According to a fifth aspect of the present invention method for reading two-dimensional codes having a forward, a is provided,
上述した本発明の第 3の側面にかかる二次元コードの読み取り方法をコンビュ —夕に実行させるプログラムが提供される。  A program is provided for executing the method of reading a two-dimensional code according to the third aspect of the present invention in the evening.
本発明の第 6の側面によれば、  According to a sixth aspect of the present invention,
上述した本発明の第 3の側面にかかる二次元コ一ドの読み取り方法をコンビュ —夕に実行させるプログラムを記録したコンビユー夕読み取り可能な記録媒体が 提供される。  There is provided a recording medium readable by a computer which records a program for executing the method for reading a two-dimensional code according to the third aspect of the present invention in the evening.
本発明の第 7の側面によれば、  According to a seventh aspect of the present invention,
上述した本発明の第 4の側面にかかる二次元コードの読み取り方法をコンビュ 一夕に実行させるプログラムが提供される。  There is provided a program for executing the above-described method for reading a two-dimensional code according to the fourth aspect of the present invention all at once on a computer.
本発明の第 8の側面によれば、  According to an eighth aspect of the present invention,
上述した本発明の第 4の側面にかかる二次元コ一ドの読み取り方法をコンビュ 一夕に実行させるプログラムを記録したコンビユー夕読み取り可能な記録媒体が 提供される。  There is provided a recording medium readable by a computer which stores a program for executing the method for reading a two-dimensional code according to the fourth aspect of the present invention.
本発明の第 9の側面によれば、  According to a ninth aspect of the present invention,
テキスト文書を含む第 1の情報が記号化されて記録された第 1の二次元コード の画像データをデコ一ド処理して得られた被デコ一ド処理データの入力を受け、 上記被デコード処理デ一夕から音声波形信号を作成するための中間的なデータで ある音素コード列データを生成する音素コード列データ生成部と、 上記音素列コ —ドデータを処理して音声波形デ一夕を作成する規則音声合成処理部と、 上記音 素コード列データを処理して点字データを作成する点訳部と、 上記音声波形デー 夕と上記点字データのうち少なくとも一つを選択的に出力する出力制御部と、 を 備える二次元コード音声化装置が提供される。 Upon receiving input of decoded processing data obtained by decoding image data of a first two-dimensional code in which first information including a text document is encoded and recorded, the decoding processing is performed. Intermediate data for creating an audio waveform signal from the night A phoneme code string data generating unit for generating a certain phoneme code string data; a rule speech synthesis processing unit for processing the phoneme code data to generate a speech waveform data; and processing the phoneme code string data. A two-dimensional code conversion device, comprising: a braille translation unit that generates Braille data by using a voice translation unit; and an output control unit that selectively outputs at least one of the audio waveform data and the Braille data.
上記二次元コード音声化装置によれば、 上記音素コード列データを処理して点 字データを作成する点訳部と、 上記音声波形データと上記点字データのうち少な くとも一つを選択的に出力する出力制御部と、 を備えるので、 二次元コードにコ 一ド化された情報を聴覚もしくは触覚、 または聴覚および触覚を介して選択的に 取得することができる。  According to the two-dimensional code speech conversion device, a braille translation unit that processes the phoneme code string data to generate Braille data, and selectively outputs at least one of the speech waveform data and the Braille data And an output control unit that performs the above operation, so that the information encoded in the two-dimensional code can be selectively obtained through the auditory or tactile sense or the auditory and tactile senses.
上記二次元コード音声化装置は、 上記被デコード処理データからテキストデー 夕を作成するテキストデータ作成部をさらに備え、 上記出力制御部は、 上記テキ ストデ一夕と上記音声波形データと上記点字デ一夕のうち少なくとも一つを選択 的に出力すると良い。 これにより、 二次元コードの情報を聴覚、 触覚および視覚 の任意の組み合わせを介して取得することができる。  The two-dimensional code speech conversion device further includes a text data creation unit for creating text data from the decoded data, and the output control unit includes the text data, the audio waveform data, and the braille data. It is good to selectively output at least one of the evenings. Thereby, the information of the two-dimensional code can be obtained through any combination of the auditory, tactile, and visual senses.
上記出力制御部は、 上記音声波形データ、 上記点字データまたは上記テキスト データのデータ形式をそれそれの出力装置の仕様に適合させるための接続制御デ 一夕を含む第 2の情報が記号化された第 2の二次元コードの画像データをデコー ド処理して得られた出力制御信号の入力を受け、 上記出力制御信号に基づいて上 記音声波形データ、 上記点字データまたは上記テキストデ一夕のデータ形式を変 更することが望ましい。 これにより、 データ形式の設定 ·調整を非常に容易に実 現することができる。  The output control unit encodes second information including connection control data for adapting the data format of the audio waveform data, the Braille data, or the text data to the specifications of each output device. An input of an output control signal obtained by decoding image data of the second two-dimensional code is received, and based on the output control signal, the audio waveform data, the braille data, or the data of the text data is received It is desirable to change the format. This makes it very easy to set and adjust the data format.
上記二次元コード音声化装置は、 上記被デコード処理データを格納する複数の 記憶領域を有する記憶部をさらに備えると良い。 これにより、 複数の二次元コ一 ドから得られた上記被デコード処理データを一括して処理することが可能になる t 上記二次元コ一ド音声化装置は、 上記画像デ一夕をデコ一ド処理して上記被デ コード処理データを出力するデコード部と、 上記音声波形データの入力を受けて 上記テキスト文書を音声出力する音声出力部とをさらに備えることが好ましい。 また、 上記二次元コード音声化装置は、 上記第 1の二次元コードまたは上記第 2の二次元コードを撮像して上記画像データを出力する撮像部をさらに備えると 好適である。 The two-dimensional code audio device may further include a storage unit having a plurality of storage areas for storing the data to be decoded. This makes it possible to collectively process the decoded data obtained from a plurality of two-dimensional codes. T The two-dimensional code sound conversion device decodes the image data It is preferable that the apparatus further comprises a decoding unit for outputting the decoded data after the decoding process, and an audio output unit for receiving the input of the audio waveform data and outputting the text document as audio. Further, the two-dimensional code speech conversion device may be configured such that the first two-dimensional code or the second It is preferable to further include an imaging unit that captures the two two-dimensional codes and outputs the image data.
本発明にかかる二次元コード音声化装置の好適な実施態様において、 上記撮像 部は、 上記二次元コードを受け入れる開口部が設けられ、 この開口部に近接した 位置に配設された光源と、 この光源を覆うように配設された光拡散用レンズとを 有する照明機構と、 上記照明機構の上記開口部に対向する位置に設けられて上記 二次元コードを撮像する撮像素子とを備え、 上記光拡散用レンズは、 磨りガラス をなすようにその表面が加工され、 上記照明機構は、 少なくとも上記光源から撮 像素子の取り付け位置に至るまで延在して設けられて上記光源からの光を上記開 口部に均一に照射されるための乱反射用材料が内周面に設けられた筒状の乱反射 部材をさらに有する。 上記撮像素子は、 例えば C C D素子や C M O S等のィメー ジセンサである。  In a preferred embodiment of the two-dimensional code audio device according to the present invention, the imaging section is provided with an opening for receiving the two-dimensional code, and a light source disposed at a position close to the opening; An illumination mechanism having a light diffusion lens disposed so as to cover the light source; and an imaging element provided at a position facing the opening of the illumination mechanism and imaging the two-dimensional code, The surface of the diffusion lens is processed so as to form frosted glass, and the illumination mechanism is provided so as to extend from at least the light source to a position where the imaging element is mounted, and opens the light from the light source. The image display device further includes a cylindrical diffuse reflection member provided on the inner peripheral surface with a diffuse reflection material for uniformly irradiating the mouth. The image sensor is, for example, an image sensor such as a CCD element or a CMOS.
本発明の第 1 0の側面によれば、  According to a tenth aspect of the present invention,
テキスト文書を含む第 1の情報が記号化されて記録された第 1の二次元コード を撮像して第 1の画像データを出力する二次元コ一ド撮像過程と、 上記第 1の画 像データをデコード処理して被デコード処理データを出力するデコード過程と、 上記被デコード処理データから音声波形信号を作成するための中間的なデータで ある音素コード列データを生成する音素コード列データ生成過程と、 上記音素列 コードデ—夕を処理して音声波形デ—夕を作成する規則音声合成処理過程と、 上 記音素コード列データを処理して点字データを作成する点訳過程と、 上記音声波 形デ一夕と上記点字データのうち少なくとも一つを選択的に出力する出力制御過 程と、 を備える二次元コード音声化方法が提供される。  A two-dimensional code imaging step of imaging a first two-dimensional code in which first information including a text document is encoded and recorded and outputting first image data; and the first image data A decoding process of decoding the decoded data and outputting decoded data; a phoneme code sequence data generating process of generating phoneme code sequence data which is intermediate data for generating an audio waveform signal from the decoded data. A rule speech synthesis process for creating the speech waveform data by processing the phoneme sequence code data; a braille translation process for creating the Braille data by processing the phoneme code sequence data; A two-dimensional code conversion method comprising: an output control process for selectively outputting at least one of the Braille data.
上記二次元コード音声化方法によれば、 上記音素コード列データを処理して点 字データを作成する点訳過程と、 上記音声波形デ一夕と上記点字データのうち少 なくとも一つを選択的に出力する出力制御過程と、 を備えるので、 二次元コード にコード化された情報を聴覚もしくは触覚、 または聴覚および触覚を介して選択 的に取得することが可能になる。  According to the two-dimensional code speech conversion method, a braille translation process of processing the phoneme code string data to generate Braille data, and selectively selecting at least one of the speech waveform data and the Braille data And an output control step of outputting the information to the two-dimensional code, so that the information encoded in the two-dimensional code can be selectively acquired through the auditory or tactile sense or the auditory and tactile senses.
上記二次元コード音声化方法は、 上記被デコード処理データからテキストデ一 夕を作成するテキストデータ作成過程をさらに備え、 上記出力制御過程は、 上記 テキストデータと上記音声波形データと上記点字デ一夕のうち少なくとも一つを 選択的に出力することが望ましい。 これにより、 二次元コードの情報を聴覚、 触 覚および視覚の任意の組み合わせを介して取得することができる。 The two-dimensional code speech conversion method further includes a text data creation step of creating a text data from the decoded data, and the output control step includes: It is desirable to selectively output at least one of the text data, the audio waveform data, and the Braille data. Thereby, the information of the two-dimensional code can be obtained through any combination of hearing, touch, and vision.
上記二次元コード撮像過程は、 上記音声波形デ一夕、 上記点字データまたは上 記テキストデ一夕のデ一夕形式をそれそれの出力装置の仕様に適合させるための 接続制御データを含む第 2の情報が記号化された第 2の二次元コードを撮像して 第 2の画像データを出力する過程を含み、 上記デコード過程は、 上記第 2の画像 データをデコード処理して接続制御信号を出力する過程を含み、 上記出力制御過 程は、 上記出力制御信号に基づいて上記音声波形データ、 上記点字データまたは 上記テキストデ一夕のデ一夕形式を変更する過程を含むことが好ましい。 これに より、 データ形式の設定 ·調整を非常に容易に実現することができる。  The two-dimensional code imaging process includes a second process including connection control data for adapting the audio waveform data, the braille data, or the text data format described above to the specifications of each output device. And outputting a second image data by imaging a second two-dimensional code in which the information of the second image data is symbolized. The decoding process decodes the second image data and outputs a connection control signal. Preferably, the output control step includes a step of changing the audio waveform data, the Braille data, or the text / data format based on the output control signal. This makes it very easy to set and adjust the data format.
本発明の第 1 1の側面によれば、  According to a eleventh aspect of the present invention,
上述した二次元コード音声化方法をコンピュータに実行させるプログラムが提 供される。 これにより、 本発明にかかる二次元コード音声化方法を汎用のコンビ ユー夕を用いて実現することができる。  There is provided a program for causing a computer to execute the above-described two-dimensional code conversion method. Thus, the two-dimensional code speech conversion method according to the present invention can be realized using a general-purpose combination.
本発明の第 1 2の側面によれば、  According to a first and second aspect of the present invention,
上述した二次元コード音声化方法をコンピュー夕に実行させるプログラムを格 納したコンビユー夕読み取り可能な記録媒体が提供される。  A recording medium which stores a program for causing a computer to execute the above-described two-dimensional code conversion method is provided.
本発明の第 1 3の側面によれば、  According to a thirteenth aspect of the present invention,
テキスト文書と、 規則音声合成用の複数の異なる音質要素とを視覚的に表示す る表示部と、 表示された上記文書から任意の文章をユーザに選択させるとともに、 選択された上記文章に対応させる上記音質要素を上記複数の音質要素からユーザ に選択させる選択部と、 選択された上記音質要素で上記文章を音声合成処理をさ せるための音質要素属性切換用制御信号を上記文章のテキストデ一夕に付加する 制御信号付加部と、 上記文章の上記テキストデータを上記音質要素属性切換用制 御信号とともに二次元コードにコ一ド化し、 上記音質要素属性切換用制御信号が コード化された音質要素属性切換用制御記号を含む二次元コードを作成するェン コード部と、 を備える二次元コードエンコーダが提供される。  A display unit for visually displaying a text document and a plurality of different sound quality elements for regular speech synthesis; and allowing the user to select an arbitrary sentence from the displayed document and to correspond to the selected sentence. A selection unit that allows a user to select the sound quality element from the plurality of sound quality elements; and a sound quality element attribute switching control signal for causing the sentence to be subjected to speech synthesis processing using the selected sound quality element. A control signal adding section to be added in the evening, and the text data of the text is converted into a two-dimensional code together with the sound quality element attribute switching control signal, and the sound quality is obtained by encoding the sound quality element attribute switching control signal. And a two-dimensional code encoder for generating a two-dimensional code including a control symbol for element attribute switching.
上述した二次元コードエンコーダによれば、 上記選択部がテキスト文書から任 意の文章をユーザに選択させるとともに、 選択された上記文章に対応させる音質 要素を上記複数の音質要素からユーザに選択させ、 上記ェンコ一ド部が上記文章 の上記テキストデータを上記音質睪素属性切換用制御信号とともに二次元コード にコード化するので、 二次元コードの音声化処理において複数の音質要素による 音声化を可能にする二次元コードを作成することができる。 According to the above-described two-dimensional code encoder, the selection unit is configured to perform the task based on the text document. The user is allowed to select a desired sentence, and the user is allowed to select a sound quality element corresponding to the selected sentence from the plurality of sound quality elements, and the encode section converts the text data of the sentence into the sound quality element attribute. Since it is encoded into a two-dimensional code together with the switching control signal, it is possible to create a two-dimensional code that enables speech by a plurality of sound quality elements in the two-dimensional code speech processing.
本発明の第 1 4の側面によれば、  According to a fifteenth aspect of the present invention,
規則音声合成用の複数の異なる音質要素を格納する記憶部と、 文章のテキスト デ一夕がコード化された記号と、 上記文章に対応して選択されて上記文章のテキ ストデ一夕に付加された音質要素で上記文章を音声合成処理させるための音質要 素属性切換用制御信号がコード化された音質要素属性切換用制御記号とを含む二 次元コードを読み取る二次元コード読み取り部と、 読み取られた上記二次元コー ドをデコードして上記文章のテキストデ一夕と、 このテキストデータに付加され た上記音質要素属性切換用制御信号とを出力するデコード部と、 上記音質要素属 性切換用制御信号に基づいて、 上記選択された音質要素に対応する上記音質要素 を上記記憶部から引き出し、 引き出された上記音質要素で上記文章を音声化処理 する音声合成部と、 を備える二次元コード音声化装置が提供される。  A storage unit for storing a plurality of different sound quality elements for regular speech synthesis, a symbol in which the text of the text is coded, and a symbol selected corresponding to the text and added to the text of the text. A two-dimensional code reading unit for reading a two-dimensional code including a sound quality element attribute switching control signal coded with a sound quality element attribute switching control signal for causing the above-mentioned text to be subjected to speech synthesis processing with the sound quality element; A decoding unit for decoding the two-dimensional code and outputting the text data of the sentence and the control signal for switching the sound quality element attribute added to the text data; and the control for switching the sound quality element attribute. Based on the signal, the sound quality element corresponding to the selected sound quality element is extracted from the storage unit, and the sentence is converted into a speech using the extracted sound quality element. And a two-dimensional code audio device comprising:
本発明の第 1 4の側面にかかる二次元コード音声化装置によれば、 記号化され た上記文章に付加された音質要素属性切換用制御記号を含む上記二次元コードの 画像データを上記デコ一ド部がデコードし、 上記音声合成部が上記音質要素属性 切換用制御信号に基づいて、 上記選択された音質要素に一致する音質要素で上記 文章を音声化処理するので、 複数の文章を含む文書について、 文章ごとに異なる 音質要素で音声化することができる。  According to the two-dimensional code speech conversion device according to the fourteenth aspect of the present invention, the two-dimensional code image data including the sound quality element attribute switching control symbol added to the symbolized text is converted to the deco-coded data. And the voice synthesis unit decodes the sentence with a sound quality element that matches the selected sound quality element based on the sound quality element attribute switching control signal. Can be converted into speech with different sound quality elements for each sentence.
本発明の第 1 5の側面によれば、  According to a fifteenth aspect of the present invention,
テキスト文書と、 規則音声合成用の複数の異なる音質要素とを視覚的に表示す る表示手順と、 表示された上記文書から任意の文章をユーザに選択させるととも に、 選択された上記文章に対応させる上記音質要素を上記複数の音質要素からュ 一ザに選択させる選択手順と、 選択された上記音質要素で上記文章を音声合成処 理をさせるための音質要素属性切換用制御信号を上記文章のテキストデ一夕に付 加する制御信号付加手順と、 上記文章の上記テキストデ一夕を上記音質要素属性 切換用制御信号とともに二次元コ一ドにコ一ド化し、 上記音質要素属性切換用制 御信号がコード化された音質要素属性切換用制御記号を含む二次元コードを作成 するェンコ一ド手順と、 を備える二次元コードのェンコード方法が提供される。 上述のエンコード方法によれば、 テキスト文書から任意の文章をユーザに選択 させるとともに、 選択された上記文章に対応させる音質要素を上記複数の音質要 素からユーザに選択させる選択手順と、 上記ェンコ一ド部が上記文章の上記テキ ストデータを上記音質要素属性切換用制御信号とともに二次元コードにコード化 するエンコード手順と、 を備えるので、 二次元コードの音声化処理において複数 の音質要素による音声化を可能にする二次元コードを作成することができる。 本発明の第 1 6の側面によれば、 A display procedure for visually displaying a text document and a plurality of different sound quality elements for regular speech synthesis, and allowing the user to select an arbitrary sentence from the displayed document, A selection procedure for causing a user to select the corresponding sound quality element from the plurality of sound quality elements, and a sound quality element attribute switching control signal for causing the text to be subjected to speech synthesis processing using the selected sound quality element; A control signal adding procedure to be added to the text data and the text quality attribute of the text An encoding procedure for coding into a two-dimensional code together with the switching control signal and creating a two-dimensional code including a sound quality element attribute switching control symbol in which the sound quality element attribute switching control signal is coded; A two-dimensional code encoding method comprising: According to the encoding method described above, a user is allowed to select an arbitrary sentence from a text document, and the user is allowed to select a sound quality element corresponding to the selected sentence from the plurality of sound quality elements. And an encoding procedure for encoding the text data of the text into a two-dimensional code together with the control signal for switching the sound quality element attribute. A two-dimensional code can be created. According to a sixteenth aspect of the present invention,
文章のテキストデ一夕がコード化された記号と、 上記文章に対応して選択され て上記文章のテキストデ一夕に付加された音質要素で上記文章を音声合成処理さ せるための音質要素属性切換用制御信号がコード化された音質要素属性切換用制 御記号とを含む二次元コードを読み取る二次元コード読み取り手順と、 読み取ら れた上記二次元コードをデコードして上記文章の上記テキストデータと、 このテ キストデ一夕に付加された上記音質要素属性切換用制御信号とを出力するデコ一 ド手順と、 上記音質要素属性切換用制御信号に基づいて、 上記選択された音質要 素に一致する音質要素を予め登録された複数の音質要素から取り出し、 上記取り 出された音質要素で上記文章を音声化処理する音声合成手順と、 を備える二次元 コード音声化方法が提供される。  A symbol in which the text of the text is coded, and a sound quality element attribute for causing the text to be subjected to speech synthesis processing with the sound quality element selected corresponding to the text and added to the text of the text. A two-dimensional code reading procedure for reading a two-dimensional code including a sound quality element attribute switching control symbol in which a switching control signal is coded; and decoding the read two-dimensional code to read the text data of the text. A decoding procedure for outputting the sound quality element attribute switching control signal added to the text data, and matching the selected sound quality element based on the sound quality element attribute switching control signal. A speech synthesis procedure for extracting a sound quality element from a plurality of pre-registered sound quality elements, and converting the sentence into a speech using the extracted sound quality element. A method is provided.
本発明の第 1 6の側面にかかる二次元コード音声化方法によれば、 記号化され た上記文章に付加された音質要素属性切換用制御記号を含む上記二次元コードを デコードし、 デコードされた上記音質要素属性切換用制御信号に基づいて、 上記 選択された音質要素に一致する音質要素で上記文章を音声化処理するので、 複数 の文章を含む文書について文章ごとに異なる音質要素で音声化することができる 本発明の第 1 7の側面によれば、  According to the two-dimensional code speech conversion method according to the sixteenth aspect of the present invention, the two-dimensional code including the sound quality element attribute switching control symbol added to the symbolized text is decoded and decoded. Based on the sound quality element attribute switching control signal, the sentence is voice-processed with a sound quality element that matches the selected sound quality element, so that a document including a plurality of texts is voiced with a different sound quality element for each text. According to a seventeenth aspect of the present invention,
テキスト文書と、 規則音声合成用の複数の異なる音質要素とを視覚的に表示す る表示手順と、 表示された上記文書から任意の文章をユーザに選択させるととも に、 選択された上記文章に対応させる上記音質要素を上記複数の音質要素からュ 一ザに選択させる選択手順と、 選択された上記音質要素で上記文章を音声合成処 理させるための音質要素属性切換用制御信号を上記文章のテキストデ一夕に付加 する制御信号付加手順と、 上記文章の上記テキス卜データを上記音質要素属性切 換用制御信号とともに二次元コードにコ一ド化し、 上記音質要素属性切換用制御 信号がコード化された音質要素属性切換用制御記号を含む二次元コードを作成す るエンコード手順と、 上記二次元コ一ドを読み取る二次元コード読み取り手順と、 読み取られた上記二次元コ一ドをデコードして上記文章の上記テキストデ一夕と 上記音質要素属性切換用制御信号とを出力するデコード手順と、 上記音質要素属 性切換用制御信号に基づいて、 上記選択された音質要素に一致する音質要素を予 め登録された複数の上記音質要素から取り出し、 上記取り出された音質要素で上 記文章を音声化処理する音声合成手順と、 を備えるテキスト文書音声化方法が提 供される。 A display procedure for visually displaying a text document and a plurality of different sound quality elements for regular speech synthesis, and allowing the user to select an arbitrary sentence from the displayed document, The corresponding sound quality element is set from the plurality of sound quality elements. A control signal adding procedure for adding a sound quality element attribute switching control signal for causing the sentence to be subjected to speech synthesis processing with the selected sound quality element to the text data of the sentence, The text data of the text is converted into a two-dimensional code together with the sound quality element attribute switching control signal, and the sound quality element attribute switching control signal includes a coded sound quality element attribute switching control symbol. An encoding procedure for creating a two-dimensional code, a two-dimensional code reading procedure for reading the two-dimensional code, a decoding of the two-dimensional code that has been read, the text data of the text, and the sound quality element. A decoding procedure for outputting an attribute switching control signal, and a tone element that matches the selected tone element based on the tone element attribute switching control signal are registered in advance. Removed from the plurality of the sound elements, text document-speech method and a speech synthesis procedure for handling audio of the upper Symbol sentence above retrieved sound element is provide.
本発明の第 1 8の側面によれば、  According to an eighteenth aspect of the present invention,
テキスト文書と、 規則音声合成用の複数の異なる音質要素とを視覚的に表示す る表示手順と、 表示された上記文書から任意の文章をユーザに選択させるととも に、 選択された上記文章に対応させる上記音質要素を上記複数の音質要素からュ 一ザに選択させる選択手順と、 選択された上記音質要素で上記文章を音声合成処 理をさせるための音質要素属性切換用制御信号を上記文章のテキストデ一夕に付 加する制御信号付加手順と、 上記文章の上記テキストデ一夕を上記音質要素属性 切換用制御信号とともに二次元コードにコ一ド化し、 上記音質要素属性切換用制 御信号がコード化された音質要素属性切換用制御記号を含む二次元コ一ドを作成 するェンコ一ド手順と、 を備える二次元コードのェンコード方法をコンビユー夕 に実行させるプログラムが提供される。  A display procedure for visually displaying a text document and a plurality of different sound quality elements for regular speech synthesis, and allowing the user to select an arbitrary sentence from the displayed document, A selection procedure for causing a user to select the corresponding sound quality element from the plurality of sound quality elements, and a sound quality element attribute switching control signal for causing the text to be subjected to speech synthesis processing using the selected sound quality element; A control signal adding procedure to be added to the text data of the above, and the text data of the text are converted into a two-dimensional code together with the sound quality element attribute switching control signal, and the sound quality element attribute switching control is performed. A code encoding procedure for creating a two-dimensional code including a signal-coded sound quality element attribute switching control symbol, and an encoding method for a two-dimensional code comprising: Program is provided.
これにより、 上述したエンコード方法を汎用のコンビュ一夕を用いて実現する ことができる。  Thus, the above-described encoding method can be realized using a general-purpose computer.
本発明の第 1 9の側面によれば、  According to a nineteenth aspect of the present invention,
文章のテキストデ一夕がコード化された記号と、 上記文章に対応して選択され て上記文章のテキストデータに付加された音質要素で上記文章を音声合成処理さ せるための音質要素属性切換用制御信号がコード化された音質要素属性切換用制 御記号とを含む二次元コードを読み取る二次元コ一ド読み取り手順と、 読み取ら れた上記二次元コ一ドをデコ一ドして上記文章の上記テキストデ一夕と、 このテ キストデ一夕に付加された上記音質要素属性切換用制御信号とを出力するデコー ド手順と、 上記音質要素属性切換用制御信号に基づいて、 上記選択された音質要 素に一致する音質要素を予め登録された複数の音質要素から取り出し、 上記取り 出された音質要素で上記文章を音声化処理する音声合成手順と、 を備える二次元 コード音声化方法をコンビユー夕に実行させるプログラムが提供される。 For switching sound quality element attributes for causing the text to be subjected to speech synthesis processing with a symbol in which the text of the text is encoded and a sound quality element selected corresponding to the text and added to the text data of the text. Control system for switching sound quality element attributes with coded control signals A two-dimensional code reading procedure for reading a two-dimensional code including a symbol, and the read two-dimensional code is decoded to read the text data and the text data of the text. A decoding procedure for outputting the added sound quality element attribute switching control signal, and a plurality of sound quality elements that match the selected sound quality element are registered in advance based on the sound quality element attribute switching control signal. And a voice synthesis procedure for converting the sentence into a voice using the extracted voice quality element, and a program for executing a two-dimensional code voice conversion method including the following.
これにより、 本発明の第 1 6の側面にかかる二次元コード音声化方法を汎用の コンピュータを用いて実現することができる。  Thus, the two-dimensional code speech conversion method according to the sixteenth aspect of the present invention can be realized using a general-purpose computer.
本発明の第 2 0の側面によれば、  According to a 20th aspect of the present invention,
テキスト文書と、 規則音声合成用の複数の異なる音質要素とを視覚的に表示す る表示手順と、 表示された上記文書から任意の文章をユーザに選択させるととも に、 選択された上記文章に対応させる上記音質要素を上記複数の音質要素からュ 一ザに選択させる選択手順と、 選択された上記音質要素で上記文章を音声合成処 理をさせるための音質要素属性切換用制御信号を上記文章のテキストデ一夕に付 加する制御信号付加手順と、 上記文章の上記テキストデータを上記音質要素属性 切換用制御信号とともに二次元コードにコ一ド化し、 上記音質要素属性切換用制 御信号がコ一ド化された音質要素属性切換用制御記号を含む二次元コ一ドを作成 するェンコ一ド手順と、 を備える二次元コ一ドのェンコ一ド方法をコンピュータ に実行させるプログラムを格納したコンビユー夕読み取り可能な記録媒体が提供 される。  A display procedure for visually displaying a text document and a plurality of different sound quality elements for regular speech synthesis, and allowing the user to select an arbitrary sentence from the displayed document, A selection procedure for causing a user to select the corresponding sound quality element from the plurality of sound quality elements, and a sound quality element attribute switching control signal for causing the text to be subjected to speech synthesis processing using the selected sound quality element; A control signal adding procedure to be added to the text data of the above, and converting the text data of the text into a two-dimensional code together with the sound quality element attribute switching control signal, wherein the sound quality element attribute switching control signal is An encod- ing procedure for creating a two-dimensional code including a coded sound quality element attribute switching control symbol, and a computer executing a two-dimensional code encod- ing method comprising: Provided is a recording medium readable by a convenience store storing a program to be read.
本発明の第 2 1の側面によれば、  According to a twenty-first aspect of the present invention,
文章のテキストデータがコード化された記号と、 上記文章に対応して選択され て上記文章のテキストデ一夕に付加された音質要素で上記文章を音声合成処理さ せるための音質要素属性切換用制御信号がコード化された音質要素属性切換用制 御記号とを含む二次元コードを読み取る二次元コード読み取り手順と、 読み取ら れた上記二次元コードをデコードして上記文章の上記テキストデータと、 このテ キストデ一夕に付加された上記音質要素属性切換用制御信号とを出力するデコー ド手順と、 上記音質要素属性切換用制御信号に基づいて、 上記選択された音質要 素に一致する音質要素を予め登録された複数の音質要素から取り出し、 上記取り 出された音質要素で上記文章を音声化処理する音声合成手順と、 を備える二次元 コード音声化方法をコンピュータに実行させるプログラムを格納したコンビユー 夕読み取り可能な記録媒体が提供される。 For switching a sound quality element attribute for performing a speech synthesis process on the above-mentioned sentence with a symbol in which the text data of the sentence is coded and a sound quality element selected corresponding to the above-mentioned sentence and added to the text data of the above-mentioned sentence A two-dimensional code reading procedure for reading a two-dimensional code including a sound quality element attribute switching control symbol in which a control signal is coded; decoding the read two-dimensional code to read the text data of the text; A decoding procedure for outputting the sound quality element attribute switching control signal added to the text data overnight; and the selected sound quality element switching based on the sound quality element attribute switching control signal. Executing a two-dimensional code speech conversion method comprising: extracting a sound quality element that matches the element from a plurality of pre-registered sound quality elements and converting the sentence into a speech using the extracted sound quality element. A storage medium that stores a program for storing the program to be read is provided.
上述した二次元コードのエンコード方法は、 上記選択手順により選択された上 記文書の表示態様を切り換えることにより上記音質要素の選択を受け付けたこと をユーザに伝える確認手順をさらに備えることが望ましい。  It is preferable that the above-described two-dimensional code encoding method further includes a confirmation step of switching the display mode of the above-mentioned document selected in the selection step to inform the user that the selection of the sound quality element has been received.
また、 上記選択手順は、 表示された上記文書から複数の文章をユーザに選択さ せるとともに、 上記複数の文章に異なる複数の音質要素が対応するように上記音 質要素をユーザに選択させる手順であると良い。 また上記音質要素の選択は、 一 文章ごとに限ることなく、 複数の文章について一つの音質要素を選択させても良 い。  Further, the selecting step is a step of causing the user to select a plurality of sentences from the displayed document and allowing the user to select the sound quality element so that a plurality of different sound quality elements correspond to the plurality of sentences. Good to be. The selection of the sound quality element is not limited to each sentence, and one sound quality element may be selected for a plurality of sentences.
上述した二次元コ一ドには、 マトリックス方式の二次元コードとスタック方式 の二次元コ一ドのうち少なくとも一つが含まれる。  The two-dimensional code described above includes at least one of a matrix-type two-dimensional code and a stack-type two-dimensional code.
本発明の第 2 2の側面によれば、  According to a twenty-second aspect of the present invention,
テキストデ一夕から音声波形信号を作成するための中間的なデータである中間 言語の入力を受け、 この中間言語を処理して点字データを作成する点訳部を備え る点字データ作成装置が提供される。  Provided is a braille data generating apparatus including a braille translator for receiving an intermediate language, which is intermediate data for generating a speech waveform signal from text data, and processing the intermediate language to generate braille data. You.
上記点字デ一夕作成装置は、 上記点訳部を備えるので、 音声変換合成用の中間 言語を用いて音声と異なる点字デ一夕を作成することができる。 これにより、 本 来は聴覚を介した情報伝達用に形成された中間言語を用いて触覚を介した情報伝 達用のデータを作成することができる。  Since the above-mentioned braille data creation device is provided with the above-mentioned braille translator, it is possible to create a braille data different from speech using an intermediate language for speech conversion synthesis. As a result, data for information transmission via tactile sensation can be created using an intermediate language originally formed for information transmission via hearing.
上記点字デ一夕作成装置は、 上記.点字データを作成するための条件を設定する 条件設定部をさらに備えることが望ましい。  It is preferable that the above-mentioned braille data creating apparatus further comprises a condition setting section for setting conditions for creating the above-mentioned braille data.
本発明の好適な実施態様によれば、 上記点訳部は、 上記中間言語と点字コード とを対応させた変換テーブルを参照して上記中間言語を上記点字コードへ変換す る点字変換部を含む。  According to a preferred embodiment of the present invention, the braille translation unit includes a Braille conversion unit that converts the intermediate language into the Braille code with reference to a conversion table that associates the intermediate language with the Braille code.
また、 上記中間言語に上記テキストデ一夕に変換された文章の文節区切りを表 わす文節区切り情報が含まれる場合は、 上記点字データ作成装置は、 上記文節区 切り情報に基づいて、 分かち書き処理を行なう分かち書き部をさらに備えること が好ましく、 さらに、 上記文節区切り情報に基づいて、 上記点字変換部により変 換された上記点字コードにワードラップ処理を行なぅヮ一ドラップ部も備えると さらに好適である。 When the intermediate language includes segment break information indicating a segment break of the text converted into the text data, the braille data creating device may include the segment break data. It is preferable that the system further includes a separating unit that performs a separating process based on the cut information, and further performs a word wrap process on the Braille code converted by the Braille converting unit based on the segment break information. It is more preferable to provide one drap portion.
また、 上記点字デ一夕作成装置は、 出力先のデ一夕形式に適合するように上記 点字データの形式を調整して出力する点字データ出力部をさらに備えると良い。 これにより、 出力先の点字出力デバイスを制御するデータとともに点字コードデ 一夕を出力することができる。  Further, it is preferable that the Braille data creating apparatus further includes a Braille data output unit that adjusts the format of the Braille data so as to conform to the output format of the output destination and outputs the Braille data. As a result, it is possible to output the braille code data together with the data for controlling the output destination braille output device.
上述した条件設定部は、 上記中間言語の処理条件と、 上記変換テーブルの種類 と、 上記ワードラップ処理の文字数と、 上記点字データの形式のうち、 少なくと も一つを設定する。 上記変換テーブルの種類を設定する場合は、 複数の変換テ一 ブルから所望の変換テーブルを選択できる。 また、 上記ワードラップ処理の文字 数を設定する場合は、 点字として再現したい文書の態様や点字出力デバイスの種 類に応じてワードラップの態様を容易に変更することができる。  The above-described condition setting unit sets at least one of the processing conditions of the intermediate language, the type of the conversion table, the number of characters of the word wrapping process, and the format of the braille data. When the type of the conversion table is set, a desired conversion table can be selected from a plurality of conversion tables. When the number of characters for the word wrap process is set, the word wrap mode can be easily changed according to the mode of the document to be reproduced as Braille and the type of the Braille output device.
本発明の第 2 3の側面によれば、  According to a twenty-third aspect of the present invention,
テキストデ一夕から音声波形信号を作成するための中間的なデータである中間 言語を処理して点字データを作成する点訳手順を備える点字データ作成方法が提 供される。  There is provided a Braille data creation method including a Braille translation procedure for creating an Braille data by processing an intermediate language, which is intermediate data for creating an audio waveform signal from a text data.
本発明の第 2 4の側面によれば、  According to a twenty-fourth aspect of the present invention,
テキストデ一夕から音声波形信号を作成するための中間的なデータである中間 言語を処理して点字データを作成する点訳手順を備える点字データ作成方法をコ ンピュー夕に実行させるプログラムが提供される。  Provided is a program for causing a computer to execute a braille data creation method including a braille translation procedure for creating an Braille data by processing an intermediate language, which is intermediate data for creating an audio waveform signal from text data. .
本発明の第 2 5の側面によれば、  According to a twenty-fifth aspect of the present invention,
テキストデ一夕から音声波形信号を作成するための中間的なデータである中間 言語を処理して点字データを作成する点訳手順を備える点字データ作成方法をコ ンピュー夕に実行させるプログラムを格納したコンビユー夕読み取り可能な記録 媒体が提供される。  A program storing a program for causing a computer to execute a braille data creation method including a braille translation procedure for creating an Braille data by processing an intermediate language, which is intermediate data for creating an audio waveform signal from text data. An evening-readable recording medium is provided.
本発明にかかる点字データ作成方法の好適な実施態様によれば、 上記点訳手順 は、 上記中間言語と点字コードとを対応させた変換テーブルを参照して上記中間 言語を上記点字コードへ変換する点字変換手順を含む。 According to a preferred embodiment of the braille data creation method according to the present invention, the braille translation procedure includes the step of referring to the conversion table in which the intermediate language and the braille code are associated with each other. It includes a Braille conversion procedure for converting a language into the Braille code.
また、 上記中間言語に、 上記テキストデータに変換された文章の文節区切り情 報を表わす文節区切り情報が含まれる場合は、 上記点訳手順は、 上記文節区切り 情報に基づいて分かち書き処理を行なう分かち書き処理手順を含むことが望まし く、 さらに、 上記点字デ一夕作成方法が、 上記文節区切り情報に基づいて、 上記 点字変換手順により得られた上記点字コードにワードラップ処理を行なうワード ラップ処理手順をも備えるとさらに好適である。  If the intermediate language includes segment break information indicating the segment break information of the text converted to the text data, the braille translation procedure includes a segmentation processing procedure for performing a segmentation process based on the segment break information. Preferably, the method for creating braille data further includes a word wrap processing procedure for performing word wrap processing on the braille code obtained by the braille conversion procedure on the basis of the phrase separation information. It is more preferable to provide.
上述した点字デ一夕作成方法が備える点字変換手順と分かち書き処理手順は、 同時に行なわれると好適である。 この同時処理は、 上記文章の読み情報に対応し た第 1の点字コードに加え、 上記文節区切り記号に対応した第 2の点字コードを 上記変換テーブルに割り振ることにより可能になる。 図面の簡単な説明  It is preferable that the Braille conversion procedure and the break processing procedure included in the above-described Braille data creation method be performed simultaneously. This simultaneous processing is made possible by allocating a second braille code corresponding to the phrase delimiter to the conversion table in addition to the first braille code corresponding to the reading information of the text. BRIEF DESCRIPTION OF THE FIGURES
図 1は、 本発明にかかる二次元コ一ドの第 1の実施の形態を示す概略図である c 図 2は、 本発明にかかる二次元コードの読み取り方法の第 1の実施の形態の説 明図である。  FIG. 1 is a schematic diagram showing a first embodiment of a two-dimensional code according to the present invention. C FIG. 2 is a diagram illustrating a two-dimensional code reading method according to a first embodiment of the present invention. FIG.
図 3は、 図 2に示す読み取り方法の概略手順を説明するフローチャートである c 図 4は、 本発明にかかる二次元コ一ドの第 2の実施の形態を示す概略図である c 図 5は、 本発明にかかる二次元コ一ドの読み取り方法の第 2の実施の形態の説 明図である。 FIG. 3 is a flowchart illustrating a schematic procedure of the reading method illustrated in FIG. 2 c FIG. 4 is a schematic diagram illustrating a second embodiment of the two-dimensional code according to the present invention c FIG. FIG. 9 is an explanatory diagram of a second embodiment of a two-dimensional code reading method according to the present invention.
図 6は、 図 5に示す読み取り方法の概略手順を説明するフローチャートである c 図 7は、 本発明にかかる二次元コード音声化装置の第 1の実施の形態を示すブ 口ック図である。  FIG. 6 is a flowchart for explaining the schematic procedure of the reading method shown in FIG. 5. c FIG. 7 is a block diagram showing a first embodiment of the two-dimensional code audio device according to the present invention. .
図 8は、 図 7に示す二次元コード音声化装置が備える撮像部の側面図である。 図 9は、 図 8の J— J線に沿って切断した場合の図 8に示す撮像部の上面図で あ 。  FIG. 8 is a side view of an imaging unit included in the two-dimensional code audio device illustrated in FIG. FIG. 9 is a top view of the imaging unit shown in FIG. 8 when cut along the line JJ in FIG.
図 1 0は、 図 7に示す二次元コ一ド音声化装置が備えるマイクロコントローラ の具体的構成を示すブロック図である。  FIG. 10 is a block diagram showing a specific configuration of a microcontroller included in the two-dimensional code audio device shown in FIG.
図 1 1は、 本発明にかかる二次元コード音声化方法の第 1の実施の形態の概略 手順を示すフローチヤ一トである。 FIG. 11 is a schematic diagram of a first embodiment of a two-dimensional code speech conversion method according to the present invention. 5 is a flowchart showing a procedure.
図 1 2は、 本発明にかかる二次元コード音声化方法の第 1の実施の形態の概略 手順を示すフローチャートである。  FIG. 12 is a flowchart showing a schematic procedure of the first embodiment of the two-dimensional code speech conversion method according to the present invention.
図 1 3は、 本発明にかかる二次元コードエンコーダの実施の一形態と本発明に かかる二次元コ一ド音声化装置の第 2の実施の形態とを示すブロック図である。 図 1 4は、 本発明にかかる二次元コードのエンコード方法の実施の一形態の概 略手順を説明するフローチャートである。  FIG. 13 is a block diagram showing an embodiment of a two-dimensional code encoder according to the present invention and a second embodiment of a two-dimensional code audio device according to the present invention. FIG. 14 is a flowchart illustrating a schematic procedure of an embodiment of a two-dimensional code encoding method according to the present invention.
図 1 5は、 図 1 4に示す二次元コードのエンコード方法の具体的手順の説明図 である。  FIG. 15 is an explanatory diagram of a specific procedure of the two-dimensional code encoding method shown in FIG.
図 1 6は、 図 1 4に示す二次元コードのエンコード方法の具体的手順の説明図 である。  FIG. 16 is an explanatory diagram of a specific procedure of the two-dimensional code encoding method shown in FIG.
図 1 7は、 図 1 4に示す二次元コードのエンコード方法の具体的手順の説明図 である。  FIG. 17 is an explanatory diagram of a specific procedure of the encoding method of the two-dimensional code shown in FIG.
図 1 8は、 図 1 4に示す二次元コードのエンコード方法の具体的手順の説明図 である。  FIG. 18 is an explanatory diagram of a specific procedure of the encoding method of the two-dimensional code shown in FIG.
図 1 9は、 本発明にかかるテキスト文書音声化方法の実施の一形態の概略手順 を説明するフローチャートである。  FIG. 19 is a flowchart illustrating a schematic procedure of an embodiment of the text document speech conversion method according to the present invention.
図 2 0は、 本発明の点字データ作成装置の実施の一形態を含むブロック図であ る。  FIG. 20 is a block diagram including an embodiment of the braille data creation device of the present invention.
図 2 1は、 本発明にかかる点字デ一夕作成方法の実施の一形態の説明図である c 図 2 2は、 図 2 1に示す点字データ作成方法の概略手順を示すフローチャート である。 発明を実施するための形態 FIG. 21 is an explanatory diagram of an embodiment of a braille data creation method according to the present invention. C FIG. 22 is a flowchart showing a schematic procedure of the braille data creation method shown in FIG. 21. BEST MODE FOR CARRYING OUT THE INVENTION
以下、 本発明の実施の形態のいくつかについて図面を参照しながら説明する。 ( 1 ) 二次元コ一ドの第 1の実施の形態  Hereinafter, some embodiments of the present invention will be described with reference to the drawings. (1) First embodiment of two-dimensional code
図 1は、 本発明にかかる二次元コ一ドの第 1の実施の形態を示す概略図である c 同図に示すように、 本実施形態の二次元コード 1は、 二進化したデータが明暗の 正方形のセルの形態で格納されたマトリックスデータ部 2と、 マトリックスデー 夕部 2を囲むように配置された四角形と、 この四角形の各辺 a l〜d 1からそれ それ垂直に延設した実線による見出し線 (突起部) R 11〜: R 14, R91〜R 93, R31〜R33, R51~R53, R71〜R73とを備える。 四角形と 見出し線 R 11〜: R93は、 本実施形態におけるパターンであり、 これにより、 後述する読み取り方法を用いてデータ密度情報と位置決め情報が与えられる。 四 角形と各見出し線の幅は、 データセルの一辺の長さと同じである。 Figure 1, as shown in c figure is a schematic diagram showing a first embodiment of a two-dimensional co-one de according to the present invention, the two-dimensional code 1 of the present embodiment, binarized data is dark Matrix data part 2 stored in the form of square cells A square arranged to surround the evening part 2 and a heading line (projection) consisting of a solid line extending vertically from each side al to d 1 of each of the squares al to d 1 (projections) R11 to: R14, R91 to R93, R31 to R33, R51 to R53, and R71 to R73. The rectangle and the heading lines R11 to R93 are patterns in the present embodiment, whereby data density information and positioning information are given using a reading method described later. The width of the rectangle and each header line is equal to the length of one side of the data cell.
見出し線 R 11, R 12は、 点 Dからそれそれ辺 b 1 , a 1を延在するように 配置される。 また、 見出し線 R 13は、 点 Bから辺 d 1を延長するように配置さ れ、 さらに、 見出し線 R 14は、 点 Cから辺 c 1を延長するように配置される。 これらの見出し線 Rl 1~R14は、 それそれ本実施形態において第 5〜第 8の 突起部に相当する。 四角形の各コーナ A〜Dのうち、 点 A (第 4の端点に相当す る) の 1力所のみは、 見出し線が設けられていない。 これにより、 後述するよう に、 点 Aは、 各セルの位置座標を特定するため画像処理において二次元コードの 原点として利用することができる。  The header lines R11 and R12 are arranged so as to extend from the point D along the sides b1 and a1, respectively. Heading line R13 is arranged to extend side d1 from point B, and heading line R14 is arranged to extend side c1 from point C. These headlines R11 to R14 correspond to the fifth to eighth protrusions in the present embodiment, respectively. Heading lines are not provided at only one point at point A (corresponding to the fourth end point) among the corners A to D of the rectangle. Thereby, as described later, the point A can be used as the origin of the two-dimensional code in the image processing to specify the position coordinates of each cell.
見出し線 R 91〜R93, R31〜R33, R51~R 53, R71〜R73 は、 それそれ特定のデ一夕セルの行方向または列方向の位置を指す。 見出し線 R 91〜R 93 , R 51〜R 53は、 それそれ四角形の辺 a 1 , c 1に一定の長さ のピッチ P 1で配置され、 それそれ本実施形態において第 1の突起物と第 3の突 起物に相当する。 また、 見出し線 R 31〜R33, R71〜R73は、 それそれ 四角形の辺 b l, d 1に一定の長さのピッチ P 2で配置され、 それそれ本実施形 態において第 2の突起物と第 4の突起物に相当する。 ピッチ P l, P 2のそれそ れの長さは既知の定数であり、 本実施形態においては同一の値である。  The header lines R 91 to R 93, R 31 to R 33, R 51 to R 53, and R 71 to R 73 each indicate the position of a particular cell in the row or column direction. The header lines R 91 to R 93 and R 51 to R 53 are arranged at a constant pitch P 1 on the sides a 1 and c 1 of the rectangle, respectively. This corresponds to the third projectile. Also, the header lines R31 to R33 and R71 to R73 are arranged at a constant pitch P2 on the sides bl and d1 of the rectangle, respectively. It corresponds to the projection of 4. The lengths of the pitches Pl and P2 are known constants, and have the same value in the present embodiment.
見出し線 R 91〜: R 93, R 31〜R 33は、 それそれ辺 a 1, b 1にから四 角形の外側向きに延在するように配置される。 この一方、 見出し線 R51〜R5 3, R71〜R73は、 他方の隣接する二辺 c 1, d 1から四角形の内側向きに 延在するように配置される。 本実施形態において各見出し線の長さは全て同一で あるが、 内側向きの見出し線 R 51〜R 53 , R71~R73がマトリックスデ —夕部 2に重なることがないよう、 辺 c 1 , d lは、 マトリックスデータ部 2の 周縁から離隔されて配置される。 見出し線の数は、 マトリックスデ一夕部のデータの数によって水平方向、 垂直 方向の各方向で独立に増減可能である。 従って、 データの容量や印刷する場所等 の用途によって様々なサイズや形状の二次元コードを構成することが可能である。 このように、 本実施形態の二次元コード 1においては、 マトリックスデ一夕部 2 の中に切り出しや位置決め等のための特別な印刷パターンが存在しないので、 そ の分小面積でより多くのデ一夕を搭載することができる。 さらに、 データ容量を 増大させても、 マトリックスデータ部 2を囲む単一のパターンで切り出しと位置 決めを行なうことができるので、 二次元コード全体の占有面積は、 デ一夕容量の 増大に比例する大きさよりもはるかに小さい。 この結果、 大容量の情報を高密度 で格納する二次元コードが提供される。 Heading lines R91-: R93, R31-R33 are arranged so as to extend outward from the sides a1, b1 of the rectangle. On the other hand, the header lines R51 to R53 and R71 to R73 are arranged so as to extend inward of the rectangle from the other adjacent two sides c1, d1. In the present embodiment, the lengths of the respective heading lines are all the same, but the sides c 1 and dl are set so that the inward heading lines R 51 to R 53 and R 71 to R 73 do not overlap with the matrix part 2. Are arranged apart from the periphery of the matrix data section 2. The number of header lines can be independently increased or decreased in each of the horizontal and vertical directions according to the number of data in the matrix data. Therefore, it is possible to configure a two-dimensional code of various sizes and shapes depending on uses such as a data capacity and a printing place. As described above, in the two-dimensional code 1 of the present embodiment, since there is no special print pattern for cutting out and positioning in the matrix data portion 2, more data can be obtained in a smaller area. Can be equipped with overnight. Furthermore, even if the data capacity is increased, since the cutout and positioning can be performed with a single pattern surrounding the matrix data section 2, the occupied area of the entire two-dimensional code is proportional to the increase in the data capacity. Much smaller than the size. As a result, a two-dimensional code that stores a large amount of information at a high density is provided.
( 2 ) 二次元コードの読み取り方法の第 1の実施の形態  (2) First embodiment of a two-dimensional code reading method
次に、 図 1に示す二次元コードの読み取り方法について本発明にかかる二次元 コードの読み取り方法の第 1の実施の形態として説明する。 ここでは、 二次元コ 一ドに特有の読み取り手順のみを示し、 読み取り処理上一般的に必要となる詳細 な手順や調整に関する説明は省略する。  Next, a method for reading a two-dimensional code shown in FIG. 1 will be described as a first embodiment of a method for reading a two-dimensional code according to the present invention. Here, only the reading procedure specific to the two-dimensional code is shown, and detailed procedures and adjustments generally required in the reading process are omitted.
図 2は、 本実施形態の読み取り方法の説明図であり、 また、 図 3は、 図 2に示 す読み取り方法の概略手順を示すフローチャートである。  FIG. 2 is an explanatory diagram of the reading method according to the present embodiment. FIG. 3 is a flowchart showing a schematic procedure of the reading method shown in FIG.
1 ) まず、 C C D等の撮像素子を用いて二次元コード 1のデジタル画像データ を取り込む (ステップ S 1 ) 。  1) First, digital image data of a two-dimensional code 1 is captured using an image sensor such as a CCD (step S 1).
2 ) 次に、 この画像データの縦横の暗セルが存在する分布 (ヒストグラム) を 調べ、 図 2に示すように、 二次元コード 1を取囲む矩形エリア A R 1を画定する 2) Next, examine the distribution (histogram) of this image data in which the vertical and horizontal dark cells exist, and define a rectangular area A R 1 surrounding the two-dimensional code 1 as shown in Fig. 2.
(ステップ S 2 ) 。 (Step S2).
3 ) 次に、 この矩形エリア A R 1の周縁の各辺に接する点を探す (ステップ S 3 ) 。 図 2の場合は、 点 A, E、 F, Hが求まる。  3) Next, a point that contacts each side of the periphery of the rectangular area AR1 is searched (step S3). In the case of Fig. 2, points A, E, F, and H are obtained.
4 ) 続いて、 これらの点 A , E、 F, Hの隣り合った点同士を結ぶ線分上のド ットを調べ、 暗い実線が四角形の辺 a l〜d 1のうちどの線分に相当するかを判 定する (ステップ S 4 ) 。 図 2に示す場合は、 線分 A Eと線分 A Fがそれぞれ四 角形の辺 d l , c 1の実線に対応することが判定される。 この一方、 線分 E Hと 線分 F Hには対応する実線が存在しない。 線分 A Eと線分 A Fとの交点 Aを二次 元コード 1の原点として選択する (ステップ S 5) 。 4) Next, the dots on the line connecting the adjacent points of these points A, E, F, and H are examined, and the dark solid line corresponds to any line among the sides al to d1 of the rectangle. It is determined whether or not to perform (step S4). In the case shown in FIG. 2, it is determined that the line segment AE and the line segment AF respectively correspond to the solid lines of the sides dl and c1 of the rectangle. On the other hand, there is no corresponding solid line for line segment EH and line segment FH. Intersection A between line segment AE and line segment AF is quadratic Select as the origin of source code 1 (step S5).
5) 次に、 線分 AFと平行でかつ長さがほぼ同一である線分を点 Aから点 Eに 向かって調べ、 線分 BHを特定してその端点から点 Bと点 Hを特定する。 同様に して、 点 Aから点 Fに向かって線分 AEと平行でかつ長さがほぼ同一である線分 CGを調べ、 これから点 Cと点 Gを求め、 さらに線分 BHと線分 CGとの交点 D を特定する (ステップ S 6) 。  5) Next, a line segment parallel to the line segment AF and having almost the same length is examined from point A to point E, line segment BH is specified, and point B and point H are specified from the end point. . Similarly, from the point A to the point F, a line segment CG which is parallel to the line segment AE and has almost the same length is examined, and the points C and G are obtained therefrom. Further, the line segment BH and the line segment CG are obtained. Identify the intersection D with (Step S6).
6) 次いで、 線分 AFに平行でかつ長さが同一である仮想破線 (見出し破線) を設定し、 点 Aから出発して点 Eの方向へ bd 1、 bd 2…と走査することによ り、 見出し線 R 31と R73, R32と R72, R33と R71を探索してゆく (ステップ S 7) 。 このとき、 見出し線 R 31と R73とを結ぶ見出し破線 bd 1から点 Aまでの距離と、 各見出し線の長さとピッチとはデータセルのサイズを 単位として既知の定数であるため、 上述した手順で既に特定した各点 A~Dの間 の位置関係に基づいて各見出し線の位置と長さが予測できる。 同様にして、 線分 A Eに平行でかつ長さが同一である仮想破線を設定し、 点 Aから出発して点 Fの 方向へ ac l、 a c 2…と走査することにより、 見出し線 R93と R53, R 9 2と R52, R91と R51を探索する (ステップ S 7) 。 ここで、 線分 AC (4角形の辺 c 1) から内側に垂直に延在するものと認識された見出し線の数と 線分 BD (4角形の辺 a 1) から外側に垂直に延在するものと認識された各見出 し線の数とは同一であり、 また同様に、 線分 AB (4角形の辺 d l) から内側に 垂直に延在するものと認識された見出し線の数と線分 CD (4角形の辺 b l) か ら外側に垂直に延在すると認識された見出し線の数が同一であれば、 正常に各見 出し線の探索が行われたことを確認できる。 また、 上述したとおり、 見出し線の 数は、 マトリックスデ一夕部 2のデータ数に応じて水平方向、 垂直方向の各方向 で独立して決定されているので、 各線分 (辺) で認識された見出し線の数に応じ て、 マトリックスデータの容量を決定する。  6) Next, a virtual dashed line (heading dashed line) which is parallel to the line segment AF and has the same length is set, and starting from point A, scanning in the direction of point E in the direction of bd1, bd2, etc. Then, the search is made for the entry lines R31 and R73, R32 and R72, and R33 and R71 (step S7). At this time, the distance from heading broken line bd1 connecting heading lines R31 and R73 to point A, and the length and pitch of each heading line are known constants in units of the data cell size. The position and length of each headline can be predicted on the basis of the positional relationship between the points A to D already specified in. Similarly, an imaginary dashed line which is parallel to the line segment AE and has the same length is set, and starting from the point A and scanning in the direction of the point F in the direction of ac l, ac 2. Search for R53, R92 and R52, and R91 and R51 (step S7). Here, the number of heading lines recognized as extending vertically inward from line segment AC (square side c 1) and vertically extending outward from line segment BD (square side a 1) The number of heading lines recognized as extending vertically inward from line segment AB (side dl of the rectangle) is also the same as the number of heading lines recognized as If the number of heading lines recognized to extend vertically outward from the line segment CD (side of the rectangle bl) is the same, it can be confirmed that the search for each heading line has been performed normally. Also, as described above, the number of heading lines is determined independently in each of the horizontal and vertical directions according to the number of data items in the matrix data area 2, so that the number of heading lines is recognized by each line segment (side). The size of the matrix data is determined according to the number of header lines.
7)続いて、 図 2の破線に示すように、 4角形のそれそれ平行する二辺で認識 された見出し線の線上の点同士を順に結んで格子形状を構成する線分 bd l〜b d 3 , ac l〜ac 3を再度想定し、 これらの線分の交点 n 11〜! ι 33の座標 を算出する (ステップ S 8) 。 これらの座標は、 マトリックスデータ部 2内のデ 一夕セルの座標を等間隔に抜き出したものに相当する。 7) Then, as shown by the dashed line in Fig. 2, line segments bd1 to bd3 that sequentially connect points on the headline recognized by two parallel , acl to ac3 are again assumed, and the intersection of these line segments n11 ~! The coordinates of ι33 are calculated (step S8). These coordinates are the data in the matrix data part 2. This is equivalent to extracting the coordinates of an overnight cell at equal intervals.
8) さらに、 上記 7) で求めた交点の座標から、 既知である見出し線間のセル 数により各セルの座標値を求め、 各セルの二進数の値をサンプリングしてビット 列のデータとする (ステップ S 9)。  8) Further, from the coordinates of the intersection obtained in the above 7), the coordinate value of each cell is obtained from the known number of cells between the heading lines, and the binary value of each cell is sampled to be bit string data. (Step S9).
9) 最後に、 二次元コード 1のビット列データには予め誤り訂正符号が付加さ れているので、 これを用いて誤り訂正を行う。 これにより、 元のデ一夕が復元さ れる (ステップ S 10) 。  9) Finally, an error correction code is added to the bit string data of the two-dimensional code 1 in advance, and error correction is performed using this. As a result, the original data is restored (step S10).
このように、 本実施形態の二次元コードの読み取り方法によれば、 簡易な画像 処理により、 マトリックスデ一夕部 2に格納されたデ一夕を高精度で復元できる とともに、 データの容量を迅速に取得することができる。  As described above, according to the two-dimensional code reading method of the present embodiment, the data stored in the matrix data storage unit 2 can be restored with high accuracy by simple image processing, and the data capacity can be quickly reduced. Can be obtained.
(3) 二次元コードの第 2の実施の形態  (3) Second embodiment of two-dimensional code
図 4は、 本発明にかかる二次元コ一ドの第 2の実施の形態を示す概略図である。 同図に示すように、 本実施形態の二次元コード 3は、 二進化されたデータが明暗 の正方形のセルの形態で格納されたマトリクスデ一夕部 2と、 マトリクスデータ 部 2を囲むように配置された線分 LN 11〜LS 14 (第 1の線分) 、 LS 31 〜: LS34 (第 3の線分) 、 LS51〜: LS54 (第 5の線分) 、 LS71〜L S 74 (第 7の線分) と、 これらの線分のほぼ中央部からそれそれ垂直に延設し た見出し線 R 21〜R24 (第 2の線分) 、 R41〜R44 (第 4の線分) 、 R 61〜R64 (第 6の線分) 、 R81〜R84 (第 8の線分) と、 両端が LS5 4と LS 74の端部に連続する L字の図形 LCとを備える。  FIG. 4 is a schematic diagram showing a two-dimensional code according to a second embodiment of the present invention. As shown in the figure, the two-dimensional code 3 of the present embodiment includes a matrix data section 2 in which binarized data is stored in the form of bright and dark square cells, and a matrix data section 2. Arranged line segments LN11 to LS14 (first line segment), LS31 to: LS34 (third line segment), LS51 to: LS54 (fifth line segment), LS71 to LS74 (7th line segment) Line segments) and heading lines R21 to R24 (second line segment), R41 to R44 (fourth line segment), R61 R64 (sixth line segment), R81 to R84 (eighth line segment), and L-shaped figures LC whose both ends are connected to the ends of LS54 and LS74.
マトリクスデ一夕部 1は、 X方向および y方向ともにそれそれ 3個 (L = M = 3) 隣接して並べられた 9つの小領域 (図 5参照) で構成される。 小領域には、 X方向および y方向ともにそれそれ N個 (Nは自然数) のデータセルが互いに隣 接して配置されて構成される。 本実施形態では、 小領域の個数を X方向および y 方向ともに同一としたが、 小領域の個数はこれに限ることなく、 X方向と y方向 とで互いに独立に変更可能である。  The matrix data section 1 is composed of nine (L = M = 3) adjoining small areas (see Fig. 5) in each of the X and y directions. In the small area, N data cells (N is a natural number) are arranged adjacent to each other in both the X and y directions. In the present embodiment, the number of small regions is the same in both the X direction and the y direction. However, the number of small regions is not limited to this, and can be independently changed in the X direction and the y direction.
上述した線分は、 本実施形態において第 1の図形を構成し、 また、 図形 LCは、 本実施形態において第 2の図形を構成する。 これらにより、 後述する読み取り方 法を用いてデータ密度情報 (印刷ピッチ) とマトリクスデ一夕部の回転角が与え られる。 各線分の幅は、 データセルの一辺の長さと同じであり、 また、 各線分の 長さは、 データセルの一辺の長さを基本単位として決定される。 The above-described line segments constitute a first figure in the present embodiment, and the figure LC constitutes a second figure in the present embodiment. With these, the data density information (print pitch) and the rotation angle of the matrix data are given using the reading method described later. Can be The width of each line segment is the same as the length of one side of the data cell, and the length of each line segment is determined using the length of one side of the data cell as a basic unit.
線分 LS 11~LS 14は、 マトリクスデ一夕部 2の周縁をなす四角形の辺 a 2に沿って上記小領域のサイズに一致したピッチでそれそれ配置される。 同様に、 線分 L S 31~L S 34は、 辺 b 2に沿って上記小領域のサイズに一致したピヅ チでそれそれ配置される。 この一方、 線分 LS 51〜: LS 54は、 辺 c 2に離隔 して辺 c 2に平行な線に沿って上記小領域のサイズに一致したピッチでそれそれ 配置される。 同様に、 線分 LS71〜 374も辺(12に離隔して辺(12に平行 な線に沿つて上記小領域のサィズに一致したピツチでそれそれ配置される。  The line segments LS11 to LS14 are respectively arranged at a pitch corresponding to the size of the small region along the side a2 of the square forming the periphery of the matrix portion 1. Similarly, the line segments L S31 to L S34 are arranged along the side b2 at pitches matching the size of the small area. On the other hand, the line segments LS51 to LS54 are arranged at a pitch corresponding to the size of the small region along a line parallel to the side c2 and separated from the side c2. Similarly, the line segments LS71 to 374 are also arranged at pitches corresponding to the size of the small area along a line parallel to the side (12) at a distance from the side (12).
見出し線 R 21〜R24は、 それそれ特定のデ一夕セルの行方向または列方向 の位置を指す。 見出し線 R 21〜R 24は、 線分 L S 11〜L S 14からマトリ クスデータ部 2の外側向きに延在するようにそれそれ配置される。 同様に、 見出 し線 R41〜R44は、 線分 LS31 ~ L S 34からマトリクスデータ部 2の外 側向きに延在するようにそれそれ配置される。 この一方、 見出し線 R61〜! 6 4は、 線分 S51〜LS54からマトリクスデ一夕部 2へ向けて延在するよう それそれに配置される。 同様に、 見出し線 R 81〜R84は、 線分 LS71〜L S 74からマトリクスデ一夕部 2へ向けて延在するようにそれそれ配置される。 本実施形態において各見出し線の長さは全て同一であるが、 内側向きの見出し 線 R61〜: R64, R 81 ~R 84がマトリクスデータ部 2に重なることがない よう、 線分 S 51〜LS 54、 線分 L S71〜LS74は、 マトリクスデータ 部 2の周縁から離隔されて配置される。  The header lines R21-R24 each indicate the position of a particular cell in the row or column direction. The header lines R21 to R24 are arranged so as to extend outward from the matrix data section 2 from the line segments LS11 to LS14. Similarly, finding lines R41 to R44 are arranged so as to extend from line segments LS31 to LS34 toward the outside of matrix data section 2, respectively. On the other hand, headline R61 ~! 64 is disposed on each of the segments S51 to LS54 so as to extend from the line segments S51 to LS54 to the matrix data portion 2. Similarly, the heading lines R81 to R84 are respectively arranged so as to extend from the line segments LS71 to LS74 toward the matrix portion 2. In the present embodiment, the lengths of the heading lines are all the same, but the inward heading lines R61-: R64, R81-R84, so that the line segments S51-LS do not overlap with the matrix data section 2. 54, the line segments LS71 to LS74 are arranged apart from the periphery of the matrix data section 2.
見出し線の数は、 マトリクスデ一夕部 2に含まれる小領域の数およびその配置 態様に応じて水平方向、 垂直方向の各方向で独立に増減可能である。 従って、 デ 一夕の容量や印刷する場所等の用途によって様々なサイズや形状の二次元コード を構成することが可能である。  The number of heading lines can be independently increased or decreased in each of the horizontal direction and the vertical direction according to the number of small regions included in the matrix data area 2 and the arrangement thereof. Therefore, it is possible to configure a two-dimensional code of various sizes and shapes depending on the application such as the capacity of the data and the printing place.
L字の図形 L Cは、 線分 L S 54と線分 L S 74の端部に連続する直交部分を 有するので、 後述する読み取り時の画像処理において、 そのコーナ Aと接するよ うに切り出し用の矩形エリア AR 3を設定することにより、 データセルの回転角 度を取得することができ、 また、 コーナ Aは、 後述するように、 各セルの位置座 標を特定するために二次元コード 3の原点として利用することができる。 Since the L-shaped figure LC has a continuous orthogonal portion at the ends of the line segment LS 54 and the line segment LS 74, a rectangular area AR for cutting out so as to be in contact with the corner A in image processing at the time of reading described later. By setting 3, the rotation angle of the data cell can be obtained, and the corner A It can be used as the origin of the two-dimensional code 3 to specify a target.
このように、 本実施形態の二次元コード 3においては、 マトリクスデ一夕部 2 の中に切り出しや位置決め等のための特別な印刷パターンが存在しないので、 そ の分小面積でより多くのデータを搭載することができる。 また、 データ容量を増 大させても、 マトリクスデータ部 2を囲む第 1および第 2の図形だけで切り出し と位置決めを行なうことができるので、 二次元コード全体の占有面積は、 データ 容量の増大に比例する大きさよりもはるかに小さい。 これにより、 汎用のレーザ プリン夕で印刷でき、 大容量の情報を高密度で格納する二次元コードが提供され ο  As described above, in the two-dimensional code 3 of the present embodiment, since there is no special print pattern for cutting out, positioning, and the like in the matrix data section 2, more data can be obtained in a smaller area. Can be mounted. Also, even if the data capacity is increased, the cutout and positioning can be performed only with the first and second figures surrounding the matrix data section 2, so that the area occupied by the entire two-dimensional code increases with the data capacity. Much smaller than the proportional size. This enables printing with a general-purpose laser printer, and provides a two-dimensional code that stores a large amount of information at a high density.
(4) 二次元コードの読み取り方法の第 2の実施の形態  (4) Second embodiment of the two-dimensional code reading method
次に、 図 4に示す二次元コ一ドの読み取り方法について本発明にかかる二次元 コードの読み取り方法の第 2の実施の形態として説明する。 ここでは、 本発明に かかる二次元コ一ドに特有の読み取り手順のみを示し、 読み取り処理上一般的に 必要となる詳細な手順や調整に関する説明は省略する。  Next, a method of reading a two-dimensional code shown in FIG. 4 will be described as a second embodiment of the method of reading a two-dimensional code according to the present invention. Here, only a reading procedure specific to the two-dimensional code according to the present invention is shown, and detailed procedures and adjustments generally required in the reading process are omitted.
図 5は、 本実施形態の読み取り方法の説明図であり、 また、 図 6は、 図 5に示 す読み取り方法の概略手順を示すフローチャートである。  FIG. 5 is an explanatory diagram of the reading method according to the present embodiment. FIG. 6 is a flowchart showing a schematic procedure of the reading method shown in FIG.
1) まず、 CCD等の撮像素子を用いて二次元コード 3のデジタル画像データ を取り込む (ステップ S 11) 。  1) First, digital image data of a two-dimensional code 3 is captured using an image sensor such as a CCD (step S11).
2) 次に、 この画像データの縦横の喑セルが存在する分布 (ヒストグラム) を 調べ、 図 5に示すように、 二次元コード 3を取囲む矩形エリア AR 3を画定する 2) Next, the distribution (histogram) of this image data in which the vertical and horizontal 喑 cells are present is examined, and a rectangular area AR3 surrounding the two-dimensional code 3 is defined as shown in FIG.
(ステップ S 12) 。 (Step S12).
3) 次に、 この矩形エリア AR 3の周縁の各辺に接する点を探す (ステップ S 13) 。 図 2の場合は、 点 A, E、 F, Hが求まる。  3) Next, a point that contacts each side of the periphery of the rectangular area AR3 is searched (step S13). In the case of Fig. 2, points A, E, F, and H are obtained.
4)続いて、 これらの点 A, E、 F, Hの相互に隣り合った点同士を結ぶ直線 上のドットを調べ、 暗い線分でコーナが構成されている点が何処にあるかを判定 する (ステップ S 14) 。 図 5に示す場合は、 直線 A Eと直線 A Fとの交点およ びその近傍にこのような線分が存在することが分る。 この一方、 直線 EHと直線 FH上にはコーナを構成する暗部が存在しない。 直線 A Eと直線 A Fとの交点 A を二次元コード 3の原点として選択する (ステップ S 15) 。 これにより、 直線 A Eと矩形アリア A R 3の辺との間の角度 Sを求めることで各データセルの回転 角度を取得することができる。 4) Next, examine the dots on the straight line connecting the points A, E, F, and H that are adjacent to each other, and determine where the dark line segment forms the corner. Yes (step S14). In the case shown in FIG. 5, it can be seen that such a line segment exists at and near the intersection of the straight line AE and the straight line AF. On the other hand, there are no dark areas on the straight lines EH and FH. The intersection A between the straight line AE and the straight line AF is selected as the origin of the two-dimensional code 3 (step S15). This gives a straight line By obtaining the angle S between the AE and the side of the rectangular area AR3, the rotation angle of each data cell can be obtained.
5) 次に、 直線 AFと平行でかつ直線 AF上の線分 L S 54と長さがほぼ同一 である線分を点 Aから点 Eに向かって調べ、 線分 L S 14を特定してその端点か ら点 Bを特定し、 さらにこの線分 LS 14の延長線上に点 Hを特定する。 同様に して、 点 Aから点 Fに向かって直線 AEと平行でかつ直線 AE上の線分 L S 74 および線分 LS 71と長さがそれそれほぼ同一である線分 L S 61および線分 L S31を調べ、 これから点 Cと点 Gを求め、 さらに直線 BHと直線 CGとの交点 Dを特定する (ステップ S 16) 。  5) Next, a line segment parallel to the straight line AF and having a length substantially the same as the line segment LS 54 on the straight line AF is examined from point A to point E, line segment LS14 is identified, and its end point is determined. From this, point B is specified, and point H is specified on the extension of this line segment LS14. Similarly, from point A to point F, a line segment LS 61 and a line segment L which are parallel to the line AE and are approximately the same length as the line segments LS 74 and LS 71 on the line AE, respectively. S31 is examined, and the points C and G are determined from this, and the intersection D of the straight line BH and the straight line CG is specified (step S16).
6) 次いで、 線分 AFに平行でかつ長さが同一である仮想破線 (見出し破線) を設定し、 点 Aから出発して点 Eの方向へ bd 1、 bd 2…と走査することによ り、 見出し線 R44と R84, R43と R83, R 42と R 82を探索してゆく (ステップ S 17) 。 このとき、 見出し線 R 44と R 84とを結ぶ見出し破線 b d 1から点 Aまでの距離と、 各見出し線の長さとピッチとはデータセルのサイズ を単位として既知の定数であるため、 上述した手順で既に特定した各点 A〜Dの 間の位置関係に基づいて各見出し線の位置が予測できる。 同様にして、 線分 AE に平行でかつ長さが同一である仮想破線を設定し、 点 Aから出発して点 Fの方向 へ ac l、 a c 2…と走査することにより、 見出し線 R24と R64, R23と R 63 , R22と R62を探索する (ステップ S 17)。 ここで、 線分 ACから マトリクスデ一夕部 2へ向って垂直に延在するものと認識された見出し線の数 6) Next, a virtual dashed line (heading dashed line) that is parallel to the line segment AF and has the same length is set, and starting from point A and scanning in the direction of point E as bd1, bd2, etc. Then, headlines R44 and R84, R43 and R83, and R42 and R82 are searched (step S17). At this time, the distance from heading dashed line bd1 connecting heading lines R44 and R84 to point A, and the length and pitch of each heading line are known constants in units of data cell size. The position of each headline can be predicted based on the positional relationship between points A to D already specified in the procedure. Similarly, a virtual dashed line parallel to the line segment AE and having the same length is set, and starting from point A and scanning in the direction of point F in the direction of ac l, ac 2. Search for R64, R23 and R63, and R22 and R62 (step S17). Here, the number of heading lines recognized as extending vertically from the line segment AC to the matrix data area 2
(本実施形態においては R 61〜R 64の 4本) と線分 BDからマトリクスデー 夕部 2の外側へ向って垂直に延在するものと認識された各見出し線の数 (本実施 形態において R21〜R24の 4本) とは同一であり、 また同様に、 線分 ABか らマトリクスデ一夕部 2へ向って垂直に延在するものと認識された見出し線の数(In this embodiment, four lines of R61 to R64) and the number of headlines recognized as extending vertically from the line segment BD to the outside of the matrix portion 2 (in this embodiment, R21 to R24), and similarly, the number of heading lines recognized as extending vertically from the line segment AB to the matrix 2
(本実施形態においては R 81〜R84の 4本) と線分 CDからマトリクスデ一 夕部 2の外側に垂直に延在すると認識された見出し線の数 (本実施形態において は R41〜R44の 4本) とが同一であれば、 正常に各見出し線の探索が行われ たことを確認できる。 また、 上述したとおり、 見出し線の数は、 マトリクスデー 夕部 2のデ一夕数に応じて水平方向、 垂直方向の各方向で独立して決定されてい るので、 各線分で認識された見出し線の数に応じて、 マトリクスデ一夕の容量を 決定する。 (Four in this embodiment, R81 to R84) and the number of heading lines recognized to extend vertically outside the matrix data section 2 from the line segment CD (in this embodiment, R41 to R44). If (4) is the same, it can be confirmed that the search for each headline was performed normally. Also, as described above, the number of heading lines is determined independently in each of the horizontal and vertical directions according to the number of data lines in the matrix data section 2. Therefore, the capacity of the matrix data is determined according to the number of heading lines recognized in each line segment.
7 ) 続いて、 図 5の破線に示すように、 4角形 A B C Dのそれそれ平行する二 辺で認識された見出し線の線上の点同士を順に結んで格子形状を構成する線分 b d l〜b d 3, a c l〜a c 3を再度想定し、 これらの線分の交点 n 1 1〜n 3 3の座標を算出する (ステップ S 1 8 ) 。 これらの座標は、 マトリクスデ一夕部 2内のデ一夕セルの座標を等間隔に抜き出したものに相当する。  7) Subsequently, as shown by the dashed line in Fig. 5, the line segments bdl to bd 3 that connect the points on the headline recognized by the two parallel sides of the rectangle ABCD in order to form the grid shape , Acl to ac3 are again assumed, and the coordinates of the intersections n11 to n33 of these line segments are calculated (step S18). These coordinates correspond to the coordinates of the data cells in the matrix data area 2 extracted at equal intervals.
8 ) さらに、 上記 7 ) で求めた交点の座標から、 既知である見出し線間のセル 数により各セルの座標値を求め、 各セルの二進数の値をサンプリングしてビット 列のデ一夕とする (ステップ S 1 9 ) 。  8) Further, from the coordinates of the intersection obtained in the above 7), the coordinate value of each cell is obtained from the number of cells between the known header lines, the binary value of each cell is sampled, and the data of the bit string is analyzed. (Step S 19).
9 ) 最後に、 二次元コード 3のビット列データには誤り訂正符号が予め付加さ れているので、 これを用いて誤り訂正を行う。 これにより、 元のデータが復元さ れる (ステップ S 2 0 ) 。  9) Finally, an error correction code is added to the bit string data of the two-dimensional code 3 in advance, and error correction is performed using this. As a result, the original data is restored (step S20).
このように、 本実施形態の二次元コードの読み取り方法によれば、 デ一夕セル の一辺の長さを基本単位として決定される長さの見出し線分を所定ピッチでマト リクスデ一夕部 2の周囲に配置し、 これを用いてマトリクスデータ部 2内のデ一 夕セルを等分割してその位置座標を求めるので、 簡易な画像処理により、 2進化 されたデータを高精度で復元できるとともに、 データ容量をも迅速に取得するこ とができる。  As described above, according to the two-dimensional code reading method of the present embodiment, the header line segment having the length determined by using the length of one side of the cell as a basic unit at a predetermined pitch is used for the matrix decoder 2. , And the position coordinates are obtained by equally dividing the data cells in the matrix data section 2 using this, so that the binarized data can be restored with high accuracy by simple image processing. Also, the data capacity can be obtained quickly.
( 5 ) 二次元コ一ド音声化装置の第 1の実施の形態  (5) First embodiment of a two-dimensional code audio device
図 7は、 本発明にかかる二次元コ一ド音声化装置の第 1の実施の形態を示すブ ロック図である。 本実施形態の二次元コード音声化装置の特徴は、 二次元コード にコ一ド化されたバイナリデータをデコードして音声出力することに加え、 とテ キストデータと点字デ一夕をも出力可能であり、 記号化された情報を視覚、 聴覚 および触覚の多様な形態で利用可能にする点にある。  FIG. 7 is a block diagram showing a first embodiment of the two-dimensional code sound conversion device according to the present invention. The feature of the two-dimensional code speech conversion device of the present embodiment is that, in addition to decoding binary data coded into a two-dimensional code and outputting the voice, it can also output text data and Braille data. And makes the encoded information available in a variety of visual, auditory and tactile forms.
図 7に示す二次元コード音声化装置 2 0は、 操作部 6 2と、 マイクロコント口 ーラ 3 0と、 撮像部 7 0と、 画像メモリ 8 0と、 メモリ M lと、 D/Aコンパ一 夕および増幅器 8 2と、 スピーカ 5 8と、 出力ポート 8 4とを備える。 操作部 6 2は、 マイクロコントローラ 3 0に接続され、 撮像部 7 0は、 マイクロコント口 ーラ 3 0と画像メモリ 8 0に接続される。 スピーカ 5 8は、 D/Aコンパ一夕お よび増幅器 8 2に接続される。 マイクロコントローラ 3 0と画像メモリ 8 0とメ モリ M 1と D/Aコンバータおよび増幅器 8 2と出力ポート 8 4とは、 バス B U Sに共通に接続される。 The two-dimensional code sounding device 20 shown in FIG. 7 includes an operation unit 62, a microcontroller 30, an imaging unit 70, an image memory 80, a memory Ml, and a D / A converter. It comprises an amplifier 82, a speaker 58, and an output port 84. The operation unit 62 is connected to the microcontroller 30, and the imaging unit 70 is connected to the microcontroller Controller 30 and the image memory 80. The speaker 58 is connected to the D / A converter and the amplifier 82. The microcontroller 30, the image memory 80, the memory M1, the D / A converter and the amplifier 82, and the output port 84 are commonly connected to the bus BUS.
メモリ M lは、 二次元コード音声化装置 2 0を動作させるためのプログラムや デコ一ドされた二次元コード情報などの各種データを格納する他、 マイクロコン トロ一ラ 3 0が各種のデータ処理を実行するためのワークエリアをも提供する。 メモリ M lは、 複数の記憶領域を有しており、 デコードされた二次元コード情報 を複数格納して一括処理が可能な形態になっている。 また、 上記プログラムには、 本発明にかかる二次元コード音声化方法をマイクロコントローラ 3 0に実行させ るためのプログラムが含まれる。 また、 各種のデータには、 二次元コードにコ一 ド化されたテキスト文書を音声出力するときの複数の音質要素のデータと、 音素 コード列デ一夕と点字コードとを対応させた点字コ一ド変換テーブルが含まれる。 ここで、 音質要素とは、 例えば声の種類 (男または女) 、 音程 (高音、 中音、 低 音) および音量 (大 ·中 ·小) 等である。  The memory Ml stores various data such as a program for operating the two-dimensional code speech device 20 and the decoded two-dimensional code information, and the microcontroller 30 performs various data processing. It also provides a work area for executing The memory Ml has a plurality of storage areas, and is configured to store a plurality of pieces of decoded two-dimensional code information and perform batch processing. The program includes a program for causing the microcontroller 30 to execute the two-dimensional code speech conversion method according to the present invention. In addition, various types of data include data of a plurality of sound quality elements when outputting a text document coded into a two-dimensional code, and a braille code that associates a phoneme code string with a braille code. One-sided conversion table is included. Here, the sound quality elements are, for example, the type of voice (male or female), the pitch (high, medium, low) and the volume (large / medium / small).
操作部 6 2は、 二次元コード音声化装置 2 0を操作するための各種のスィッチ (図示せず) を含み、 これにより様々な設定をユーザが選択できるようになって いる。 これらの設定には、 二次元コードの読み出し開始や音声出力の中断、 再開、 早送り等の他、 テキストデータの出力要求や点字データの出力要求、 またはこれ らの複数の組み合わせが含まれる。 操作部 6 2のスィッチの状態は、 マイクロコ ントロ一ラ 3 0により読み出される。  The operation unit 62 includes various switches (not shown) for operating the two-dimensional code sounding device 20, so that various settings can be selected by the user. These settings include starting reading of the two-dimensional code, suspending, resuming, and fast-forwarding the audio output, requesting output of text data and Braille data, or a combination thereof. The state of the switch of the operation unit 62 is read by the microcontroller 30.
マイクロコントローラ 3 0は、 メモリ M 1に格納されたプログラムとユーザに よる操作部 6 2の操作に従って装置全体を動作させる。 マイクロコントローラ 3 0のより具体的な構成については、 後に詳述する。  The microcontroller 30 operates the entire apparatus in accordance with the program stored in the memory M1 and the operation of the operation unit 62 by the user. A more specific configuration of the microcontroller 30 will be described later in detail.
撮像部 7 0は、 マイクロコントローラ 3 0の指令に従って、 二次元コードの画 像を読み取る。 撮像部 7 0の具体的構成を図 8および図 9を参照しながら説明す る。 図 8は、 撮像部 7 0の側面図であり、 図 9は、 図 8の J— J線に沿って撮像 部 7 0を切断した場合の上面図である。 図 8および図 9に示すように、 撮像部 7 0は、 C C Dカメラ等の撮像素子 7 2と照明機構とを備える。 撮像部 7 0の照明 機構は、 内周面に拡散板 7 5が貼り付けられた筒 7 4と、 筒 7 4の底面に設けら れた原稿挿入部 7 8と、 筒 7 4の各側面部における原稿挿入部 7 8の近傍領域に 取り付けられ筒の内部を照明する L E D等の光源 L Sと、 光源 L Sの発光部分を 覆う力マボコ型レンズ L 2とを含む。 原稿挿入部 7 8には、 スリツト 7 6が設け られている。 本実施形態において、 原稿: D C上に二次元コードが印刷される位置 は予め決められており、 この原稿 D Cをこのスリット 7 6に特定の方法に挿入す ると、 二次元コードの部分が撮像素子 7 2の視野に収まるように設計されている。 力マボコ型レンズ L 2の表面は、 すりガラス処理が施され、 これにより原稿に光 源の像が直接移ることを防止している。 また、 筒の内周面に貼り付けられた拡散 板 7 5により照明光が拡散して原稿全体が均一に照明される。 撮像素子 7 2のレ ンズ L 1の焦点は予め調整されているので、 ユーザは原稿 D Cをスリット 7 6に 挿入するだけで煩雑なピント合わせを行なう必要なく二次元コードを読み取らせ ることができる。 The imaging unit 70 reads an image of a two-dimensional code according to a command from the microcontroller 30. The specific configuration of the imaging unit 70 will be described with reference to FIGS. FIG. 8 is a side view of the imaging unit 70, and FIG. 9 is a top view when the imaging unit 70 is cut along the line JJ in FIG. As shown in FIGS. 8 and 9, the imaging unit 70 includes an imaging device 72 such as a CCD camera and an illumination mechanism. Illumination of imaging unit 70 The mechanism consists of a cylinder 74 with a diffusion plate 75 adhered to the inner peripheral surface, a document insertion section 78 provided on the bottom of the cylinder 74, and a document insertion section 7 on each side of the cylinder 74. 8 includes a light source LS such as an LED, which is attached to the vicinity of 8 and illuminates the inside of the cylinder, and a power lens L2 that covers a light emitting portion of the light source LS. The original insertion section 78 is provided with a slit 76. In this embodiment, the position where the two-dimensional code is printed on the original: DC is predetermined, and when this original DC is inserted into the slit 76 in a specific manner, the part of the two-dimensional code is imaged. It is designed to fit within the field of view of element 72. The surface of the power lens L2 is frosted to prevent the light source image from being directly transferred to the document. In addition, the illumination light is diffused by the diffusion plate 75 attached to the inner peripheral surface of the cylinder, and the entire document is uniformly illuminated. Since the focus of the lens L1 of the image sensor 72 is adjusted in advance, the user can read the two-dimensional code without having to perform complicated focusing simply by inserting the document DC into the slit 76. .
図 7に戻り、 画像メモリ 8 0は、 撮像部 7 0により撮像された二次元コードの 画像データを格納する。  Returning to FIG. 7, the image memory 80 stores the image data of the two-dimensional code imaged by the imaging unit 70.
D /Aコンパ一夕および増幅器 8 2は、 マイクロコントローラ 3 0の規則音声 合成処理により生成されたディジタルの音声波形データを受けてこれをアナログ 信号に変換し、 増幅してスピーカ 5 8に出力する。 スピーカ 5 8は、 このアナ口 グの音声波形信号を受けて音声を出力する。 D/Aコンパ一夕および増幅器 8 2 とスピーカ 5 8は、 本実施形態において音声出力部を構成する。  The D / A converter and the amplifier 82 receive the digital voice waveform data generated by the regular voice synthesis processing of the microcontroller 30, convert this into an analog signal, amplify it, and output it to the speaker 58. . The speaker 58 receives this analog audio waveform signal and outputs audio. The D / A converter, the amplifier 82 and the speaker 58 constitute an audio output unit in the present embodiment.
出力ポート 8 4は、 画像表示ディスプレイ、 点字プリン夕または文字列表示装 置などの外部の出力機器を接続するためのポートである。  The output port 84 is a port for connecting an external output device such as an image display, a braille printer, or a character string display.
ここで、 マイクロコントローラ 3 0のより具体的な構成を図 1 0を参照しなが ら説明する。 同図に示すように、 マイクロコントローラ 3 0は、 C P U 3 4と、 撮像制御部 3 6と、 デコード部 5 4と、 音素コード列データ変換部 3 2と、 規則 音声合成処理部 5 6と、 点字データ作成部 1 0と、 出力制御部 3 8とを含む。 撮 像制御部 3 6、 デコード部 5 4、 音素コード列デ一夕変換部 3 2、 規則音声合成 処理部 5 6、 点字データ作成部 1 0、 および出力制御部 3 8は、 バス B U Sを介 して C P U 3 4に共通に接続される。 撮像制御部 3 6は、 撮像部 7 0を制御する信号を生成して撮像部 7 0に供給す る。 デコード部 5 4は、 撮像部 7 0により撮像された二次元コードの画像データ を画像メモリ 8 0 (図 7参照) から引き出し、 所定のデコード処理により二次元 コードに記号化されたバイナリデータを復元してテキストデ一夕と上述した各種 制御信号とを出力する。 音素コード列デ一夕変換部 3 2は、 デコード部 5 4から 出力されたテキストデ一夕を受けて音声合成のための中間言語である音素コード 列データを生成して出力する。 規則音声合成処理部 5 6は、 音素コード列デ一夕 と音質要素属性切換用制御信号の入力を受け、 二次元コード作成時に予め選択さ れた音質要素に対応する音素片を音質要素属性切換用制御信号に従ってメモリ M 1 (図 7参照) から取り出して組み合わせ、 ディジタルの音声波形デ一夕を生成 して出力する。 点字データ作成部 1 0は、 本実施形態において点訳部を構成し、 音素コード列データの入力を受けてメモリ M 1に格納された点字コ一ド変換テー ブルを参照しながら音素コード列デ一夕を点字デ一夕に変換して出力する。 出力 制御部 3 8は、 規則音声合成処理部 5 6から供給された音声波形デ一夕を D /A コンバータおよび増幅器 8 2に供給するとともに、 後述する専用の二次元コード カードから読み取られた出力制御信号に従って、 デコード部 5 4から供給された テキストデ一夕と点字データ作成部 1 0から供給された点字デ一夕を外部の接続 機器のデ一夕形式に適合させた上で出力ポート 8 4 (図 7参照) に出力する。 音 声波形データ以外のデータとしては、 操作部 6 2によりユーザが選択した設定に 応じて、 テキストデ一夕のみ、 点字データのみ、 またはテキストデータおよび点 字データの両方が出力制御部 3 8により出力される。 Here, a more specific configuration of the microcontroller 30 will be described with reference to FIG. As shown in the figure, the microcontroller 30 includes a CPU 34, an imaging control unit 36, a decoding unit 54, a phoneme code string data conversion unit 32, a rule speech synthesis processing unit 56, It includes a Braille data creation unit 10 and an output control unit 38. The imaging control unit 36, decoding unit 54, phoneme code string data conversion unit 32, regular speech synthesis processing unit 56, Braille data creation unit 10, and output control unit 38 are connected via the bus BUS. And are commonly connected to CPU 34. The imaging control unit 36 generates a signal for controlling the imaging unit 70 and supplies the signal to the imaging unit 70. The decoding unit 54 retrieves the image data of the two-dimensional code captured by the imaging unit 70 from the image memory 80 (see FIG. 7), and restores the binary data symbolized into the two-dimensional code by a predetermined decoding process. And outputs the text data and the various control signals described above. Upon receiving the text data output from the decoding unit 54, the phoneme code string data converter 32 generates and outputs phoneme code string data, which is an intermediate language for speech synthesis. The rule speech synthesis processing unit 56 receives the phoneme code string data and the control signal for switching the sound quality element attribute, and switches the sound element corresponding to the sound quality element selected in advance when creating the two-dimensional code. The digital audio waveform is generated and output from the memory M 1 (see Fig. 7) in accordance with the control signal. The braille data generator 10 constitutes a braille translator in the present embodiment, receives phoneme code string data, and refers to a braille code conversion table stored in the memory M1 to generate a phoneme code string data. Evening is converted to Braille and output. The output control unit 38 supplies the speech waveform data supplied from the regular speech synthesis processing unit 56 to the D / A converter and the amplifier 82, and outputs the data read from a dedicated two-dimensional code card described later. According to the control signal, the text data supplied from the decoding unit 54 and the Braille data supplied from the Braille data generator 10 are adapted to the data format of the external connection device, and output port 8 4 (see Figure 7). Depending on the settings selected by the user via the operation unit 62, the data other than the voice waveform data can be output by the output control unit 38, such as text data only, braille data only, or both text data and braille data. Is output.
次に、 図 7に示す二次元コード音声化装置 2 0の動作について本発明にかかる 二次元コード音声化方法の第 1の実施の形態として図面を参照しながら説明する ( 6 ) 二次元コ一ド音声化方法の第 1の実施の形態  Next, the operation of the two-dimensional code speech device 20 shown in FIG. 7 will be described as a first embodiment of a two-dimensional code speech method according to the present invention with reference to the drawings. First embodiment of the voice conversion method
図 1 1および図 1 2は、 本実施形態の二次元コード音声化方法の概略手順を示 すフローチャートである。 本実施形態の特徴は、 二次元コードにコード化された テキスト文書を視覚、 聴覚および触覚の 3つの態様で選択的に出力できる点と、 出力ポート 8 4に外部装置を接続するための接続条件や出力するデータ形式等の 設定を専用カード形式の二次元コードに予めコード化し、 この専用の二次元コ一 ドをデコードしてこれらの設定を音声合成等の処理に先立って実行する点にある。 図 7に示す二次元コード音声化装置 2 0は、 電源投入直後の初期状態では音声 のみを出力するように設定されている。 まず、 ユーザは、 接続先の所望の外部装 置に対応する専用カードの二次元コード (第 2の二次元コードに相当する。 以下、 設定用二次元コードという) を選択する。 この二次元コードには、 ユーザが選択 した外部装置を出力ポート 8 4に接続するための接続条件と、 二次元コード音声 化装置 2 0の各種の出力データをこの外部装置の仕様に応じたデータ形式に適合 させるための出力制御用データがコ一ド化されている。 接続可能な外部装置とし ては、 C R T (Cathode Ray Tube) や L C D (Liquid Crystal Display) 等の画 像表示装置や点字プリンタ、 点字ディスプレイなどの文字列表示装置などがある。 ユーザが設定用二次元コードを撮像部 7 0の原稿挿入部 7 8に挿入し (図 8参 照) 、 操作部 6 2の読み出し開始スィッチ (図示せず) を押すと、 撮像部 7 0が マイクロコントローラ 3 0の撮像制御部 3 6から送られる制御信号に従って、 L E D光源 L Sを点灯させ、 専用カードの二次元コードの画像を読み取り (図 1 1 のステップ S 2 1 ) 、 画像メモリ 8 0に画像デ一夕を転送して格納させる。 次に、 メモリマイクロコントロ一ラ 3 0のデコード部 5 4は、 この画像データを画像メ モリ 8 0から引き出してデコード処理を行なう (ステップ S 2 2 ) 。 より具体的 には、 二次元コードの切り出し、 位置決め等の処理を行ない、 コード上の各デ一 夕セルを読み取ってビット列のデータとして取り出す。 これにより出力制御用デ —夕が復元されて出力制御信号として出力制御部 3 8と出力ポート 8 4に供給さ れる。 この結果、 出力制御部 3 8が二次元コード音声化装置 2 0から出力するデ 一夕の形式を接続する外部装置の仕様に適合させるように設定され、 選択された 外部装置の接続条件に適合するように、 出力ポート 8 4の接続条件が設定される (ステップ S 2 3 ) 。 出力制御部 3 8と出力ポート 8 4の設定が完了すると、 二 次元コ一ド音声化装置 2 0は、 予めメモリ M 1に格納した音素コード列デ一夕を 音声合成処理し、 設定が完了した旨をスピーカ 5 8により音声でユーザに知らせ o FIG. 11 and FIG. 12 are flowcharts showing a schematic procedure of the two-dimensional code speech conversion method of the present embodiment. The features of the present embodiment are that a text document coded into a two-dimensional code can be selectively output in three modes: visual, auditory, and tactile, and connection conditions for connecting an external device to the output port 84. The settings of the data format to be output and the like are coded in advance into a two-dimensional code in a dedicated card format, and this dedicated two-dimensional code This is to decode the code and execute these settings prior to processing such as speech synthesis. The two-dimensional code audio device 20 shown in FIG. 7 is set to output only audio in an initial state immediately after power-on. First, the user selects a two-dimensional code (corresponding to a second two-dimensional code; hereinafter, referred to as a setting two-dimensional code) of a dedicated card corresponding to a desired external device to be connected. The two-dimensional code includes connection conditions for connecting an external device selected by the user to the output port 84, and various output data of the two-dimensional code audio device 20 according to the specifications of the external device. Output control data to conform to the format is coded. External devices that can be connected include image display devices such as CRT (Cathode Ray Tube) and LCD (Liquid Crystal Display), and character string display devices such as Braille printers and Braille displays. When the user inserts the two-dimensional code for setting into the original insertion section 78 of the imaging section 70 (see FIG. 8) and presses the read start switch (not shown) of the operation section 62, the imaging section 70 is activated. According to the control signal sent from the imaging controller 36 of the microcontroller 30, the LED light source LS is turned on, the image of the two-dimensional code of the dedicated card is read (step S21 in FIG. 11), and the image is stored in the image memory 80. The image data is transferred and stored. Next, the decoding unit 54 of the memory microcontroller 30 extracts this image data from the image memory 80 and performs a decoding process (step S22). More specifically, two-dimensional code extraction, positioning, and other processing are performed, and each data cell on the code is read and extracted as bit string data. As a result, the output control data is restored and supplied to the output control unit 38 and the output port 84 as an output control signal. As a result, the output control unit 38 is set to conform to the specifications of the external device to be connected to the format of the data output from the two-dimensional code audio device 20 and conforms to the connection conditions of the selected external device. Thus, the connection conditions of the output port 84 are set (step S23). When the settings of the output control unit 38 and the output port 84 are completed, the two-dimensional code speech device 20 performs speech synthesis processing on the phoneme code string stored in the memory M1 in advance, and the setting is completed. To the user via speaker 5 8
次に、 処理対象であるテキスト文書がコード化された二次元コード (第 1の二 次元コード) の情報を音声化するとともに、 点字デ一夕およびテキストデータと して出力する手順について図 1 2を参照しながら説明する。 Next, the information of the two-dimensional code (the first two-dimensional code) in which the text document to be processed is coded is converted into speech, and the Braille data and the text data are combined. The output procedure will be described with reference to FIGS.
まず、 ユーザがテキスト文書の二次元コードを撮像部 7 0にセッ卜して読み出 しスィッチ (図示せず) を押すと、 この二次元コードの画像を撮像部 7 0が読み 取って画像メモリ 8 0に格納する (ステップ S 2 4 ) 。 読み取り対象の二次元コ ードは、 従来から用いられている二次元コードでも良いが、 本実施形態では、 専 用のソフトウヱァを用いて作成された二次元コ一ドを用いる。 この二次元コ一ド には、 テキスト文書のデータと誤り訂正符号の他、 音声変換用の各種制御デ一夕 が併せて記号化されており、 特に、 テキスト文書中の一つまたは複数の文章ごと に異なる音質要素で音声化されるように音質要素属性切換用制御データが各文章 のテキストデ一夕に付加されて記号化されている。 マイクロコントローラ 3 0の デコード部 5 4は、 読み取られた二次元コードの画像デ一夕を画像メモリ 8 0か ら引き出し、 切り出し、 位置決め等の処理の後にコード上のデータセルを読み取 つてビット列のデ一夕として取り出すことにより、 これらのデータを復元 (ステ ップ S 2 5 ) し、 さらに誤り訂正符号により誤り訂正処理を行なう (ステップ S 2 6 ) o  First, when the user sets the two-dimensional code of the text document in the imaging unit 70 and reads it out and presses a switch (not shown), the imaging unit 70 reads out the image of this two-dimensional code and the image memory 70 It is stored in 80 (step S24). The two-dimensional code to be read may be a conventionally used two-dimensional code, but in the present embodiment, a two-dimensional code created by using dedicated software is used. In this two-dimensional code, in addition to the data of the text document and the error correction code, various control data for speech conversion are also symbolized. In particular, one or more texts in the text document are written. The control data for switching the attribute of the sound quality element is added to the text data of each sentence and encoded so that each sound is converted into a different sound quality element. The decoding unit 54 of the microcontroller 30 retrieves the image data of the read two-dimensional code from the image memory 80, cuts out, positions, etc., reads the data cells on the code, and decodes the bit string. By retrieving the data as one night, these data are restored (step S25), and error correction processing is further performed using an error correction code (step S26) o
次に、 マイクロコントローラ 3 0は、 操作部 6 2から読み出したユーザの要求 中にテキストデータ出力の要求があつたか否かを確認し (ステップ S 2 7 ) 、 こ の要求があった場合は、 出力制御部 3 8により音声変換用の制御信号を取り除い た上でテキストデ一夕を出力ポート 8 4から出力する (ステップ S 2 8 ) 。 これ により、 出力ポート 8 4に接続された外部の画像表示装置にテキスト文書が表示 され、 二次元コードにコード化されていた情報が視覚を通して取得される。 テキ ストデ一夕出力の要求がなかった場合は、 次のステップ S 2 9に移行する。 次に、 マイクロコントローラ 3 0の音素コード列デ一夕変換部 3 2は、 音声合 成処理の前処理としてテキストデ一夕を音素コード列データに変換する (ステツ プ S 2 9 ) 。 このとき、 二次元コードに記号化されていた音質要素属性切換用制 御データは、 音素コード列データに文章単位で付加される。 次に、 マイクロコン トローラ 3 0は、 ユーザの要求中に点字デ一夕出力の要求があつたか否かを確認 する (ステップ S 3 0 ) 。 点字データの出力要求がなかったときは、 規則音声合 成処理部 5 6が、 規則音声合成の手順に従って、 音素コード列データに音声合成 処理を行ない (ステップ S 3 3 ) 、 音声波形データに変換して D /Aコンバータ および増幅器 8 2に供給する。 このとき、 規則音声合成処理部 5 6は、 文書単位 で付加された音質要素属性切換用制御データに基づいて、 二次元コード作成時に 選択された音質要素に一致する音質要素をメモリ M 1から引き出し、 これに適合 する音素片を組み合わせて音声合成処理を行なう。 D/Aコンバータおよび増幅 器 8 2は、 供給された音声波形デ一夕を D/A変換し、 増幅してスピーカ 5 8か ら音声出力させる (ステップ S 3 4 ) 。 これにより、 二次元コードにコード化さ れたテキスト文書は、 二次元コード作成時に選択された音質要素で音声化される ので、 文章ごとに異なる種類の音声で文書が読み上げられる。 Next, the microcontroller 30 checks whether or not a request for text data output has been made during the user's request read from the operation unit 62 (step S27). After the control signal for voice conversion is removed by the output control unit 38, the text data is output from the output port 84 (step S28). As a result, the text document is displayed on the external image display device connected to the output port 84, and the information encoded in the two-dimensional code is obtained through the visual sense. If there is no request for text data output, the process proceeds to the next step S29. Next, the phoneme code string data converter 32 of the microcontroller 30 converts the text data into phoneme code string data as preprocessing of the speech synthesis processing (step S29). At this time, the control data for sound quality element attribute switching, which has been encoded in the two-dimensional code, is added to the phoneme code string data in text units. Next, the microcontroller 30 confirms whether or not a request for braille output has been made during the user's request (step S30). When there is no output request for braille data, the rule speech synthesis processing unit 56 performs speech synthesis on the phoneme code string data in accordance with the rule speech synthesis procedure. Processing is performed (step S33), and the data is converted into audio waveform data and supplied to the D / A converter and the amplifier 82. At this time, the rule speech synthesis processing unit 56 fetches, from the memory M1, a sound quality element that matches the sound quality element selected when the two-dimensional code was created, based on the sound quality element attribute switching control data added for each document. Speech synthesis processing is performed by combining phoneme segments matching this. The D / A converter and the amplifier 82 perform D / A conversion of the supplied audio waveform data, amplify and output the audio from the speaker 58 (step S34). As a result, the text document coded into the two-dimensional code is vocalized using the sound quality element selected when the two-dimensional code was created, so that the document is read out with different types of voice for each sentence.
点字データの出力要求があつたときは (ステップ S 3 0 ) 、 ステップ S 2 9に より生成された音素コード列データを点字デ一夕作成部 2 0が点字データに変換 する (ステップ S 3 1 ) 。 この処理は、 日本語等の場合、 点字がカナ文字に対応 した表音文字で表わされることに着目したものであり、 点字コード変換テーブル を参照することにより容易に変換することができる。 また、 音素コード列データ を利用することにより、 音声出力と漢字の読み方との整合性を確保することがで きる。 なお、 アルファベッ ト文字等の表音文字で、 そのまま点字に対応できる言 語については、 音素列コードデータを介在させる必要はなく、 テキストデ一夕か ら直接点字に変換する。 生成された点字デ一夕は、 出力制御部 3 8により接続先 の外部装置に適合したデータ形式で出力ポート 8 4から出力される (ステップ S S 3 2 ) 。  When a Braille data output request is received (step S30), the phoneme code string data generated in step S29 is converted into Braille data by the Braille data generator 20 (step S31). ). This processing focuses on the fact that in the case of Japanese and the like, braille is represented by phonetic characters corresponding to kana characters, and can be easily converted by referring to a braille code conversion table. Also, by using phoneme code string data, it is possible to ensure consistency between voice output and how to read kanji. For phonetic characters such as alphabetic characters that can be used as they are in Braille, there is no need to intervene in phoneme sequence code data, and they will be converted directly to Braille from text data. The generated Braille data is output from the output port 84 by the output control unit 38 in a data format suitable for the external device to be connected (step SS32).
このように、 本実施形態によれば、 二次元コードにコード化されたテキスト文 書を音声化するとともに、 テキストデータもしくは点字データ、 またはこれらの 両方を選択的に出力することができる。 これにより、 二次元コードに記号化され たデータを音声出力用スビーカから音声情報として聴覚により取得できる他、 テ キストデ一夕を外部の画像表示装置に出力させることにより、 文字情報として視 覚により確認でき、 さらに、 点字デ一夕として外部の点字プリンタや点字ディス プレイに出力することにより、 触覚による確認が可能になる。 このように、 上述 した二次元コード音声化装置は、 視覚 ·聴覚 ·触覚に跨って多角的に活用可能な マルチメディアとして提供される。 ( 7 ) 二次元コ一ドエンコーダの実施の一形態と二次元コード音声化装置の第 2の実施の形態 As described above, according to the present embodiment, a text document coded into a two-dimensional code can be vocalized, and text data, braille data, or both can be selectively output. As a result, the data encoded in the two-dimensional code can be obtained by audio as audio information from the audio output speaker, and the text data can be output to an external image display device for visual confirmation as text information. In addition, by outputting to an external Braille printer or Braille display as a Braille display, tactile confirmation is possible. As described above, the above-described two-dimensional code speech conversion device is provided as multimedia that can be utilized in a variety of ways including visual, auditory, and tactile senses. (7) One embodiment of two-dimensional code encoder and second embodiment of two-dimensional code speech device
図 1 3は、 本発明にかかる二次元コードエンコーダの実施の一形態と本発明に かかる二次元コ一ド音声化装置の第 2の実施の形態とをともに示すブロック図で ある。 ここでは、 説明の便宜のために二次元コードエンコーダと二次元コード音 声化装置のそれそれの一実施形態を併せて説明する。  FIG. 13 is a block diagram showing both an embodiment of a two-dimensional code encoder according to the present invention and a second embodiment of a two-dimensional code audio device according to the present invention. Here, for convenience of explanation, one embodiment of each of the two-dimensional code encoder and the two-dimensional code sounding device will be described together.
図 1 3の左側に示す二次元エンコーダ 4 0は、 表示部 4 6と、 選択部 4 4と、 制御部 4 2と、 プリン夕 4 8とを備える。 表示部 4 6は、 C R T (Cathode Ray Tube) や液晶ディスプレイ装置などで構成され、 テキスト文書と後述する音質要 素選択釦とを画面表示する。 選択部 4 4は、 マウス、 トラックボールやキーポー ドなどで構成され、 表示部 4 6に表示されたテキスト文書内で任意の範囲の文書 をユーザに選択させるとともに、 選択された文書を音声で読み上げるときの音質 要素を表示部 4 6に表示された音質要素選択釦からユーザに選択させる。 制御部 2は、 選択された文書のテキストデータに選択された音質要素の属性切換用制 御信号を付加した上でこれらのデータを二次元コードにエンコードする。 プリン 夕 4 8は、 エンコードされた二次元コードを印刷する。  The two-dimensional encoder 40 shown on the left side of FIG. 13 includes a display unit 46, a selection unit 44, a control unit 42, and a printer 48. The display unit 46 is composed of a CRT (Cathode Ray Tube), a liquid crystal display device, or the like, and displays a text document and a sound quality element selection button described later on a screen. The selection unit 44 includes a mouse, a trackball, a keyboard, and the like, and allows the user to select an arbitrary range of documents in the text document displayed on the display unit 46, and reads out the selected document aloud. The user selects the sound quality element at the time from the sound quality element selection button displayed on the display section 46. The control unit 2 adds a control signal for switching the attribute of the selected sound quality element to the text data of the selected document, and then encodes the data into a two-dimensional code. The printer 48 prints the encoded two-dimensional code.
図 1 3の右側に示す二次元コード音声化装置 9 0は、 二次元コードリーダ 9 2 と、 デコード部 5 4と、 メモリ M 2と規則音声合成処理部 5 6と、 スピーカ 5 8 とを備える。 二次元コードリーダ 9 2は、 二次元コードエンコーダ 4 0のプリン 夕 4 8により作成された二次元コードの記号を読み取り、 得られた画像デ一夕を デコード部 5 4に送る。 デコード部は、 受け取った画像デ一夕に対してデコード 処理を行なう。 このとき、 音質要素属性切換用制御記号も併せてデコードされて 音質要素属性切換用制御信号となる。 デコードされたテキストデ一夕と音質要素 属性切換用制御信号は、 規則音声合成処理部 5 6へ送られる。 メモリ M 2には、 二次元エンコーダ 4 0において文書のテキストデ一夕に付加される音質要素と同 一の音質要素を含む複数の音質要素が予め格納されている。 規則音声合成処理部 5 6は、 受け取ったテキストデータに付加された属性切換制御信号に基づいて二 次元コードエンコーダ 4 0で既に選択された音質要素と同一の音質要素をメモリ M 2から引き出し、 引き出した音質要素でテキストデ一夕の規則音声合成処理を 行なう。 音声合成処理により生成された音声信号は、 スピーカ 5 8に供給されて 音声出力される。 The two-dimensional code speech device 90 shown on the right side of FIG. 13 includes a two-dimensional code reader 92, a decoding unit 54, a memory M2, a regular speech synthesis processing unit 56, and a speaker 58. . The two-dimensional code reader 92 reads the symbol of the two-dimensional code created by the printer 48 of the two-dimensional code encoder 40 and sends the obtained image data to the decoding unit 54. The decoding unit performs a decoding process on the received image data. At this time, the control symbol for sound quality element attribute switching is also decoded and becomes a control signal for sound quality element attribute switching. The decoded text data and sound quality element attribute switching control signal are sent to the regular speech synthesis processing unit 56. A plurality of sound quality elements including the same sound quality element as the sound quality element added to the text data of the document in the two-dimensional encoder 40 are stored in the memory M2 in advance. Based on the attribute switching control signal added to the received text data, the rule speech synthesis processing unit 56 retrieves from the memory M2 the same tone quality element as the tone quality element already selected by the two-dimensional code encoder 40, and retrieves it. Ruled speech synthesis processing of text data overnight Do. The audio signal generated by the audio synthesis processing is supplied to the speaker 58 and output as audio.
上述した二次元ェンコーダ 4 0と二次元コ一ド音声化装置 9 0のより具体的な 動作をそれそれ本発明にかかる二次元コードのエンコード方法の一実施形態とテ キスト文書音声化方法の一実施形態として以下に説明する。  The more specific operations of the two-dimensional encoder 40 and the two-dimensional code sounding device 90 described above will be described in detail below. One embodiment of the two-dimensional code encoding method and one embodiment of the text document sounding method according to the present invention. An embodiment will be described below.
( 8 ) 二次元コードのエンコード方法の実施の一形態  (8) One embodiment of a method for encoding a two-dimensional code
図 1 4は、 本実施形態の二次元コードエンコード方法の概略手順を説明するフ ローチャートである。 また、 図 1 5から図 1 8は、 図 1 4に示すエンコード方法 の具体的手順を示す説明図である。  FIG. 14 is a flowchart illustrating a schematic procedure of the two-dimensional code encoding method according to the present embodiment. FIGS. 15 to 18 are explanatory diagrams showing specific procedures of the encoding method shown in FIG.
まず、 表示部 4 6が既に作成されたテキスト文書または作成中のテキスト文書 を表示する (ステップ S 4 1 ) 。 表示されるテキスト文書の一例を図 1 5の説明 図に示す。 同図に示す画面表示は、 汎用の文書作成ソフ トにより作成されたテキ スト文書の一例である。 表示画面の右上には、 後述する音質要素選択処理用のァ イコン 1 0 0も併せて表示されている。  First, the display unit 46 displays a text document that has already been created or is being created (step S41). An example of the displayed text document is shown in the explanatory diagram of Fig. 15. The screen display shown in the figure is an example of a text document created by general-purpose document creation software. At the upper right of the display screen, an icon 100 for sound quality element selection processing to be described later is also displayed.
ユーザがマウス等を用いてアイコン 1 0 0を開くと図 1 6に示すように、 音質 要素選択用の各種釦 B T 1 - B T 7を含むダイアログが表示される。 釦 B T 1は、 音質要素設定用釦であり、 本実施形態において 3種類の設定が可能になっている。 即ち、 声の種類 (男または女) 、 音程 (高 ·中 ·低) および音量 (大 ·中 ·小) である。  When the user opens the icon 100 using a mouse or the like, a dialog including various buttons B T1 to B T7 for selecting sound quality elements is displayed as shown in FIG. The button BT1 is a sound quality element setting button, and in this embodiment, three types of settings are possible. Voice type (male or female), pitch (high / medium / low) and volume (large / medium / small).
ユーザがマウスのドラッグ操作またはキーボ一ド操作により文書中の任意の文 章、 例えば図 1 6に示すように、 「マルチメディア文書読み上げシステム」 を選 択し (ステップ S 4 2 ) 、 さらに音質要素設定用釦 B T 1で音質の内容を設定し て設定釦 B T 2を押すと (ステップ S 4 3 ) 、 選択した文書に、 選択された音質 が設定される。 設定されたことをユーザに知らせるために、 選択された文章 「マ ルチメディア文書読み上げシステム」 が反転表示される。  The user selects an arbitrary sentence in the document by dragging the mouse or operating the keyboard, for example, as shown in FIG. 16, a "multimedia document reading system" (step S42), and furthermore, a sound quality element. When the sound quality is set with the setting button BT1 and the setting button BT2 is pressed (step S43), the selected sound quality is set in the selected document. The selected text "Multimedia Document Speech System" is highlighted to inform the user of the setting.
本実施形態において上述した音質要素は、 1文ごとに設定可能である。 ただし、 複数の文書に対して一つの音質要素を設定しても良い。 また、 図 1 7の説明図に 示すように、 表示部 4 6は、 設定された音質内容に応じて各文章ごとに字体や表 示色を切換える。 例えば声の種類が男であれば青色、 女であれば赤色で表示し、 また、 音程の高低に応じて斜体 ·太字 ·細字のスタイルに文書のフォントを切り 換え、 さらに音量の大きさをフォントの大小 (ポイント) に対応させて表示させ る。 これにより、 ユーザは設定内容を瞬時に確認することが可能になる。 なお、 ダイアログ中の一括釦 B T 3は、 選択された音質要素を全文に対して設定するた めの釦であり、 また、 取消釦 B T 7は、 上述した音質要素選択処理を途中で中止 するための釦である。 The sound quality element described above in the present embodiment can be set for each sentence. However, one sound quality element may be set for a plurality of documents. As shown in the explanatory diagram of FIG. 17, the display unit 46 switches the font and display color for each sentence according to the set sound quality content. For example, if the voice type is male, the color is blue, if female, the color is red, In addition, the font of the document is switched to italic, bold, or thin style according to the pitch, and the volume level is displayed according to the font size (point). As a result, the user can instantly check the settings. Note that the batch button BT 3 in the dialog is a button for setting the selected sound quality element for the whole text, and the cancel button BT 7 is for canceling the above-described sound quality element selection processing in the middle. Button.
全文または任意の範囲の文章について設定が終了し、 ユーザが変換釦 B T 4を 押すと、 制御部 4 2は、 選択された音質要素で各文章を音声合成するための音質 要素属性切換用制御信号を、 選択された各文章のテキストデータにそれそれ付加 し (ステップ S 4 4 ) 、 さらにエンコード処理によりコードシンボルに記号化す る (ステップ S 4 5 ) 。 このエンコード処理は、 既存のエンコードソフトウェア で可能である。 エンコードされて作成されたコードシンボルは、 貼付釦 B T 5を 押すことにより、 図 1 8の右下に示すように、 二次元コード 1のシンボル画像が 表示される。  When the setting is completed for the whole sentence or the sentence in an arbitrary range, and the user presses the conversion button BT4, the control unit 42 sends a sound quality element attribute switching control signal for synthesizing each sentence with the selected sound quality element. Are added to the text data of each selected sentence (step S44), and are further encoded into code symbols by an encoding process (step S45). This encoding process is possible with existing encoding software. By pressing the sticking button BT5 on the code symbol created by encoding, the symbol image of the two-dimensional code 1 is displayed as shown in the lower right of FIG.
さらに、 ユーザがラペル釦 B T 6 (図 1 7参照) を押すと、 プリンタ 4 8によ り二次元コード 1が紙面に印刷される (ステップ S 4 6 ) 。 二次元コードには、 記号化されたテキストデ一夕とともに、 各文章に付加された音質要素属性切換用 制御信号も記号化されて音質要素属性切換用制御記号として格納されている。  Further, when the user presses the lapel button BT6 (see FIG. 17), the two-dimensional code 1 is printed on the paper by the printer 48 (step S46). In the two-dimensional code, together with the encoded text data, the sound quality element attribute switching control signal added to each sentence is also encoded and stored as a sound quality element attribute switching control symbol.
( 9 ) テキスト文書音声化方法の実施の一形態  (9) One embodiment of the text document speech conversion method
次に、 このように作成された二次元コード 1に格納されたテキスト文書を音声 化する方法を図 1 9のフローチャートを参照しながら説明する。  Next, a method of converting a text document stored in the two-dimensional code 1 created as described above into a speech will be described with reference to the flowchart in FIG.
まず、 二次元コード音声化装置 9 0の二次元コードリーダ 9 2により二次元コ ード 1の画像を読み取る (ステップ S 4 7 ) 。 二次元コードリーダ 9 2から二次 元コード 1の画像データがデコード部 5 4に送られ、 デコード部 5 4は、 送られ た画像データに対してデコード処理を行う (ステップ S 4 8 ) 。 このとき、 音質 要素属性切換用記号の画像データも併せてデコードされて音質要素属性切換用信 号になる。 デコードされた各文章のテキストデ一夕と、 各文章のテキストデ一夕 に付加された音質要素属性切換制御信号とを規則音声合成処理部 5 6に送る。 規則音声合成処理部 5 6は、 音質要素属性切換制御信号に基づいて、 各文章に 対して選択された音質要素に対応する音質要素をメモリ M 2から取り出し、 取り 出した音質要素でテキスト文章の音声合成化処理を行なう。 (ステップ S 4 9 ) 最後に、 スピーカ 5 8により、 各文章ごとに選択された音質の音声で各テキスト 文章が読み上げられる (ステップ S 5 0 )。 First, the image of the two-dimensional code 1 is read by the two-dimensional code reader 92 of the two-dimensional code sounding device 90 (step S47). The image data of the two-dimensional code 1 is sent from the two-dimensional code reader 92 to the decoding unit 54, and the decoding unit 54 performs a decoding process on the sent image data (step S48). At this time, the image data of the sound quality element attribute switching symbol is also decoded and becomes a sound quality element attribute switching signal. The decoded text data of each text and the sound quality element attribute switching control signal added to the text data of each text are sent to the regular speech synthesis processing unit 56. The rule-based speech synthesis processing unit 5 6 On the other hand, the sound quality element corresponding to the selected sound quality element is fetched from the memory M2, and speech synthesis processing of the text sentence is performed using the fetched sound quality element. (Step S49) Finally, each text / sentence is read out by the speaker 58 using the voice of the sound quality selected for each sentence (Step S50).
( 1 0 ) 点字デ一夕作成装置の実施の一形態  (10) An embodiment of a device for creating a Braille data overnight
図 2 0は、 本発明の点字データ作成装置の実施の一形態を含むブロック図であ る。 同図に示す点字デ一夕作成装置 1 1 0は、 条件設定部 1 1 4と点字変換テー ブル選択部 1 1 8とメモリ M 3と中間言語取得部 1 1 2とフィルタリング部 1 1 6と点字変換部 1 2 2とワードラップ部 1 2 4と出力部 1 2 6とを備える。 本実 施形態において、 中間言語取得部 1 1 2、 フィルタリング部 1 1 6、 点字変換テ —ブル選択部 1 1 8および点字変換部 1 2 2は、 点訳部を構成し、 また、 点字変 換部 1 2 2は、 点字変換部と分かち書き部とを同時に構成する。 メモリ M 3は、 中間言語と点字データとを対応させた複数種類の点字コード変換テーブルを格納 する。 同図に併せて示す中間言語生成処理部 1 3 2は、 図示しないテキスト '音 声変換合成装置に備えられ、 入力されたテキストデ一夕から中間言語を生成する 条件設定部 1 1 4は、 フィル夕リング条件、 点字変換条件、 編集処理条件およ び出力条件等を設定し、 設定した各条件で各部が動作するように指令信号 C S 1 〜C S 4をフィルタリング部 1 1 6、 点字変換テーブル選択部 1 1 8、 ヮ一ドラ ップ部 1 2 4および出力部 1 2 6にそれそれ供給する。 ここでフィル夕リング条 件とは、 フィル夕リング部 1 1 6によるフィル夕リング処理の種類をいい、 点字 変換条件とは、 中間言語を点字コードに変換するときに用いる点字コード変換テ 一ブルの種類をいう。 また、 編集処理条件とは、 後述するワードラップ処理を実 行するときの最大文字数を言う。 また、 出力条件とは、 点字デ一夕の出力先であ る点字プリン夕または点字ディスプレイの種類をいう。  FIG. 20 is a block diagram including an embodiment of the braille data creation device of the present invention. The Braille data creation device 110 shown in the figure is composed of a condition setting unit 114, a Braille conversion table selection unit 118, a memory M3, an intermediate language acquisition unit 112, and a filtering unit 116. It has a Braille conversion unit 122, a word wrap unit 124 and an output unit 126. In this embodiment, the intermediate language acquisition unit 112, the filtering unit 116, the braille conversion table selection unit 118, and the braille conversion unit 122 constitute a braille translation unit, and a braille conversion unit. The unit 122 simultaneously constitutes a Braille conversion unit and a segmentation unit. The memory M3 stores a plurality of types of braille code conversion tables corresponding to the intermediate language and the braille data. The intermediate language generation processing unit 13 2 shown in the figure is provided in a text-to-speech conversion synthesis device (not shown), and the condition setting unit 1 14 that generates the intermediate language from the input text data is Set filter conditions, braille conversion conditions, editing processing conditions, output conditions, etc., and filter the command signals CS1 to CS4 so that each part operates under the set conditions. These are supplied to the selection section 118, the first drop section 124 and the output section 126, respectively. Here, the fill-in ring condition refers to the type of fill-in ring processing performed by the fill-in ring portion 1 16. The braille conversion condition is a braille code conversion table used when converting an intermediate language into a braille code. Type. The editing processing condition refers to the maximum number of characters when executing the word wrap processing described later. The output condition refers to the type of Braille printer or Braille display that is the output destination of Braille data.
中間言語取得部 1 1 2は、 中間言語生成処理部 1 3 2から中間言語を受け取つ てフィル夕リング部 1 1 6に供給する。  The intermediate language acquisition unit 112 receives the intermediate language from the intermediate language generation processing unit 132 and supplies it to the filtering unit 116.
フィルタリング部 1 1 6は、 条件設定部 1 1 4からの指令信号 C S 1を受けて 設定されたフィル夕リング条件に従い、 中間言語取得部 1 1 2から供給された中 間言語から点訳に不必要な記号を取り除く。 点字変換テーブル選択部 1 1 8は、 条件設定部 1 1 4からの指令信号 C S 2を 受けてメモリ M 3に格納された複数種類の点字コード変換テーブルから設定され た点字コード変換テーブルを引き出して保持する。 The filtering unit 1 16 receives the command signal CS 1 from the condition setting unit 1 14 and does not need to translate from the intermediate language supplied from the intermediate language acquisition unit 1 12 according to the filtering conditions set. Remove symbols. The braille conversion table selection unit 1 18 receives the command signal CS 2 from the condition setting unit 1 14 and extracts the set braille code conversion table from a plurality of types of braille code conversion tables stored in the memory M 3. Hold.
点字変換部 1 2 2は、 点字変換テーブル選択部 1 1 8により保持された点字コ ード変換テーブルを参照しながら、 フィル夕リング部 1 1 6から供給されたフィ ル夕リング処理後のデータを点字コードに変換する。  The braille conversion unit 122 refers to the braille code conversion table held by the braille conversion table selection unit 118, and refers to the data after the filtering process supplied from the filtering unit 116. To Braille code.
ワードラップ部 1 2 4は、 条件設定部 1 1 4から供給された指令信号 C S 3に 従い、 点字変換部 1 2 2から供給された点字コードデータのワードラップを設定 された文字数で実行する。  The word wrap section 124 executes the word wrap of the braille code data supplied from the braille conversion section 122 with the set number of characters in accordance with the command signal CS3 supplied from the condition setting section 114.
出力部 1 2 6は、 条件設定部 1 1 4から供給された指令信号 C S 4に従い、 設 定された点字デバイスに点字データを出力する。 ここで、 点字デバイスには、 点 字プリンタの他、 点字ディスプレイなどが含まれる。  The output unit 126 outputs braille data to the set braille device according to the command signal CS4 supplied from the condition setting unit 114. Here, the braille device includes a braille printer, a braille display, and the like.
図 2 0に示す点字デ一夕作成装置 1 1 0を用いて音声合成用の中間言語から点 字デ一夕を出力する手順を本発明にかかる点字データ作成方法の実施の一形態と して図 2 1および図 2 2を参照しながら具体的に説明する。  The procedure of outputting braille data from an intermediate language for speech synthesis using the braille data creation device 110 shown in FIG. 20 is an embodiment of the braille data creation method according to the present invention. A specific description will be given with reference to FIGS. 21 and 22.
( 1 1 ) 点字デ一夕作成方法の実施の一形態  (11) One embodiment of the method for creating Braille data
図 2 1は、 本発明にかかる点字デ一夕作成方法の実施の一形態の説明図であり、 テキストデータに情報化された文章 "システムを提供します。 " を一例として取 り挙げ、 このテキスト文書を点字データに変換して出力するまでを具体的に表わ した説明図である。 また、 図 2 2は、 図 2 1に示す点字データ作成方法の概略手 順を示すフローチャートである。  FIG. 21 is an explanatory diagram of an embodiment of a method for creating a Braille data file according to the present invention. The example of a sentence "System provided." FIG. 4 is an explanatory diagram specifically showing a process of converting a text document into Braille data and outputting the data. FIG. 22 is a flowchart showing a schematic procedure of the braille data creating method shown in FIG.
まず、 図 2 1の設定条件 S Cに示すように、 条件設定部 1 1 4に点字デ一夕の 作成条件を設定させる (図 2 2、 ステップ S 5 1 ) 。 本実施形態において、 条件 設定部 1 1 4は、 設定条件 S Cとして、 フィルタリング手法 " F A"、 出力デバ イス "点字プリン夕 A" 、 点字コード "NA B C C" およびワードラップ文字数 " 1 0文字" を設定している。 ここで、 フィル夕リング手法 " F A" とは、 フィ ル夕リングするデータをアルファべッ トと数字に設定することをいい、 出力デバ イス "点字プリン夕 A" とは、 出力デバイスとして点字プリンタ Aを設定するこ とをいい、 これにより点字プリン夕 Aに適切な条件で処理を行うための条件が設 定される。 より具体的には、 図 21の出力デ一夕 DT 6に示すように、 出力デバ イス制御コードが ~ Aと設定される。 First, as shown in the setting condition SC of FIG. 21, the condition setting unit 114 sets the conditions for creating the Braille data overnight (FIG. 22, step S51). In this embodiment, the condition setting unit 114 sets the filtering method “FA”, the output device “Braille pudding A”, the braille code “NA BCC”, and the number of word wrap characters “10 characters” as the setting condition SC. You have set. Here, the filtering method “FA” refers to setting the data to be filtered to alphabets and numbers, and the output device “Braille pudding A” refers to a braille printer as an output device. A, which sets the conditions for processing braille pudding A under appropriate conditions. Is determined. More specifically, the output device control code is set to ~ A, as shown in DT6 of the output device of FIG.
次に、 点字変換テーブル選択部 118は、 条件設定部 114で設定された点字 コード "NABCC" に対応した点字コード変換テーブル Tをメモリ M3から引 き出して保持する (ステップ S 52) 。 点訳では、 文節および読点 「、 」 の後は 一マス空け、 句点 「。 」 、 「?」 および 「!」 の後は二マス空ける。 本実施形態 の点字コード変換テーブル Tは、 読み情報に対応する点字コード (第 1の点字コ —ド) とともに、 これらのマス空けのためのスペースを、 文節の区切りを表す部 分である、 句読点、 「。 」 、 「、 」 、 「?」 、 「!」 に対応した点字コード (第 2の点字コード) として割り振つている。  Next, the Braille conversion table selection unit 118 draws out the Braille code conversion table T corresponding to the Braille code “NABCC” set by the condition setting unit 114 from the memory M3 and holds it (step S52). In the braille translation, one space is left after the phrase and the reading mark “,”, and two spaces are left after the punctuation marks “.”, “?” And “!”. The Braille code conversion table T according to the present embodiment includes a Braille code (first Braille code) corresponding to the reading information, and a space for emptying these squares. , ".", ",", "?", "!" Are allocated as braille codes (second braille codes).
次に、 中間言語取得部 112が音声合成用の中間言語を取得する (ステップ S 53) 。 この中間言語は、 図示しないテキスト '音声変換合成装置が備える中間 言語生成処理部 132 (図 20参照) により生成されたものである。 より具体的 には、 図 21に示すように、 入力テキスト DT 1 "システムを提供します。 " に 対して中間言語 DT 2 "P 1シ] ステムヲ, テーキヨ一シマ Iス P 0。 " が生成 され、 この中間言語を中間言語取得部 112が取得する。  Next, the intermediate language acquisition unit 112 acquires an intermediate language for speech synthesis (step S53). This intermediate language is generated by the intermediate language generation processing unit 132 (see FIG. 20) provided in the text-to-speech conversion / synthesizing apparatus (not shown). More specifically, as shown in FIG. 21, the input text DT 1 "Provides a system." Is generated for the intermediate language DT 2 "P 1 system", and the input text DT 1 "System I 0" is generated. The intermediate language is acquired by the intermediate language acquisition unit 112.
次に、 フィル夕リング部 116は、 中間言語取得部 112で取得した中間言語 から点訳に必要な文節区切り情報と読み情報を取り出す (ステップ S 54) 。 よ り具体的には、 図 21に示すように、 中間言語 DT2 "P 1シ] ステムヲ, テー キヨーシマ Iス P0。 " に対し、 フィル夕リング部 116は、 条件設定部 114 で設定されたフィル夕リング手法 "FA"に応じて、 アルファべットと数字をフ イルクリングすることにより文節区切り記号 ", " "。 " と、 読み記号 "システ ムヲテ一キヨーシマス" とを取り出した記号列 "システムヲ, テ一キヨ一シマス c " (フィル夕リング後デ一夕 DT3) を出力する。 Next, the filtering unit 116 extracts phrase separation information and reading information necessary for braille from the intermediate language acquired by the intermediate language acquisition unit 112 (step S54). More specifically, as shown in FIG. 21, for the intermediate language DT2 “P 1 system”, Takeshima I-S P0., The filter unit 116 sets the filter set by the condition setting unit 114. In accordance with the evening ring method "FA", alphabetic characters and numbers are file-clipped to extract the phrase delimiters ",""." And the phonetic symbol "System @ 1". , テ, 3 3 (((((3 3 3 3 3
次に、 点字変換部 122は、 選択された点字コード変換テーブル Tを参照して、 フィル夕リングされた中間言語を点字コードに変換すると同時に分かち書きを行 う (ステップ S 55) 。 前述したとおり、 点字コード変換テーブル Tにおいて、 マス空けのためのスペースが、 文節の区切りを表す部分に対応した点字コードと して、 読み情報に対応する点字コードと同時に割り振られているので、 読み情報 を点字コードに変換すると同時に分かち書き処理が可能になる。 即ち、 図 21に 示すように、 フィルタリングされた中間言語 DT 3 "システムヲ, テーキヨーシ マス。 " は、 点字コード変換テーブル Tを参照して点字コードデータ DT4 " ¥?QY9DQ3@ [3 ¥Z? 4DD"に変換される。 ここで口が空白を表すス ペース文字である。 Next, the Braille converting unit 122 converts the filled intermediate language into the Braille code with reference to the selected Braille code conversion table T, and simultaneously performs the writing (step S55). As described above, in the Braille code conversion table T, the space for blank space is allocated at the same time as the Braille code corresponding to the reading information, as the Braille code corresponding to the part indicating the segment break. information Is converted to a braille code, and at the same time, it is possible to perform the segmentation processing. In other words, as shown in FIG. 21, the filtered intermediate language DT 3 "System I, Takeshima." Refers to the Braille code conversion table T, and the Braille code data DT4 "\? QY9DQ3 @ [3 ¥ Z? 4DD Is converted to " Here, the mouth is a space character representing a space.
次いで、 ワードラップ部 124は、 点字変換部 122で変換された点字コード デ一夕に対してヮ一ドラヅプ処理を行なう (ステップ S 56) 。 ワードラップ手 順の一具体例として、 点字コードデータの文字数をカウン夕 (図示せず) にカウ ントアップして行くと同時に、 スペース文字をもとに文節区切り部を記録してお き、 次の文節区切り部に行く前に、 カウントされた文字数が条件設定部 114で 設定されたワードラップ文字数を超えた場合に、 文節のスペース文字を改行コ一 ドに置き換える。 もし一文節の文字数がヮードラップ文字数を超える場合には、 文節途中に改行コ一ドを挿入する。 いずれの場合も改行コードを揷入すると一旦 カウン夕をリセッ トし、 この改行コードの次の文字からカウントを再開する。 例 えば、 点字コードデータ列 DT 4 "¥?QY9DQ3@ [3¥Z?4dCI,, では、 設定されたワードラップ数 10文字を 2分節目で超えるので、 図 21の点字コ一 ドヮ一ドラップデ一夕 D T 5に示すように、 その前の 1文節目の文節区切り部で 改行を行う。  Next, the word wrap unit 124 performs a single-draft process on the Braille code converted by the Braille conversion unit 122 (step S56). As a specific example of the word wrapping procedure, the number of characters in the braille code data is counted up in a county (not shown), and at the same time, the phrase separation part is recorded based on the space character. If the counted number of characters exceeds the number of word wrap characters set in the condition setting unit 114 before going to the phrase delimiter, the space character in the phrase is replaced with a line feed code. If the number of characters in one phrase exceeds the number of de-wrapped characters, insert a line feed code in the middle of the phrase. In any case, once a line feed code is entered, the count is reset and counting restarts from the character following the line feed code. For example, in the braille code data string DT 4 "\? QY9DQ3 @ [3 \ Z? 4dCI ,, the set word wrap number exceeds 10 characters in the second segment, so the braille code in FIG. One night As shown in DT 5, a line feed is performed at the segment break of the first clause before that.
最後に、 出力部 126は、 点字データを出力先の点字出力デバイスのデ一夕形 式に適合させて出力する (ステップ S 57) 。 より具体的には、 条件設定部 11 4で設定された接続デバイス制御コードを出力点字データに付加する。 本実施形 態では、 出力デバイスの点字プリン夕 Aの受け取り点字データ形式を NABCC、 1行印字文字数を 10文字に設定する制御コードが Λ Aと設定されるので、 図 2 1の出力データ DT 6に示すように、 "Λ A¥? QY9—改行コード一 Q3@ [3¥Z? 4—改行コードー" が出力される。 Finally, the output unit 126 adapts the Braille data to the data format of the output destination Braille output device and outputs the data (step S57). More specifically, the connection device control code set by the condition setting unit 114 is added to the output braille data. In this embodiment shaped condition, the control code for setting the receiving braille data format of Braille purine evening A output devices NABCC, 1-line printing characters to 10 characters are set as lambda A, the output data DT 6 in FIG. 2 1 As shown in, " Λ A ¥? QY9—Line feed code 1 Q3 @ [3 \ Z? 4—Line feed code-" is output.
(12) プログラムおよび記録媒体  (12) Program and recording medium
上述した二次元コードの読み取り方法、 二次元コード音声化方法、 二次元コー ドのエンコード方法、 テキスト文書音声化方法、 および点字デ一夕作成方法の各 一連の手順は、 プログラムに組み込んで画像データ処理可能なコンピュー夕に読 み込ませて実行させても良い。 これにより、 本発明にかかる二次元コードの読み 取り方法、 二次元コード音声化方法、 二次元コードのエンコード方法、 テキスト 文書音声化方法、 および点字デ一夕作成方法を汎用コンビユー夕を用いてそれそ れ実現することができる。 また、 上述した二次元コードの読み取り方法、 二次元 コード音声化方法、 二次元コードのエンコード方法、 テキスト文書音声化方法、 および点字データ作成方法の各一連の手順を画像データ処理可能なコンビユー夕 に実行させるプログラムとしてフレキシブルデイスクゃ C D— H O M等の記録媒 体にそれそれ収納し、 コンビユー夕に読み込ませて実行させても良い。 記録媒体 は、 磁気ディスクや光ディスク等の携帯可能なものに限定されず、 ハードデイス ク装置やメモリなどの固定型の記録媒体でも良い。 また、 上述した二次元コード の読み取り方法、 二次元コード音声化方法、 二次元コードのエンコード方法、 テ キスト文書音声化方法、 および点字データ作成方法の各一連の手順を組込んだプ ログラムをインターネット等の通信回線 (無線通信を含む) を介してそれそれ頒 布しても良い。 さらに、 上述した二次元コードの読み取り方法、 二次元コード音 声化方法、 二次元コードのエンコード方法、 テキスト文書音声化方法、 および点 字データ作成方法の各一連の手順を組込んだプログラムを暗号化したり、 変調を かけたり、 圧縮した状態で、 イン夕一ネット等の有線回線や無線回線を介して、 あるいは記録媒体に収納してそれそれ頒布しても良い。 The above-mentioned series of procedures for reading two-dimensional codes, two-dimensional code speech, two-dimensional code encoding, text document speech, and braille data creation are implemented by incorporating image data into programs. Read on a computer that can process You may let it be executed. As a result, the two-dimensional code reading method, the two-dimensional code speech method, the two-dimensional code encoding method, the text document speech method, and the braille decoding method according to the present invention can be implemented using a general-purpose view. That can be achieved. In addition, the above-described series of procedures for the two-dimensional code reading method, the two-dimensional code speech method, the two-dimensional code encoding method, the text document speech method, and the braille data creation method are described in a combination that can process image data. As a program to be executed, each program may be stored in a recording medium such as a flexible disk CD-HOM and read and executed by a combination program. The recording medium is not limited to a portable medium such as a magnetic disk or an optical disk, but may be a fixed recording medium such as a hard disk device or a memory. In addition, a program that incorporates the above-described series of procedures for the two-dimensional code reading method, the two-dimensional code conversion method, the two-dimensional code encoding method, the text document conversion method, and the braille data creation method is provided on the Internet. It may be distributed via communication lines (including wireless communication). In addition, a program that incorporates the above-described two-dimensional code reading method, two-dimensional code sounding method, two-dimensional code encoding method, text document sounding method, and braille data creation method is embedded in a program. In the state of being converted, modulated, or compressed, it may be distributed via a wired or wireless line such as an Internet connection network, or stored in a recording medium.
以上、 本発明の実施の形態のいくつかについて説明したが、 本発明は上記形態 に限ることなく、 その技術的範囲を逸脱しない範囲で種々変形して適用すること ができる。 例えば、 上述した二次元コード音声化装置の第 1の実施形態では、 二 次元コードの画像データを取得する撮像素子 7 2と照明機構とを含む撮像部 7 0 と、 規則音声合成処理部 5 6と、 スピーカ 5 8と、 テキスト文書データ用および 点字プリンタ用のデータ出力ポート 8 4とを全て内蔵する形態について説明した が、 例えば外部の二次元コードリーダで取得された画像デ一夕を画像メモリに取 り込む形態でも良い。 また、 音声出力に加えてテキストデータおよび点字データ をも出力できる二次元コード音声化装置について説明したが、 これに限ることな く、 音声出力と点字デ一夕のみを出力するものでも良い。 さらに、 出力ポート 8 4に接続する外部装置として画像表示装置と点字プリン夕と点字ディスプレイと を例示したが、 これに限ることなく、 例えばモデム等を介して有線回線または無 線回線により携帯電話等の通信機器に接続しても良い。 また、 例えば図 2 1に示 す例では、 点字デバイスとして点字ブリン夕 Aを取り上げ、 これに適応する点字 デ一夕形式で出力することとしたが、 点字ディスプレイに適応する点字データ形 式も設定できることは勿論である。 さらに、 上述したテキスト文書音声化方法、 点字データ作成装置および点字データ作成方法の各実施形態では、 テキストデー 夕として日本語の文章を例に取り上げて説明したが、 これは単なる一例であり、 本発明があらゆる言語に適用できることも勿論である。 Although some of the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and can be applied with various modifications without departing from the technical scope thereof. For example, in the above-described first embodiment of the two-dimensional code speech conversion device, the imaging unit 70 including an imaging device 72 for acquiring image data of a two-dimensional code and a lighting mechanism, and a regular speech synthesis processing unit 56 And the speaker 58 and the data output port 84 for the text document data and the braille printer are all built-in. For example, the image data acquired by the external two-dimensional code reader is stored in the image memory. It is also possible to adopt a form that takes in the data. In addition, the two-dimensional code vocoder which can output text data and braille data in addition to voice output has been described. However, the present invention is not limited to this, and may output only voice output and braille data. Further, as an external device connected to the output port 84, an image display device, a braille printer, and a braille display are provided. However, the present invention is not limited to this, and a connection may be made to a communication device such as a mobile phone via a wired line or a wireless line via a modem or the like. Also, for example, in the example shown in Fig. 21, Braille device A is taken as a Braille device, and it is decided to output in Braille data format that is compatible with it, but the Braille data format that is suitable for Braille displays is also set. Of course, you can. Furthermore, in each of the above-described embodiments of the text document speech conversion method, the braille data creation device, and the braille data creation method, the description has been given by taking a Japanese sentence as an example of the text data. However, this is only an example, and Of course, the invention can be applied to any language.

Claims

請 求 の 範 囲 The scope of the claims
1 . バイナリデータがセル状に記号化されて二次元マトリクスをなすように 配置されたデータ領域と、 1. A data area in which binary data is encoded in a cell and arranged to form a two-dimensional matrix;
前記第 1のデータ領域を囲むように配置され、 前記データ領域のデータ密度の 情報と位置決め情報とを与えるパターンと、 を備え、  A pattern which is arranged so as to surround the first data area, and which provides information on data density of the data area and positioning information,
前記パターンは、  The pattern is
隣り合う第 1の辺と第 2の辺とが前記第 1のデータ領域に近接し、 前記第 1の 辺と前記第 2の辺にそれそれ対向する第 3の辺と第 4の辺とが前記データ領域に 離隔するように配置されたほぼ矩形の実線と、  An adjacent first side and a second side are close to the first data area, and a third side and a fourth side opposed to the first side and the second side respectively. A substantially rectangular solid line spaced apart from the data area;
前記第 1の辺と前記第 2の辺から外側に延在するようにそれそれ所定ビッチで 配置された第 1の突起部と第 2の突起部と、  A first projection and a second projection each arranged at a predetermined bit so as to extend outward from the first side and the second side;
前記第 3の辺と前記第 4の辺から前記デー夕領域に向かつて内側に延在するよ うにそれそれ所定ピッチで配置された第 3の突起部と第 4の突起部と、  A third protrusion and a fourth protrusion arranged at a predetermined pitch so as to extend inward from the third side and the fourth side toward the data area,
前記第 1の辺と前記第 2の辺の交点である第 1の端点から前記第 1の辺と前記 第 2の辺とをそれそれ延長するように配置された第 5の突起部および第 6の突起 部と、  A fifth protrusion and a sixth protrusion arranged so as to extend the first side and the second side from a first end point which is an intersection of the first side and the second side. And the projection of
前記第 1の端点とは異なる前記第 1の辺の端点である第 2の端点から前記第 4 の辺を延長させるように配置された第 7の突起部と、  A seventh protrusion disposed so as to extend the fourth side from a second end point that is an end point of the first side different from the first end point;
前記第 1の端点とは異なる前記第 2の辺の端点である第 3の端点から、 前記第 3の辺を延長させるように配置された第 8の突起部と、  An eighth protrusion arranged to extend the third side from a third end point that is an end point of the second side different from the first end point;
を含み、 Including
前記第 3の辺と前記第 4の辺との交点である第 4の端点には突起部が配置され ない、 二次元コ一ド。  A two-dimensional code, wherein no protrusion is disposed at a fourth end point which is an intersection of the third side and the fourth side.
2 . 前記第 1乃至第 4の辺の線幅と前記第 1乃至第 8の突起部の幅は、 前記 セルのサイズに対応して設定されることを特徴とする請求項 1に記載の二次元コ ード。 2. The line width according to claim 1, wherein the line width of the first to fourth sides and the width of the first to eighth protrusions are set in accordance with the size of the cell. Dimensional code.
3 . 前記第 1の突起部は、 前記第 1の端点から前記第 2の端点に向かって第 1の長さのピッチで N ( Nは自然数) 個配置され、 3. The first protrusions are arranged N (N is a natural number) at a pitch of a first length from the first end point toward the second end point,
前記第 2の突起部は、 前記第 1の端点から前記第 3の端点に向かって第 2の長 さのピッチで M (Mは自然数) 個配置され、  M (M is a natural number) M pieces of the second protrusions are arranged at a pitch of a second length from the first end point to the third end point,
前記第 3の突起部は、 前記第 3の端点から前記第 4の端点に向かって前記第 1 の長さのピッチで前記 N個配置され、  The N third protrusions are arranged at a pitch of the first length from the third end point to the fourth end point, and
前記第 4の突起部は、 前記第 2の端点から前記第 4の端点に向かつて前記第 2 の長さのピッチで前記 M個配置されることを特徴とする請求項 1または 2に記載 の二次元コード。  The M protrusions are arranged at a pitch of the second length from the second end point toward the fourth end point, wherein the M protrusions are arranged. Two-dimensional code.
4 . 前記第 1の長さと前記第 2の長さは、 それそれ前記セルのサイズに対応 して設定されることを特徴とする請求項 3に記載の二次元コード。 4. The two-dimensional code according to claim 3, wherein the first length and the second length are respectively set according to the size of the cell.
5 . 二進化されたデータのビッ卜が明部または暗部の正方形デ一夕セ^^とし て記号化されて二次元マトリクスをなすように配置されたデ一夕部と、 5. The binaries of the binarized data are symbolized as bright or dark squares ^^, and are arranged to form a two-dimensional matrix;
前記デ一夕部の周囲部に配置され、 前記セルの印刷ピッチの情報を与える第 1 の図形と、  A first figure which is arranged in a peripheral portion of the data section and gives information on a print pitch of the cell;
前記デ一夕部の周囲部に配置され、 前記セルの回転方向の情報を与える第 2の 図形と、  A second figure which is arranged around the departure part and gives information on the direction of rotation of the cell;
を備える二次元コードであって、 A two-dimensional code comprising
前記データ部は、 互いに直行する第 1および第 2の方向に前記データセルが互 いに隣接してそれそれ N個 (Nは自然数) 配置された正方形の小領域が、 前記第 1の方向に L個 (Lは自然数) 、 前記 2の方向に M個 (Mは自然数) だけ互いに 隣接して配置されて構成され、 前記データ部の周縁の形状は、 前記第 2の方向の 第 1の辺と、 この第 1の辺に直交する第 2の辺と、 互いに直交し前記第 1および 第 2の辺にそれそれ対向する第 3および第 4の辺と、 を有する矩形であり、 前記第 1の図形は、  The data portion includes a square small area in which N data cells (N is a natural number) are arranged adjacent to each other in first and second directions orthogonal to each other in the first direction. L (L is a natural number) and M (M is a natural number) are arranged adjacent to each other in the two directions, and the shape of the periphery of the data portion is the first side in the second direction. A second side orthogonal to the first side, and third and fourth sides orthogonal to each other and opposite to the first and second sides, respectively, The shape of
前記第 1の辺に沿って前記デ一夕部に近接して配置され、 前記第 1の辺と前記 第 2の辺との交点の近傍を起点として前記小領域のサイズに応じたピッチで互い に離隔して配置された (M+1)個の第 1の線分と、 The first side and the second side are arranged close to each other at a distance from each other at a pitch corresponding to the size of the small area, starting from a point near an intersection of the first side and the second side; (M + 1) first line segments spaced apart from each other,
前記第 1の方向であって前記データ部の外側へ向けて前記第 1の線分のほぼ中 央からそれそれ突出するように設けられた (M+1)個の第 2の線分と、 前記第 2の辺に沿って前記データ部に近接して配置され、 第 1個目の前記第 2 の線分の頂点を起点として前記小領域のサイズに応じたピッチで互いに離隔して 配置された (L+1)個の第 3の線分と、  (M + 1) second line segments provided so as to protrude from the center of the first line segment toward the outside of the data portion in the first direction, respectively; The first line segment is arranged along the second side in close proximity to the data section, and is spaced apart from each other at a pitch corresponding to the size of the small area with a vertex of the first line segment as a starting point. (L + 1) third line segments,
前記第 2の方向であって前記データ部の外側へ向けて前記第 2の線分のほぼ中 央からそれそれ突出するように設けられた (L + 1)個の第 4の線分と、 前記第 3の辺に平行な線に沿って前記データ部に離隔して配置され、 前記第 4 の線分の頂点を結ぶ線上の一点を起点として前記小領域のサイズに応じたピッチ で互いに離隔して配置された (M+1)個の第 5の線分と、  (L + 1) fourth line segments provided so as to protrude from the center of the second line segment toward the outside of the data portion in the second direction, respectively. The data section is spaced apart from the data section along a line parallel to the third side, and is spaced apart from each other at a pitch corresponding to the size of the small area with a point on a line connecting vertices of the fourth line segment as a starting point. (M + 1) fifth line segments
対応する前記第 2の線分の延長線上にそれそれ配置され、 前記第 5の線分のほ ぼ中央から前記データ部の側へ向けて延出するように設けられた (M+1)個の 第 6の線分と、  (M + 1) pieces arranged so as to extend from the approximate center of the fifth line segment toward the data portion side, respectively, being arranged on the extension of the corresponding second line segment. The sixth line segment of
前記第 4の辺に平行な線に沿って前記デ一夕部に離隔して配置され、 前記第 2 の線分の頂点を結ぶ線上の一点を起点として前記小領域のサイズに応じたピッチ で互いに離隔して配置された (L+1)個の第 7の線分と、  A line is arranged at a distance from the defocus portion along a line parallel to the fourth side, and at a pitch corresponding to the size of the small region, starting from a point on a line connecting the vertices of the second line segment. (L + 1) seventh line segments spaced apart from each other,
対応する前記第 4の線分の延長線上にそれそれ配置され、 前記第 7の線分のほ ぼ中央から前記データ部へ向けて突出するように設けられた第 8の線分と、 を含 み、  And an eighth line segment provided so as to protrude from substantially the center of the seventh line segment toward the data portion, each of which is arranged on an extension of the corresponding fourth line segment. See
前記第 2の図形は、 その両端が前記 (M+1)個目の第 5の線分と前記 (L + 1)個目の第 7の線分に連続するように設けられる L字の図形であり、  The second figure is an L-shaped figure provided so that both ends thereof are continuous with the (M + 1) -th fifth line segment and the (L + 1) -th seventh line segment. And
前記第 5の線分と前記第 7の線分は、 前記第 6の線分の頂点と前記第 8の線分 の頂点がそれそれ前記第 3の辺と前記第 4の辺から離隔するように前記データ部 から離隔して配置される、  The fifth line segment and the seventh line segment are arranged such that the vertices of the sixth line segment and the eighth line segment are separated from the third side and the fourth side, respectively. At a distance from the data section,
二次元コード。 Two-dimensional code.
6. 前記第 1の線分乃至前記第 8の線分の長さは、 前記データセルの一辺の 長さを基本単位としてそれそれ決定されることを特徴とする請求項 5に記載の二 次元コード。 6. The method according to claim 5, wherein the lengths of the first to eighth line segments are determined based on the length of one side of the data cell as a basic unit. Dimension code.
7 . 請求項 1乃至 4のいずれかに記載の二次元コードの読み取り方法であつ て、 7. The method for reading a two-dimensional code according to any one of claims 1 to 4, wherein
前記二次元コードの画像を取得する手順と、  A procedure for acquiring an image of the two-dimensional code,
取得された前記画像内で、 周縁が前記第 4の端点に接するとともに、 前記第 7 の突起部の少なくとも一部と前記第 8の突起部の少なくとも一部とを含むように、 前記パターンを取囲む矩形領域を切り出す手順と、  In the acquired image, the pattern is formed such that a peripheral edge contacts the fourth end point and includes at least a part of the seventh protrusion and at least a part of the eighth protrusion. Steps to cut out the surrounding rectangular area,
前記第 4の端点、 前記第 Ίの突起部および前記第 8の突起部と前記矩形領域の 周縁との各接点をそれそれ第 1の接点、 第 2の接点および第 3の接点として特定 し、 前記第 5または第 6の突起部と前記矩形領域の周縁との接点を第 4の接点と して認識する手順と、  The fourth end point, the 突起 th projection, the eighth projection, and the respective contacts of the periphery of the rectangular area are respectively identified as a first contact, a second contact, and a third contact, Recognizing a contact point between the fifth or sixth protrusion and the periphery of the rectangular area as a fourth contact point;
前記第 1の接点と前記第 2の接点とを結ぶ第 1の線分を設定し、 前記第 1の接 点と前記第 3の接点とを結ぶ第 2の線分を設定する手順と、  Setting a first line segment connecting the first contact and the second contact, and setting a second line segment connecting the first contact and the third contact;
前記第 1の線分に平行な第 1の仮想線を設定して前記第 4の接点から前記第 3 の接点の方向へ移動させることにより、 前記第 1の突起部と前記第 3の突起部と 前記第 2の辺とを認識する手順と、  By setting a first virtual line parallel to the first line segment and moving it from the fourth contact point to the third contact point, the first protrusion and the third protrusion Recognizing the second side and
前記第 2の線分に平行な第 2の仮想線を設定して前記第 4の接点から前記第 2 の接点の方向へ移動させることにより、 前記第 2の突起部と前記第 4の突起部と 前記第 1の辺とを認識する手順と、  By setting a second virtual line parallel to the second line segment and moving it from the fourth contact point to the second contact point, the second protrusion and the fourth protrusion are formed. And recognizing the first side; and
認識された第 1乃至第 4の突起部の数量に基づいて前記データ領域における前 記バイナリデータの容量を算出する手順と、  Calculating the capacity of the binary data in the data area based on the recognized number of the first to fourth protrusions;
前記矩形領域の周縁をなす辺のうち互いに直交する 2辺を X軸または Y軸とす る座標系を設定して前記データ領域内の各セルの座標を特定する手順と、  A step of setting a coordinate system in which two sides orthogonal to each other among the sides forming the periphery of the rectangular area are set as an X axis or a Y axis to specify the coordinates of each cell in the data area;
前記セル座標に基づいて前記記号化されたパイナリデータをビット列デ一夕に 変換する手順と、  Converting the encoded binary data into a bit string based on the cell coordinates;
を備える二次元コードの読み取り方法。 A method for reading a two-dimensional code comprising:
8 . 請求項 5または 6に記載の二次元コードの読み取り方法であって、 前記二次元コ一ドの画像を取得する手順と、 8. The method for reading a two-dimensional code according to claim 5 or 6, wherein Obtaining an image of the two-dimensional code;
取得された前記画像内で、 周縁が前記第 2の図形のコーナ部に接するとともに、 第 1個目の前記第 5の線分の少なくとも一部と第 1個目の第 7の線分の少なくと も一部とを含むように、 前記パターンを取囲む矩形領域を切り出す手順と、 前記コーナ部との接点、 前記第 1個目の第 7の線分と前記矩形領域の周縁との 接点および前記第 1個目の前記第 5の線分と前記矩形領域の周縁との接点をそれ それ第 1の接点、 第 2の接点および第 3の接点として特定し、 第 1個目の前記第 1の線分または第 1個目の前記第 3の線分と前記矩形領域の周縁との接点を第 4 の接点として認識する手順と、  In the acquired image, a peripheral edge is in contact with a corner of the second graphic, and at least a part of the first fifth line segment and at least a first seventh line segment are reduced. A step of cutting out a rectangular area surrounding the pattern so as to include a part thereof, a contact point with the corner part, a contact point between the first seventh line segment and a peripheral edge of the rectangular area, The first contact point between the fifth line segment and the periphery of the rectangular area is specified as a first contact point, a second contact point, and a third contact point, respectively. A step of recognizing, as a fourth contact point, a contact point between the third line segment or the first third line segment and the periphery of the rectangular area;
前記第 1の接点と前記第 2の接点とを結ぶ第 9の線分を設定し、 前記第 1の接 点と前記第 3の接点とを結ぶ第 1 0の線分を設定する手順と、  Setting a ninth segment connecting the first contact and the second contact, and setting a 10th segment connecting the first contact and the third contact;
前記第 9の線分に平行な第 1の仮想線を設定して前記第 2の接点から前記第 4 の接点の方向へ移動させることにより、 前記第 7の線分と前記第 2の線分と前記 第 6の線分と前記第 3の線分とを認識する手順と、  By setting a first virtual line parallel to the ninth line segment and moving the virtual line from the second contact point to the fourth contact point, the seventh line segment and the second line segment are set. Recognizing the sixth line segment and the third line segment; and
前記第 1 0の線分に平行な第 2の仮想線を設定して前記第 3の接点から前記第 4の接点の方向へ移動させることにより、 前記第 5の線分と前記第 4の線分と前 記第 8の線分と前記第 1の線分とを認識する手順と、  By setting a second virtual line parallel to the 10th line segment and moving it from the third contact point to the fourth contact point, the fifth line segment and the fourth line A step of recognizing the minute and the eighth line and the first line;
認識された第 2、 第 4、 第 6、 および第 8の線分の数量に基づいて前記データ 部における前記データの容量を算出する手順と、  Calculating a capacity of the data in the data section based on the recognized quantities of the second, fourth, sixth, and eighth line segments;
前記矩形領域の周縁をなす辺のうち互いに直交する 2辺を X軸または Y軸とす る座標系を設定して前記データ部内の各セルの座標を特定する手順と、  A step of setting a coordinate system in which two sides orthogonal to each other among the sides forming the periphery of the rectangular area are set as an X axis or a Y axis to specify the coordinates of each cell in the data section;
前記セル座標に基づいて前記記号化されたデ一夕をビット列データに変換する 手順と、  Converting the symbolized data into bit string data based on the cell coordinates;
を備える二次元コードの読み取り方法。 A method for reading a two-dimensional code comprising:
9 . 請求項 1乃至 4のいずれかに記載の二次元コードの画像を取得する手順 と、 9. A procedure for acquiring an image of the two-dimensional code according to any one of claims 1 to 4, and
取得された前記画像内で、 周縁が前記第 4の端点に接するとともに、 前記第 7 の突起部の少なくとも一部と前記第 8の突起部の少なくとも一部とを含むように、 前記パターンを取囲む矩形領域を切り出す手順と、 In the acquired image, a peripheral edge is in contact with the fourth end point, and includes at least a part of the seventh protrusion and at least a part of the eighth protrusion. Cutting out a rectangular area surrounding the pattern;
前記第 4の端点、 前記第 7の突起部および前記第 8の突起部と前記矩形領域の 周縁との各交点をそれそれ第 1の接点、 第 2の接点および第 3の接点として特定 し、 前記第 5または第 6の突起部と前記矩形領域の周縁との交点を第 4の接点と して認識する手順と、  The intersections of the fourth end point, the seventh protrusion, the eighth protrusion, and the periphery of the rectangular area are specified as a first contact, a second contact, and a third contact, respectively. Recognizing, as a fourth contact point, an intersection between the fifth or sixth protrusion and the periphery of the rectangular area;
前記第 1の接点と前記第 2の接点とを結ぶ第 1の線分を設定し、 前記第 1の接 点と前記第 3の接点とを結ぶ第 2の線分を設定する手順と、  Setting a first line segment connecting the first contact and the second contact, and setting a second line segment connecting the first contact and the third contact;
前記第 1の線分に平行な第 1の仮想線を設定して前記第 3の接点の方向へ移動 させることにより、 前記第 1の突起部と前記第 3の突起部と前記第 2の辺とを認 識する手順と、  By setting a first virtual line parallel to the first line segment and moving it in the direction of the third contact, the first protrusion, the third protrusion, and the second side And a procedure for recognizing
前記第 2の線分に平行な第 2の仮想線を設定して前記第 2の接点の方向へ移動 させることにより、 前記第 2の突起部と前記第 4の突起部と前記第 1の辺とを認 識する手順と、'  By setting a second virtual line parallel to the second line segment and moving it in the direction of the second contact point, the second protrusion, the fourth protrusion, and the first side are set. And the procedure for recognizing
認識された第 1乃至第 4の突起部の数量に基づいて前記データ領域における前 記バイナリデ一夕の容量を算出する手順と、  Calculating the capacity of the binary data in the data area based on the recognized number of the first to fourth protrusions;
前記矩形領域の周縁をなす辺のうち互いに直交する 2辺を X軸または Y軸とす る座標系を設定して前記データ領域内の各セルの座標を特定する手順と、  A step of setting a coordinate system in which two sides orthogonal to each other among the sides forming the periphery of the rectangular area are set as an X axis or a Y axis to specify the coordinates of each cell in the data area;
前記セル座標に基づいて前記記号化されたバイナリデータをビット列データに 変換する手順と、  Converting the encoded binary data into bit string data based on the cell coordinates;
を備える二次元コードの読み取り方法をコンピュータに実行させるプログラム。 A program for causing a computer to execute a two-dimensional code reading method comprising:
1 0 . 請求項 1乃至 4のいずれかに記載の二次元コードの画像を取得する手 順と、 10. A procedure for acquiring an image of the two-dimensional code according to any one of claims 1 to 4,
取得された前記画像内で、 周縁が前記第 4の端点に接するとともに、 前記第 7 の突起部の少なくとも一部と前記第 8の突起部の少なくとも一部とを含むように、 前記パターンを取囲む矩形領域を切り出す手順と、  In the acquired image, the pattern is formed such that a peripheral edge contacts the fourth end point and includes at least a part of the seventh protrusion and at least a part of the eighth protrusion. Steps to cut out the surrounding rectangular area,
前記第 4の端点、 前記第 7の突起部および前記第 8の突起部と前記矩形領域の 周縁との各交点をそれそれ第 1の接点、 第 2の接点および第 3の接点として特定 し、 前記第 5または第 6の突起部と前記矩形領域の周縁との交点を第 4の接点と して認識する手順と、 The intersections of the fourth end point, the seventh protrusion, the eighth protrusion, and the periphery of the rectangular area are specified as a first contact, a second contact, and a third contact, respectively. The intersection of the fifth or sixth protrusion and the periphery of the rectangular area is referred to as a fourth contact point. Steps to recognize
前記第 1の接点と前記第 2の接点とを結ぶ第 1の線分を設定し、 前記第 1の接 点と前記第 3の接点とを結ぶ第 2の線分を設定する手順と、  Setting a first line segment connecting the first contact and the second contact, and setting a second line segment connecting the first contact and the third contact;
前記第 1の線分に平行な第 1の仮想線を設定して前記第 3の接点の方向へ移動 させることにより、 前記第 1の突起部と前記第 3の突起部と前記第 2の辺とを認 識する手順と、  By setting a first virtual line parallel to the first line segment and moving it in the direction of the third contact, the first protrusion, the third protrusion, and the second side And a procedure for recognizing
前記第 2の線分に平行な第 2の仮想線を設定して前記第 2の接点の方向へ移動 させることにより、 前記第 2の突起部と前記第 4の突起部と前記第 1の辺とを認 識する手順と、  By setting a second virtual line parallel to the second line segment and moving it in the direction of the second contact point, the second protrusion, the fourth protrusion, and the first side are set. And a procedure for recognizing
認識された第 1乃至第 4の突起部の数量に基づいて前記データ領域における前 記バイナリデータの容量を算出する手順と、  Calculating the capacity of the binary data in the data area based on the recognized number of the first to fourth protrusions;
前記矩形領域の周縁をなす辺のうち互いに直交する 2辺を X軸または Y軸とす る座標系を設定して前記データ領域内の各セルの座標を特定する手順と、 前記セル座標に基づいて前記記号化されたバイナリデ一夕をビット列デ一夕に 変換する手順と、  A procedure of setting a coordinate system in which two sides orthogonal to each other among the sides forming the periphery of the rectangular area are set as an X axis or a Y axis to specify the coordinates of each cell in the data area; and Converting the encoded binary data into a bit string data,
を備える二次元コ一ドの読み取り方法をコンビュ一夕に実行させるプログラムを 記録したコンビュ一夕読み取り可能な記録媒体。 A recording medium readable by a computer which stores a program for causing a computer to execute a method for reading a two-dimensional code, the computer comprising:
1 1 . 請求項 8に記載の二次元コードの読み取り方法をコンピュータに実行 させるプログラム。 11. A program for causing a computer to execute the method for reading a two-dimensional code according to claim 8.
1 2 . 請求項 8に記載の二次元コ一ドの読み取り方法をコンピュー夕に実行 させるプログラムを記録したコンピュータ読み取り可能な記録媒体。 12. A computer-readable recording medium recording a program for causing a computer to execute the two-dimensional code reading method according to claim 8.
1 3 . テキスト文書を含む第 1の情報が記号化されて記録された第 1の二次 元コードの画像データをデコード処理して得られた被デコード処理データの入力 を受け、 前記被デコード処理データから音声波形信号を作成するための中間的な データである音素コード列データを生成する音素コード列デ一夕生成部と、 前記音素列コードデ一夕を処理して音声波形デ一夕を作成する規則音声合成処 理部と、 1 3. Receiving input of decoded data obtained by decoding image data of a first two-dimensional code in which first information including a text document is encoded and recorded, and receiving the decoded data. A phoneme code sequence data generation unit that generates phoneme code sequence data that is intermediate data for generating a speech waveform signal from the data, and generates the speech waveform data by processing the phoneme sequence code data Rule speech synthesis With the department
前記音素コード列データを処理して点字データを作成する点訳部と、 前記音声波形データと前記点字データのうち少なくとも一つを選択的に出力す る出力制御部と、  A braille translation unit that processes the phoneme code string data to create braille data, an output control unit that selectively outputs at least one of the audio waveform data and the braille data,
を備える二次元コード音声化装置。 A two-dimensional code conversion device comprising:
1 4 . 前記被デコード処理データからテキストデ一夕を作成するテキストデ 一夕作成部をさらに備え、 1 4. A text data creation unit for creating text data from the decoded data is further provided.
前記出力制御部は、 前記テキストデータと前記音声波形データと前記点字デー 夕のうち少なくとも一つを選択的に出力することを特徴とする請求項 1 3に記載 の二次元コード音声化装置。  14. The two-dimensional code speech device according to claim 13, wherein the output control unit selectively outputs at least one of the text data, the speech waveform data, and the Braille data.
1 5 . 前記出力制御部は、 前記音声波形データ、 前記点字データまたは前記 テキストデ一夕のデータ形式をそれそれの出力装置の仕様に適合させるための接 続制御データを含む第 2の情報が記号化された第 2の二次元コードの画像データ をデコード処理して得られた出力制御信号の入力を受け、 前記出力制御信号に基 づいて前記音声波形デ一夕、 前記点字データまたは前記テキストデ一夕のデ一夕 形式を変更することを特徴とする請求項 1 3または 1 4に記載の二次元コード音 声化装置。 15. The output control unit transmits second information including connection control data for adapting the audio waveform data, the braille data, or the data format of the text data to the specifications of each output device. An input of an output control signal obtained by decoding the encoded image data of the second two-dimensional code is received, and based on the output control signal, the audio waveform data, the Braille data, or the text is received. 15. The two-dimensional chord sounding device according to claim 13, wherein a format of the data is changed.
1 6 . 前記音声波形データの入力を受けて前記テキスト文書を音声出力する 音声出力部をさらに備えることを特徴とする請求項 1 3乃至 1 5のいずれかに記 載の二次元コード音声化装置。 16. The two-dimensional code speech device according to any one of claims 13 to 15, further comprising a speech output unit that receives the input of the speech waveform data and outputs the text document as speech. .
1 7 . 前記画像デ一夕をデコード処理して前記被デコード処理データを出力 するデコード部をさらに備える請求項 1 3乃至 1 6のいずれかに記載の二次元コ ード音声化装置。 17. The two-dimensional code audio device according to any one of claims 13 to 16, further comprising a decoding unit that decodes the image data and outputs the decoded data.
1 8 . 前記第 1の二次元コードまたは前記第 2の二次元コードを撮像して前 記画像データを出力する撮像部をさらに備えることを特徴とする請求項 1 3乃至 1 6のいずれかに記載の二次元コード音声化装置。 18. The first two-dimensional code or the second two-dimensional code is imaged and 17. The two-dimensional code audio device according to claim 13, further comprising an imaging unit that outputs the image data.
1 9 . 前記被デコ一ド処理データを格納する複数の記憶領域を有する記憶部 をさらに備えることを特徴とする請求項 1 3乃至 1 8のいずれかに記載の二次元 コード音声化装置。 19. The two-dimensional code audio device according to any one of claims 13 to 18, further comprising a storage unit having a plurality of storage areas for storing the data to be decoded.
2 0 . 前記撮像部は、 20. The imaging unit comprises:
前記二次元コードを受け入れる開口部が設けられ、 この開口部に近接した位置 に配設された光源と、 この光源を覆うように配設された光拡散用レンズとを有す る照明機構と、  An illumination mechanism having an opening for receiving the two-dimensional code, a light source disposed at a position close to the opening, and a light diffusing lens disposed to cover the light source;
前記照明機構の前記開口部に対向する位置に設けられて前記二次元コードを撮 像する撮像素子と、  An imaging element provided at a position facing the opening of the illumination mechanism and imaging the two-dimensional code;
を含むことを特徴とする請求項 1 8または 1 9に記載の二次元コード音声化装置 cThe two-dimensional code speech device c according to claim 18 or 19, comprising:
2 1 . 前記光拡散用レンズは、 磨りガラスをなすようにその表面が加工され、 前記照明機構は、 2 1. The surface of the light diffusion lens is processed so as to form frosted glass, and the illumination mechanism is
少なくとも前記光源から撮像素子の取り付け位置に至るまで延在して設けられ、 前記光源からの光を前記開口部に均一に照射されるための乱反射用材料が内周面 に設けられた筒状の乱反射部材をさらに有することを特徴とする請求項 2 0に記 載の二次元コード音声化装置。  A cylindrical shape provided at least from the light source to a position where the image pickup device is attached, and a diffuse reflection material for uniformly irradiating the opening with light from the light source is provided on the inner peripheral surface. 21. The two-dimensional code sound generator according to claim 20, further comprising a diffuse reflection member.
2 2 . テキスト文書を含む第 1の情報が記号化されて記録された第 1の二次 元コ一ドを撮像して第 1の画像データを出力する二次元コード撮像過程と、 前記第 1の画像データをデコード処理して被デコード処理データを出力するデ コード過程と、 2 2. A two-dimensional code image capturing step of capturing a first two-dimensional code in which first information including a text document is encoded and recorded and outputting first image data; A decoding process of decoding the image data and outputting decoded data.
前記被デコード処理デ一夕から音声波形信号を作成するための中間的なデータ である音素コード列デ一夕を生成する音素コード列データ生成過程と、  A phoneme code string data generating step of generating a phoneme code string data which is intermediate data for generating an audio waveform signal from the decoded processing data;
前記音素列コードデータを処理して音声波形デ一夕を作成する規則音声合成処 理過程と、 Rule speech synthesis processing for processing the phoneme string code data to create a speech waveform data Process and
前記音素コード列データを処理して点字データを作成する点訳過程と、 前記音声波形デ一夕と前記点字データのうち少なくとも一つを選択的に出力す る出力制御過程と、  A braille translation process of processing the phoneme code string data to create braille data; an output control process of selectively outputting at least one of the audio waveform data and the braille data;
を備える二次元コード音声化方法。 A two-dimensional code conversion method comprising:
2 3 . 前記被デコ一ド処理データからテキストデ一夕を作成するテキストデ 一夕作成過程をさらに備え、 23. The method further comprises a text data creation process for creating a text data from the decoded data.
前記出力制御過程は、 前記テキストデータと前記音声波形データと前記点字デ 一夕のうち少なくとも一つを選択的に出力することを特徴とする請求項 2 2に記 載の二次元コード音声化方法。  The method according to claim 22, wherein the output control step selectively outputs at least one of the text data, the audio waveform data, and the Braille data. .
2 4 . 前記二次元コード撮像過程は、 前記音声波形データ、 前記点字データ または前記テキストデ一夕のデ一夕形式をそれそれの出力装置の仕様に適合させ るための接続制御データを含む第 2の情報が記号化された第 2の二次元コードを 撮像して第 2の画像デ一夕を出力する過程を含み、 24. The two-dimensional code imaging step includes connection control data for adapting the audio waveform data, the Braille data, or the data format of the text data to the specifications of each output device. Imaging a second two-dimensional code in which the two pieces of information are symbolized and outputting a second image data,
前記デコード過程は、 前記第 2の画像データをデコード処理して接続制御信号 を出力する過程を含み、  The decoding step includes a step of decoding the second image data and outputting a connection control signal.
前記出力制御過程は、 前記出力制御信号に基づいて前記音声波形データ、 前記 点字データまたは前記テキストデータのデータ形式を変更する過程を含むことを 特徴とする請求項 2 2または 2 3に記載の二次元コード音声化方法。  The method according to claim 22, wherein the output control step includes a step of changing a data format of the audio waveform data, the Braille data or the text data based on the output control signal. Dimensional code conversion method.
2 5 . テキスト文書を含む第 1の情報が記号化されて記録された第 1の二次 元コードを撮像して第 1の画像デ一夕を出力する二次元コード撮像手順と、 前記第 1の画像データをデコード処理して被デコ一ド処理データを出力するデ コード手順と、 2 5. A two-dimensional code imaging procedure of imaging a first two-dimensional code in which first information including a text document is encoded and recorded and outputting a first image data; A decoding process for decoding the image data of
前記被デコード処理データから音声波形信号を作成するための中間的なデータ である音素コ一ド列デ一夕を生成する音素コード列データ生成手順と、  A phoneme code string data generation procedure for generating a phoneme code string data which is intermediate data for creating an audio waveform signal from the decoded data;
前記音素列コードデ一夕を処理して音声波形データを作成する規則音声合成処 理手順と、 Rule speech synthesis processing for processing the phoneme string code data to create speech waveform data Process steps,
前記音素コード列データを処理して点字データを作成する点訳手順と、 前記音声波形データと前記点字データのうち少なくとも一つを選択的に出力す る出力制御手順と、  A braille translation procedure for processing the phoneme code string data to create braille data, an output control procedure for selectively outputting at least one of the voice waveform data and the braille data,
を備える二次元コード音声化方法をコンピュータに実行させるプログラム。 A program for causing a computer to execute a two-dimensional code conversion method including:
2 6 . 前記二次元コード音声化方法は、 26. The two-dimensional code conversion method
前記被デコード処理データからテキストデ一夕を作成するテキストデータ作成 手順をさらに備え、  Further comprising a text data creating procedure for creating a text data from the decoded data;
前記出力制御手順は、 前記テキストデ一夕と前記音声波形データと前記点字デ 一夕のうち少なくとも一つを選択的に出力する手順であることを特徴とする請求 項 2 5に記載のプログラム。  26. The program according to claim 25, wherein the output control step is a step of selectively outputting at least one of the text data, the audio waveform data, and the Braille data.
2 7 . 前記二次元コード撮像手順は、 前記音声波形データ、 前記点字デ一夕 または前記テキストデータのデ一夕形式をそれそれの出力装置の仕様に適合させ るための接続制御データを含む第 2の情報が記号化された第 2の二次元コードを 撮像して第 2の画像データを出力する手順を含み、 27. The two-dimensional code imaging procedure includes a connection control data for adapting the audio waveform data, the Braille data format or the text data format to the specifications of each output device. A step of imaging a second two-dimensional code in which the second information is symbolized and outputting second image data,
前記デコード手順は、 前記第 2の画像デ一夕をデコード処理して接続制御信号 を出力する手順を含み、  The decoding step includes a step of decoding the second image data and outputting a connection control signal.
前記出力制御手順は、 前記出力制御信号に基づいて前記音声波形データ、 前記 点字デ一夕または前記テキストデ一夕のデータ形式を変更する手順を含むことを 特徴とする請求項 2 5または 2 6に記載のプログラム。  27. The output control procedure according to claim 25, further comprising a step of changing a data format of the audio waveform data, the Braille data or the text data based on the output control signal. The program described in.
2 8 . テキスト文書を含む第 1の情報が記号化されて記録された第 1の二次 元コードを撮像して第 1の画像デ一夕を出力する二次元コード撮像手順と、 前記第 1の画像データをデコ一ド処理して被デコード処理データを出力するデ コード手順と、 2 8. A two-dimensional code imaging procedure of imaging a first two-dimensional code in which first information including a text document is encoded and recorded and outputting a first image data; A decoding process for decoding the image data of
前記被デコード処理デ一夕から音声波形信号を作成するための中間的なデ一夕 である音素コード列データを生成する音素コード列データ生成手順と、 前記音素列コードデータを処理して音声波形データを作成する規則音声合成処 理手順と、 A phoneme code string data generation procedure for generating phoneme code string data that is an intermediate data for creating an audio waveform signal from the decoded processing data; A rule speech synthesis processing procedure for processing the phoneme string code data to create speech waveform data;
前記音素コード列データを処理して点字データを作成する点訳手順と、 前記音声波形データと前記点字デ一夕のうち少なくとも一つを選択的に出力す る出力制御手順と、  A braille translation procedure for processing the phoneme code string data to create braille data, an output control procedure for selectively outputting at least one of the voice waveform data and the braille data,
を備える二次元コード音声化方法をコンピュータに実行させるプログラムを格納 したコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium storing a program for causing a computer to execute a two-dimensional code conversion method including:
2 9 . 前記二次元コ一ド音声化方法は、 2 9. The two-dimensional code sound conversion method is as follows:
前記被デコード処理データからテキストデ一夕を作成するテキストデ一夕作成 手順をさらに備え、  Further comprising a text data creation process for creating a text data from the decoded data;
前記出力制御手順は、 前記テキストデ一夕と前記音声波形データと前記点字デ 一夕のうち少なくとも一つを選択的に出力する手順であることを特徴とする請求 項 2 8に記載の記録媒体。  The recording medium according to claim 28, wherein the output control step is a step of selectively outputting at least one of the text data, the audio waveform data, and the Braille data. .
3 0 . 前記二次元コード撮像手順は、 前記音声波形データ、 前記点字データ または前記テキストデ一夕のデ一夕形式をそれそれの出力装置の仕様に適合させ るための接続制御データを含む第 2の情報が記号化された第 2の二次元コ一ドを 撮像して第 2の画像データを出力する手順を含み、 30. The two-dimensional code imaging procedure includes a connection control data for adapting the audio waveform data, the Braille data, or the data format of the text data to the specifications of each output device. Imaging the second two-dimensional code in which the two pieces of information are symbolized and outputting the second image data,
前記デコード手順は、 前記第 2の画像データをデコード処理して接続制御信号 を出力する手順を含み、  The decoding step includes a step of decoding the second image data and outputting a connection control signal,
前記出力制御手順は、 前記出力制御信号に基づいて前記音声波形データ、 前記 点字データまたは前記テキストデータのデータ形式を変更する手順を含むことを 特徴とする請求項 2 8または 2 9に記載の記録媒体。  The recording according to claim 28, wherein the output control procedure includes a procedure of changing a data format of the audio waveform data, the Braille data, or the text data based on the output control signal. Medium.
3 1 . テキスト文書と、 規則音声合成用の複数の異なる音質要素とを視覚的 に表示する表示部と、 31. A display section for visually displaying a text document and a plurality of different sound quality elements for regular speech synthesis;
表示された前記文書から任意の文章をユーザに選択させるとともに、 選択され た前記文章に対応させる前記音質要素を前記複数の音質要素からユーザに選択さ せる選択部と、 The user is allowed to select an arbitrary sentence from the displayed document, and the user selects the sound quality element corresponding to the selected sentence from the plurality of sound quality elements. A selection unit to
選択された前記音質要素で前記文章を音声合成処理をさせるための音質要素属 性切換用制御信号を前記文章のテキストデ一夕に付加する制御信号付加部と、 前記文章の前記テキストデータを前記音質要素属性切換用制御信号とともに二 次元コードにコ一ド化し、 前記音質要素属性切換用制御信号がコ一ド化された音 質要素属性切換用制御記号を含む二次元コードを作成するェンコ一ド部と、 を備える二次元コードエンコーダ。  A control signal adding unit for adding a sound quality element attribute switching control signal for causing the sentence to perform speech synthesis processing on the sentence with the selected sound quality element, to the text data of the sentence, and the text data of the sentence A code for coding a two-dimensional code together with the sound quality element attribute switching control signal, and creating the two-dimensional code including the sound quality element attribute switching control symbol in which the sound quality element attribute switching control signal is coded. And a two-dimensional code encoder comprising:
3 2 . 規則音声合成用の複数の異なる音質要素を格納する記憶部と、 文章のテキストデ一夕がコード化された記号と、 前記文章に対応して選択され て前記文章のテキストデータに付加された音質要素で前記文章を音声合成処理さ せるための音質要素属性切換用制御信号がコード化された音質要素属性切換用制 御記号とを含む二次元コ一ドを読み取る二次元コード読み取り部と、 3 2. A storage unit for storing a plurality of different sound quality elements for regular speech synthesis, a symbol in which the text of the text is encoded, and a symbol selected corresponding to the text and added to the text data of the text Two-dimensional code reading part for reading a two-dimensional code including a sound quality element attribute switching control symbol coded with a sound quality element attribute switching control signal for causing the sentence to be subjected to speech synthesis processing with the selected sound quality element When,
読み取られた前記二次元コードをデコ一ドして前記文章のテキストデータと、 このテキストデ一夕に付加された前記音質要素属性切換用制御信号とを出力する デコード部と、  A decoding unit for decoding the read two-dimensional code to output text data of the text and the sound quality element attribute switching control signal added to the text data;
前記音質要素属性切換用制御信号に基づいて、 前記選択された音質要素に対応 する前記音質要素を前記記憶部から引き出し、 引き出された前記音質要素で前記 文章を音声化処理する音声合成部と、  A voice synthesis unit that draws the sound quality element corresponding to the selected sound quality element from the storage unit based on the sound quality element attribute switching control signal, and voice-processes the text with the extracted sound quality element;
を備える二次元コード音声化装置。 A two-dimensional code conversion device comprising:
3 3 . テキスト文書と、 規則音声合成用の複数の異なる音質要素とを視覚的 に表示する表示手順と、 33. A display procedure for visually displaying a text document and a plurality of different sound quality elements for regular speech synthesis;
表示された前記文書から任意の文章をユーザに選択させるとともに、 選択され た前記文章に対応させる前記音質要素を前記複数の音質要素からユーザに選択さ せる選択手順と、  A selection step of causing the user to select an arbitrary sentence from the displayed document, and causing the user to select the sound quality element corresponding to the selected sentence from the plurality of sound quality elements;
選択された前記音質要素で前記文章を音声合成処理をさせるための音質要素属 性切換用制御信号を前記文章のテキストデ一夕に付加する制御信号付加手順と、 前記文章の前記テキストデ一夕を前記音質要素属性切換用制御信号とともに二 次元コ一ドにコ一ド化し、 前記音質要素属性切換用制御信号がコード化された音 質要素属性切換用制御記号を含む二次元コードを作成するエンコード手順と、 を備える二次元コードのェンコード方法。 A control signal adding step of adding a sound quality element attribute switching control signal for causing the sentence to perform speech synthesis processing on the sentence with the selected sound quality element, to the text data of the sentence; Together with the sound quality element attribute switching control signal. Encoding a two-dimensional code including a two-dimensional code which is converted into a two-dimensional code and includes a sound quality element attribute switching control symbol in which the sound quality element attribute switching control signal is encoded. Method.
3 4 . 前記選択手順により選択された前記文書の表示態様を切り換えること により、 前記音質要素の選択を受け付けたことをユーザに伝える確認手順をさら に備えることを特徴とする請求項 3 3に記載の二次元コードのエンコード方法。 34. The method according to claim 33, further comprising a confirmation step of notifying a user that the selection of the sound quality element has been received by switching a display mode of the document selected by the selection step. 2D code encoding method.
3 5 . 前記選択手順は、 表示された前記文書から複数の文章をユーザに選択 させるとともに、 前記複数の文章に異なる複数の音質要素が対応するように前記 音質要素をユーザに選択させる手順であることを特徴とする請求項 3 3または 3 4に記載の二次元コ一ドのェンコード方法。 35. The selecting step is a step of prompting the user to select a plurality of sentences from the displayed document and allowing the user to select the sound quality element so that a plurality of different sound quality elements correspond to the plurality of sentences. 33. The two-dimensional code encoding method according to claim 33, wherein the encoding method comprises:
3 6 . 文章のテキストデータがコード化された記号と、 前記文章に対応して 選択されて前記文章のテキストデータに付加された音質要素で前記文章を音声合 成処理させるための音質要素属性切換用制御信号がコード化された音質要素属性 切換用制御記号とを含む二次元コードを読み取る二次元コード読み取り手順と、 読み取られた前記二次元コードをデコ一ドして前記文章の前記テキストデータ と、 このテキストデ一夕に付加された前記音質要素属性切換用制御信号とを出力 するデコード手順と、 36. Sound quality element attribute switching for synthesizing the sentence with the symbol in which the text data of the sentence is coded and the sound quality element selected corresponding to the sentence and added to the text data of the sentence Two-dimensional code reading procedure for reading a two-dimensional code including a sound quality element attribute switching control symbol in which a control signal for use is encoded, and the text data of the text by decoding the read two-dimensional code. A decoding procedure for outputting the sound quality element attribute switching control signal added to the text data overnight;
前記音質要素属性切換用制御信号に基づいて、 前記選択された音質要素に一致 する音質要素を予め登録された複数の音質要素から取り出し、 前記取り出された 音質要素で前記文章を音声化処理する音声合成手順と、  Based on the sound quality element attribute switching control signal, a sound quality element that matches the selected sound quality element is extracted from a plurality of pre-registered sound quality elements, and the speech is processed to convert the sentence into speech using the extracted sound quality element. A synthesis procedure;
を備える二次元コード音声化方法。 A two-dimensional code conversion method comprising:
3 7 . テキスト文書と、 規則音声合成用の複数の異なる音質要素とを視覚的 に表示する表示手順と、 37. A display procedure for visually displaying a text document and a plurality of different sound quality elements for regular speech synthesis;
表示された前記文書から任意の文章をユーザに選択させるとともに、 選択され た前記文章に対応させる前記音質要素を前記複数の音質要素からユーザに選択さ せる選択手順と、 The user is allowed to select an arbitrary sentence from the displayed document, and the user selects the sound quality element corresponding to the selected sentence from the plurality of sound quality elements. And the selection procedure
選択された前記音質要素で前記文章を音声合成処理させるための音質要素属性 切換用制御信号を前記文章のテキストデ一夕に付加する制御信号付加手順と、 前記文章の前記テキストデータを前記音質要素属性切換用制御信号とともに二 次元コードにコード化し、 前記音質要素属性切換用制御信号がコード化された音 質要素属性切換用制御記号を含む二次元コードを作成するエンコード手順と、 前記二次元コ一ドを読み取る二次元コード読み取り手順と、  A sound quality element attribute for causing the sentence to be subjected to speech synthesis processing with the selected sound quality element, a control signal adding step of adding a control signal for switching to the text data of the sentence, and the text data of the sentence being converted to the sound quality element. An encoding step of encoding a two-dimensional code together with the attribute switching control signal, and creating a two-dimensional code including a sound quality element attribute switching control symbol in which the sound quality element attribute switching control signal is encoded; A two-dimensional code reading procedure for reading the
読み取られた前記二次元コ一ドをデコードして前記文章の前記テキストデ一夕 と前記音質要素属性切換用制御信号とを出力するデコード手順と、  A decoding step of decoding the read two-dimensional code and outputting the text data of the sentence and the sound quality element attribute switching control signal;
前記音質要素属性切換用制御信号に基づいて、 前記選択された音質要素に一致 する音質要素を予め登録された複数の前記音質要素から取り出し、 前記取り出さ れた音質要素で前記文章を音声化処理する音声合成手順と、  Based on the sound quality element attribute switching control signal, a sound quality element corresponding to the selected sound quality element is extracted from a plurality of the previously registered sound quality elements, and the sentence is converted into a speech by the extracted sound quality element. A speech synthesis procedure,
を備えるテキスト文書音声化方法。 A text document speech conversion method comprising:
3 8 . テキスト文書と、 規則音声合成用の複数の異なる音質要素とを視覚的 に表示する表示手順と、 38. A display procedure for visually displaying a text document and a plurality of different sound quality elements for regular speech synthesis;
表示された前記文書から任意の文章をユーザに選択させるとともに、 選択され た前記文章に対応させる前記音質要素を前記複数の音質要素からユーザに選択さ せる選択手順と、  A selection procedure for allowing the user to select an arbitrary sentence from the displayed document, and for allowing the user to select the sound quality element corresponding to the selected sentence from the plurality of sound quality elements;
選択された前記音質要素で前記文章を音声合成処理をさせるための音質要素属 性切換用制御信号を前記文章のテキストデ一夕に付加する制御信号付加手順と、 前記文章の前記テキストデータを前記音質要素属性切換用制御信号とともに二 次元コードにコ一ド化し、 前記音質要素属性切換用制御信号がコ一ド化された音 質要素属性切換用制御記号を含む二次元コードを作成するエンコード手順と、 を備える二次元コードのェンコ一ド方法をコンビユー夕に実行させるプログラム c A control signal adding step of adding a sound quality element attribute switching control signal for causing the sentence to be subjected to speech synthesis processing with the selected sound quality element to the text data of the sentence, and adding the text data of the sentence to the text data. Encoding procedure for coding into a two-dimensional code together with the sound quality element attribute switching control signal, and creating a two-dimensional code including the sound quality element attribute switching control symbol in which the sound quality element attribute switching control signal is encoded. And a program c for executing the encoding method of the two-dimensional code including
3 9 . 文章のテキストデータがコード化された記号と、 前記文章に対応して 選択されて前記文章のテキストデ一夕に付加された音質要素で前記文章を音声合 成処理させるための音質要素属性切換用制御信号がコード化された音質要素属性 切換用制御記号とを含む二次元コードを読み取る二次元コード読み取り手順と、 読み取られた前記二次元コードをデコードして前記文章の前記テキストデータ と、 このテキストデ一夕に付加された前記音質要素属性切換用制御信号とを出力 するデコード手順と、 39. A sound quality element for performing speech synthesis processing on the sentence with a symbol in which the text data of the sentence is encoded and a sound quality element selected corresponding to the sentence and added to the text data of the sentence. Sound quality element attribute with control signal for attribute switching coded A two-dimensional code reading procedure for reading a two-dimensional code including a switching control symbol; the text data of the text by decoding the read two-dimensional code; and the sound quality element added to the text data. A decoding procedure for outputting an attribute switching control signal,
前記音質要素属性切換用制御信号に基づいて、 前記選択された音質要素に一致 する音質要素を予め登録された複数の音質要素から取り出し、 前記取り出された 音質要素で前記文章を音声化処理する音声合成手順と、  Based on the sound quality element attribute switching control signal, a sound quality element that matches the selected sound quality element is extracted from a plurality of pre-registered sound quality elements, and the speech is processed to convert the sentence into speech using the extracted sound quality element. A synthesis procedure;
を備える二次元コード音声化方法をコンピュータに実行させるプログラム。 A program for causing a computer to execute a two-dimensional code conversion method including:
4 0 . テキスト文書と、 規則音声合成用の複数の異なる音質要素とを視覚的 に表示する表示手順と、 40. A display procedure for visually displaying a text document and a plurality of different sound quality elements for regular speech synthesis,
表示された前記文書から任意の文章をユーザに選択させるとともに、 選択され た前記文章に対応させる前記音質要素を前記複数の音質要素からユーザに選択さ せる選択手順と、  A selection procedure for allowing the user to select an arbitrary sentence from the displayed document, and for allowing the user to select the sound quality element corresponding to the selected sentence from the plurality of sound quality elements;
選択された前記音質要素で前記文章を音声合成処理をさせるための音質要素属 性切換用制御信号を前記文章のテキストデータに付加する制御信号付加手順と、 前記文章の前記テキストデータを前記音質要素属性切換用制御信号とともに二 次元コードにコ一ド化し、 前記音質要素属性切換用制御信号がコード化された音 質要素属性切換用制御記号を含む二次元コードを作成するエンコード手順と、 を備える二次元コードのエンコード方法をコンビュ一夕に実行させるプログラム を格納したコンビユー夕読み取り可能な記録媒体。  A control signal adding step of adding a sound quality element attribute switching control signal for causing the sentence to perform speech synthesis processing on the sentence with the selected sound quality element, to the text data of the sentence; Encoding into a two-dimensional code together with the attribute switching control signal, and creating a two-dimensional code including the sound quality element attribute switching control symbol in which the sound quality element attribute switching control signal is coded. A recording medium readable by a convenience store, which stores a program for executing a two-dimensional code encoding method all over the convenience store.
4 1 . 文章のテキストデ一夕がコード化された記号と、 前記文章に対応して 選択されて前記文章のテキストデ一夕に付加された音質要素で前記文章を音声合 成処理させるための音質要素属性切換用制御信号がコード化された音質要素属性 切換用制御記号とを含む二次元コードを読み取る二次元コード読み取り手順と、 読み取られた前記二次元コードをデコードして前記文章の前記テキストデ一夕 と、 このテキストデータに付加された前記音質要素属性切換用制御信号とを出力 するデコード手順と、 前記音質要素属性切換用制御信号に基づいて、 前記選択された音質要素に一致 する音質要素を予め登録された複数の音質要素から取り出し、 前記取り出された 音質要素で前記文章を音声化処理する音声合成手順と、 4 1. A symbol for coding the text of the text and a sound quality element selected corresponding to the text and added to the text of the text for speech synthesis processing of the text. A two-dimensional code reading procedure for reading a two-dimensional code including a sound quality element attribute switching control symbol in which a sound quality element attribute switching control signal is coded; and decoding the read two-dimensional code to read the text of the text. A decoding procedure for outputting the sound quality element attribute switching control signal added to the text data; Based on the sound quality element attribute switching control signal, a sound quality element that matches the selected sound quality element is extracted from a plurality of pre-registered sound quality elements, and the speech is processed to convert the sentence into speech using the extracted sound quality element. A synthesis procedure;
を備える二次元コード音声化方法をコンピュータに実行させるプログラムを格納 したコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium storing a program for causing a computer to execute a two-dimensional code conversion method including:
4 2 . テキストデ一夕から音声波形信号を作成するための中間的なデータで ある中間言語の入力を受け、 この中間言語を処理して点字データを作成する点訳 部を備える点字データ作成装置。 4 2. A braille data creation device equipped with a braille translation unit that receives an intermediate language, which is intermediate data for creating a speech waveform signal from text data, and processes this intermediate language to create braille data.
4 3 . 前記点字データを作成するための条件を設定する条件設定部をさらに 備えることを特徴とする請求項 4 2に記載の点字データ作成装置。 43. The Braille data creating apparatus according to claim 42, further comprising a condition setting unit that sets conditions for creating the Braille data.
4 4 . 前記点訳部は、 前記中間言語と点字コードとを対応させた変換テープ ルを参照して前記中間言語を前記点字コードへ変換する点字変換部を含むことを 特徴とする請求項 4 2または 4 3に記載の点字デ一夕作成装置。 44. The Braille translation unit, comprising: a Braille conversion unit that converts the intermediate language into the Braille code with reference to a conversion table that associates the intermediate language with a Braille code. Or the device for creating Braille data described in 43.
4 5 . 前記中間言語は、 前記テキストデータに変換された文章の文節区切り を表わす文節区切り情報を含み、 45. The intermediate language includes segment break information indicating a segment break of a sentence converted into the text data,
前記文節区切り情報に基づいて、 分かち書き処理を行なう分かち書き部をさら に備えることを特徴とする請求項 4 2乃至 4 4のいずれかに記載の点字データ作  The Braille data creation device according to any one of claims 42 to 44, further comprising a segmentation unit that performs a segmentation process based on the phrase segmentation information.
4 6 . 前記中間言語は、 前記テキストデ一夕に変換された文章の文節区切り を表わす文節区切り情報を含み、 46. The intermediate language includes segment break information indicating a segment break of the sentence converted into the text data,
前記文節区切り情報に基づいて、 前記点字変換部により変換された前記点字コ 一ドにヮ一ドラップ処理を行なうワードラップ部をさらに備えることを特徴とす る請求項 4 3乃至 4 5のいずれかに記載の点字データ作成装置。 44. The system according to claim 43, further comprising a word wrap unit that performs a single drap process on the Braille code converted by the Braille conversion unit based on the phrase delimiter information. 2. A braille data creation device according to claim 1.
4 7 . 出力先のデータ形式に適合するように前記点字デ一夕の形式を調整し て出力する点字データ出力部をさらに備えることを特徴とする請求項 4 2乃至 4 6のいずれかに記載の点字データ作成装置。 47. The system according to claim 42, further comprising a Braille data output unit configured to adjust the Braille data format so as to conform to a data format of an output destination and to output the Braille data. Braille data creation device.
4 8 . テキストデ一夕から音声波形信号を作成するための中間的なデータで ある中間言語を処理して点字データを作成する点訳手順を備える点字データ作成 方法。 4 8. A braille data creation method that includes a braille translation procedure that creates an Braille data by processing an intermediate language, which is intermediate data for creating a speech waveform signal from text data.
4 9 . 前記点訳手順は、 前記中間言語と点字コードとを対応させた変換テー ブルを参照して前記中間言語を前記点字コードへ変換する点字変換手順を含むこ とを特徴とする請求項 4 8に記載の点字データ作成方法。 49. The Braille translation procedure includes a Braille conversion procedure of converting the intermediate language into the Braille code with reference to a conversion table that associates the intermediate language with a Braille code. The braille data creation method described in 8.
5 0 . 前記中間言語は、 前記テキストデータに変換された文章の文節区切り 情報を表わす文節区切り情報を含み、 50. The intermediate language includes segment break information indicating the segment break information of the sentence converted into the text data,
前記点訳手順は、 前記文節区切り情報に基づいて分かち書き処理を行なう分か ち書き処理手順を含むことを特徴とする請求項 4 8または 4 9に記載の点字デー 夕作成方法。  The Braille data creation method according to claim 48 or 49, wherein the Braille translation procedure includes a text-to-speech processing procedure of performing text-to-speech processing based on the phrase segmentation information.
5 1 . 前記中間言語は、 前記テキストデ一夕に変換された文章の文節区切り 情報を表わす文節区切り情報を含み、 51. The intermediate language includes segment break information representing the segment break information of the text converted into the text data,
前記文節区切り情報に基づいて、 前記点字変換手順により得られた前記点字コ —ドにヮ一ドラップ処理を行なうワードラップ処理手順をさらに備えることを特 徴とする請求項 4 9または 5 0に記載の点字データ作成方法。  50. The method according to claim 49, further comprising a word wrapping procedure for performing a single wrapping process on the Braille code obtained by the Braille conversion procedure based on the phrase separation information. Braille data creation method.
5 2 . テキストデ一夕から音声波形信号を作成するための中間的なデ一夕で ある中間言語を処理して点字データを作成する点訳手順を備える点字デ一夕作成 方法をコンピュータに実行させるプログラム。 5 2. Cause the computer to execute a Braille data creation method that includes a braille translation procedure that creates an Braille data by processing an intermediate language, which is an intermediate data file used to create an audio waveform signal from text data. program.
5 3 . 前記点字データ作成方法が備える前記点訳手順は、 前記中間言語と点 字コードとを対応させた変換テーブルを参照して前記中間言語を前記点字コード へ変換する点字変換手順を含むことを特徴とする請求項 5 2に記載のプログラム。 5 3. The braille translation procedure included in the braille data creation method includes the intermediate language and the braille The program according to claim 52, further comprising a Braille conversion procedure of converting the intermediate language into the Braille code with reference to a conversion table that associates the Braille code with the Braille code.
5 4 . 前記点字データ作成方法が備える前記点訳手順は、 前記中間言語が有 する前記文節区切り情報に基づいて分かち書き処理を行なう分かち書き処理手順 をさらに備えることを特徴とする請求項 5 2または 5 3に記載のプログラム。 54. The braille translation procedure included in the braille data creating method further includes a segmentation processing procedure for performing a segmentation process based on the segment break information included in the intermediate language. The program described in.
5 5 . 前記点字データ作成方法は、 前記中間言語が有する前記文節区切り情 報に基づいて、 前記点字変換手順により得られた前記点字コードにワードラップ 処理を行なうワードラップ処理手順をさらに備えることを特徴とする請求項 5 3 または 5 4に記載のプログラム。 55. The braille data creating method further includes a word wrap processing procedure of performing a word wrap process on the braille code obtained by the braille conversion procedure based on the phrase separation information of the intermediate language. The program according to claim 53, wherein the program is characterized in that:
5 6 . テキストデータから音声波形信号を作成するための中間的なデータで ある中間言語を処理して点字データを作成する点訳手順を備える点字データ作成 方法をコンピュータに実行させるプログラムを格納したコンピュータ読み取り可 能な記録媒体。 5 6. A computer-readable program storing a program for causing a computer to execute a braille data creation method including a braille translation procedure for creating an Braille data by processing an intermediate language, which is intermediate data for creating an audio waveform signal from text data. Possible recording medium.
5 7 . 前記点字データ作成方法が備える前記点訳手順は、 前記中間言語と点 字コードとを対応させた変換テーブルを参照して前記中間言語を前記点字コード へ変換する点字変換手順を含むことを特徴とする請求項 5 6に記載のコンビユー 夕読み取り可能な記録媒体。 57. The braille translation procedure included in the braille data creation method includes a braille conversion procedure of converting the intermediate language into the braille code with reference to a conversion table that associates the intermediate language with the braille code. The recording medium according to claim 56, wherein the recording medium is readable by a user.
5 8 . 前記点字データ作成方法が備える前記点訳手順は、 前記中間言語が有 する前記文節区切り情報に基づいて分かち書き処理を行なう分かち書き処理手順 をさらに備えることを特徴とする請求項 5 6または 5 7に記載のコンビユー夕読 み取り可能な記録媒体。 58. The braille translation procedure included in the braille data creating method further includes a separate writing processing procedure for performing a separate writing process based on the phrase segment information included in the intermediate language. The recording medium that can be read by the combination described in.
5 9 . 前記点字データ作成方法は、 前記中間言語が有する前記文節区切り情 報に基づいて、 前記点字変換手順により得られた前記点字コ一ドにワードラップ 処理を行なうワードラップ処理手順をさらに備えることを特徴とする請求項 5 7 または 5 8に記載のコンビユー夕読み取り可能な記録媒体。 59. The braille data creation method includes the steps of: word-wrapping the braille code obtained by the braille conversion procedure based on the phrase separation information of the intermediate language. The recording medium readable by a combination according to claim 57 or 58, further comprising a word wrap processing procedure for performing processing.
PCT/JP2002/003207 2001-03-29 2002-03-29 Two-dimensional code, method for converting two-dimensional code into speech, method for converting text document into speech, braille data creation apparatus WO2002080087A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2002244953A AU2002244953A1 (en) 2001-03-29 2002-03-29 Two-dimensional code, method for converting two-dimensional code into speech, method for converting text document into speech, braille data creation apparatus

Applications Claiming Priority (10)

Application Number Priority Date Filing Date Title
JP2001096634A JP2002297020A (en) 2001-03-29 2001-03-29 Braille data generating device, braille data generating method, braille data generating program and computer- readable recording medium
JP2001096826A JP2002297170A (en) 2001-03-29 2001-03-29 Two-dimensional code encoder, encoding method for two- dimensional code, two-dimensional code vocalizing device, two-dimensional code vocalizing method, text document vocalizing method, program, and computer-readable recording medium
JP2001-96826 2001-03-29
JP2001-96634 2001-03-29
JP2001-101126 2001-03-30
JP2001100189A JP3499220B2 (en) 2001-03-30 2001-03-30 Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium
JP2001101126A JP4439756B2 (en) 2001-03-30 2001-03-30 Two-dimensional code speech apparatus and two-dimensional code speech method
JP2001-100189 2001-03-30
JP2001268078A JP4744745B2 (en) 2001-09-04 2001-09-04 2D code
JP2001-268078 2001-09-04

Publications (2)

Publication Number Publication Date
WO2002080087A1 true WO2002080087A1 (en) 2002-10-10
WO2002080087A8 WO2002080087A8 (en) 2002-12-27

Family

ID=27531859

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2002/003207 WO2002080087A1 (en) 2001-03-29 2002-03-29 Two-dimensional code, method for converting two-dimensional code into speech, method for converting text document into speech, braille data creation apparatus

Country Status (2)

Country Link
AU (1) AU2002244953A1 (en)
WO (1) WO2002080087A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005096219A1 (en) * 2004-04-02 2005-10-13 Silverbrook Research Pty Ltd Surface having disposed therein or thereon coded data

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6426926A (en) * 1987-07-23 1989-01-30 Fujitsu Ltd Control system for punctuation utterance of paragraph
JPH07160192A (en) * 1993-12-02 1995-06-23 Fujitsu Ltd Braille output device
WO1996008813A1 (en) * 1994-09-12 1996-03-21 Arcadia, Inc. Sound characteristic convertor, sound/label associating apparatus and method to form them
JPH10111905A (en) * 1996-10-04 1998-04-28 A D S:Kk Code reader
JPH11288364A (en) * 1998-04-02 1999-10-19 Canon Inc Information reading method, device therefor and storage medium
JPH11306272A (en) * 1998-04-22 1999-11-05 Denso Corp Data producing device for two-dimensional code printing and recording medium
JPH11312215A (en) * 1998-04-28 1999-11-09 Casio Comput Co Ltd Two-dimensional code decoder and storage medium thereof
JPH11328301A (en) * 1998-05-12 1999-11-30 Denso Corp Two-dimensional code
JP2000348098A (en) * 1999-06-04 2000-12-15 Fujitsu Ltd Information providing system, preparation device for information providing medium, restoring device for provided information, computer readable recording medium stored with preparation program of the information providing medium and computer readable recording medium stored with restoring program of the provided information and information providing medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6426926A (en) * 1987-07-23 1989-01-30 Fujitsu Ltd Control system for punctuation utterance of paragraph
JPH07160192A (en) * 1993-12-02 1995-06-23 Fujitsu Ltd Braille output device
WO1996008813A1 (en) * 1994-09-12 1996-03-21 Arcadia, Inc. Sound characteristic convertor, sound/label associating apparatus and method to form them
JPH10111905A (en) * 1996-10-04 1998-04-28 A D S:Kk Code reader
JPH11288364A (en) * 1998-04-02 1999-10-19 Canon Inc Information reading method, device therefor and storage medium
JPH11306272A (en) * 1998-04-22 1999-11-05 Denso Corp Data producing device for two-dimensional code printing and recording medium
JPH11312215A (en) * 1998-04-28 1999-11-09 Casio Comput Co Ltd Two-dimensional code decoder and storage medium thereof
JPH11328301A (en) * 1998-05-12 1999-11-30 Denso Corp Two-dimensional code
JP2000348098A (en) * 1999-06-04 2000-12-15 Fujitsu Ltd Information providing system, preparation device for information providing medium, restoring device for provided information, computer readable recording medium stored with preparation program of the information providing medium and computer readable recording medium stored with restoring program of the provided information and information providing medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005096219A1 (en) * 2004-04-02 2005-10-13 Silverbrook Research Pty Ltd Surface having disposed therein or thereon coded data
US7540429B2 (en) 2004-04-02 2009-06-02 Silverbrook Research Pty Ltd Surface having disposed therein or thereon coded data
US7584402B2 (en) 2004-04-02 2009-09-01 Silverbrook Research Pty Ltd Data storage format for encoding a bit stream on or in a surface
US7600688B2 (en) 2004-04-02 2009-10-13 Silverbrook Research Pty Ltd System surface for decoding coded data
US7673218B2 (en) 2004-04-02 2010-03-02 Silverbrook Research Pty Ltd System for decoding bit stream printed on surface
US7802731B2 (en) 2004-04-02 2010-09-28 Silverbrook Research Pty Ltd Surface having coded data layers
US7845562B2 (en) 2004-04-02 2010-12-07 Silverbrook Research Pty Ltd Decoding system for coded data
US7861143B2 (en) 2004-04-02 2010-12-28 Silverbrook Research Pty Ltd Method of data storage by encoding bit stream on surface
US8006167B2 (en) 2004-04-02 2011-08-23 Silverbrook Research Pty Ltd System for decoding coded data with PLL

Also Published As

Publication number Publication date
WO2002080087A8 (en) 2002-12-27
AU2002244953A1 (en) 2002-10-15

Similar Documents

Publication Publication Date Title
US7627142B2 (en) Gesture processing with low resolution images with high resolution processing for optical character recognition for a reading machine
US8873890B2 (en) Image resizing for optical character recognition in portable reading machine
US8320708B2 (en) Tilt adjustment for optical character recognition in portable reading machine
US20100145703A1 (en) Portable Code Recognition Voice-Outputting Device
US20110066424A1 (en) Text Stitching From Multiple Images
EP1756802A2 (en) Portable reading device with mode processing
CN104966084A (en) OCR (Optical Character Recognition) and TTS (Text To Speech) based low-vision reading visual aid system
JP2008146605A (en) Image processor and its control method
WO2006061820A2 (en) A handheld text scanner
JP2010231687A (en) Printed information voice conversion reproduction system
US6887080B2 (en) Multi-purpose visual-language system based on braille
WO2002080087A1 (en) Two-dimensional code, method for converting two-dimensional code into speech, method for converting text document into speech, braille data creation apparatus
CN204856534U (en) System of looking that helps is read to low eyesight based on OCR and TTS
KR20060116432A (en) Method and system for providing braille-points data and outputting braille-points data
JP5604276B2 (en) Document image generation apparatus and document image generation method
JP2002297170A (en) Two-dimensional code encoder, encoding method for two- dimensional code, two-dimensional code vocalizing device, two-dimensional code vocalizing method, text document vocalizing method, program, and computer-readable recording medium
KR102313056B1 (en) A Sheet used to providing user-customized fonts, a device for providing user custom fonts, and method for providing the same
JP4772631B2 (en) Two-dimensional code speech apparatus, two-dimensional code speech method and program
JP2010134833A (en) Document processor, document processing method, program, and recording medium
JP4439756B2 (en) Two-dimensional code speech apparatus and two-dimensional code speech method
TWI664604B (en) System for construction and application of handwriting chinese character glyph sets to be used in a computer system
TWI391871B (en) Picture processing device and method and graphic/text edit method
JPH0451871B2 (en)
KR20070001515A (en) Apparatus and method for electronic documents reproducing
TW434492B (en) Hyper text-to-speech conversion method

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG US UZ VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
AK Designated states

Kind code of ref document: C1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG US UZ VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: C1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

CFP Corrected version of a pamphlet front page

Free format text: REVISED TITLE RECEIVED BY THE INTERNATIONAL BUREAU AFTER COMPLETION OF THE TECHNICAL PREPARATIONS FOR INTERNATIONAL PUBLICATION

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase