約 2,842,768 件
https://w.atwiki.jp/sampleisbest/pages/216.html
開発環境 Microsoft Visual C# 2010 Express (SP1) 実行環境 Microsoft Windows XP Home Edition (SP3) プロジェクトの種類 Windows Game (4.0) プロジェクト名 CustomVertex 参考 Memeplexes かんたんXNA4.0 その29 カスタム頂点 VertexPositionNormalColor.cs using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace CustomVertex { struct VertexPositionNormalColor IVertexType { Vector3 Position; Vector3 Normal; Color Color; public VertexPositionNormalColor(Vector3 position, Vector3 normal, Color color) { Position = position; Normal = normal; Color = color; } static readonly VertexDeclaration VertexDeclaration = new VertexDeclaration( new VertexElement(0, VertexElementFormat.Vector3, VertexElementUsage.Position, 0), new VertexElement(sizeof(float) * 3, VertexElementFormat.Vector3, VertexElementUsage.Normal, 0), new VertexElement(sizeof(float) * 6, VertexElementFormat.Color, VertexElementUsage.Color, 0)); VertexDeclaration IVertexType.VertexDeclaration { get { return VertexDeclaration; } } } } Game1.cs using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; namespace CustomVertex { class Game1 Game { GraphicsDeviceManager graphics; BasicEffect effect; MouseState mStateOld = new MouseState(); float yaw = 0; float pitch = 0; float roll = 0; VertexPositionNormalColor[] vertices = { new VertexPositionNormalColor(new Vector3(0, 1, 0), Vector3.Backward, Color.Red), new VertexPositionNormalColor(new Vector3(1, 0, 0), Vector3.Backward, Color.Red), new VertexPositionNormalColor(new Vector3(-1, 0, 0), Vector3.Backward, Color.Red), new VertexPositionNormalColor(new Vector3(0, 1, 0), Vector3.Forward, Color.Blue), new VertexPositionNormalColor(new Vector3(-1, 0, 0), Vector3.Forward, Color.Blue), new VertexPositionNormalColor(new Vector3(1, 0, 0), Vector3.Forward, Color.Blue), }; public Game1() { graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = 1280; graphics.PreferredBackBufferHeight = 720; IsMouseVisible = true; } protected override void LoadContent() { effect = new BasicEffect(GraphicsDevice) { VertexColorEnabled = true, View = Matrix.CreateLookAt(new Vector3(0, 0, 3), Vector3.Zero, Vector3.Up), Projection = Matrix.CreatePerspectiveFieldOfView(MathHelper.ToRadians(45), GraphicsDevice.Viewport.AspectRatio, 1, 100) }; effect.EnableDefaultLighting(); base.LoadContent(); } protected override void Update(GameTime gameTime) { KeyboardState kState = Keyboard.GetState(); if (kState[Keys.Escape] == KeyState.Down) Exit(); MouseState mState = Mouse.GetState(); if (mState.LeftButton == ButtonState.Pressed) { yaw += MathHelper.ToRadians(mStateOld.X - mState.X); roll += MathHelper.ToRadians(mStateOld.Y - mState.Y); } pitch = MathHelper.ToRadians(mState.ScrollWheelValue / -10); effect.World = Matrix.CreateFromYawPitchRoll(yaw, pitch, roll); mStateOld = mState; base.Update(gameTime); } protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.CornflowerBlue); foreach (var pass in effect.CurrentTechnique.Passes) { pass.Apply(); GraphicsDevice.DrawUserPrimitives VertexPositionNormalColor ( PrimitiveType.TriangleList, vertices, 0, vertices.Length / 3); } base.Draw(gameTime); } } }
https://w.atwiki.jp/fieds_labo3/pages/41.html
Swing JComponent 中間コンテナとアトミックコンポーネントの総称 1.機能 Tool tips Painting and borders Application-wide pluggable look and feel Custom properties Support for layout Support for accessibility Support for drag and drop Double buffering Key bidings 2.API 2.1 Customizing Component Appearance void setBorder(Border) Border getBorder() void setForeground(Color) void setBackground(Color) Color getForeground() Color getBackground() void setOpaque(boolean) boolean isOpaque() void setFont(Font) Font getFont() void setCursor(Cursor) Cursor getCursor() 2.2 Setting and Getting Component State void setComponentPopupMenu(JPopupMenu) void setTransferHandler(TransferHandler) TransferHandler getTransferHandler() void setToolTipText(String) void setName(String) String getName() boolean isShowing() void setEnabled(boolean) boolean isEnabled() void setVisible(boolean) boolean isVisible() 2.3 Handling Events (see Writing Event Listeners for details) void addHierarchyListener(hierarchyListener l) void removeHierarchyListener(hierarchyListener l) void addMouseListener(MouseListener) void removeMouseListener(MouseListener) void addMouseMotionListener(MouseMotionListener) void removeMouseMotionListener(MouseMotionListener) void addKeyListener(KeyListener) void removeKeyListener(KeyListener) void addComponentListener(ComponentListener) void removeComponentListener(ComponentListener) boolean contains(int, int) boolean contains(Point) Component getComponentAt(int, int) Component getComponentAt(Point) Component setComponentZOrder(component comp, int index) Component getComponentZOrder(component comp) 2.4 Painting Components (see Performing Custom Painting for details) void repaint() void repaint(int, int, int, int) void repaint(Rectangle) void revalidate() void paintComponent(Graphics) 2.5 Dealing with the Containment Hierarchy (see Using Top-Level Containers for more information) Component add(Component) Component add(Component, int) void add(Component, Object) void remove(int) void remove(Component) void removeAll() JRootPane getRootPane() Container getTopLevelAncestor() Container getParent() int getComponentCount() Component getComponent(int) Component[] getComponents() Component getComponentZOrder(int) Component[] getComponentZOrder() 2.6 Laying Out Components (see Laying Out Components Within a Container for more information) void setPreferredSize(Dimension) void setMaximumSize(Dimension) void setMinimumSize(Dimension) Dimension getPreferredSize() Dimension getMaximumSize() Dimension getMinimumSize() void setAlignmentX(float) void setAlignmentY(float) float getAlignmentX() float getAlignmentY() void setLayout(LayoutManager) LayoutManager getLayout() void applyComponentOrientation(ComponentOrientation) void -setComponentOrientation(ComponentOrientation) 2.7 Getting Size and Position Information int getWidth() int getHeight() Dimension getSize() Dimension getSize(Dimension) int getX() int getY() Rectangle getBounds() Rectangle getBounds(Rectangle) Point getLocation() Point getLocation(Point) Point getLocationOnScreen() Insets getInsets() 2.8 Specifying Absolute Size and Position (see Doing Without a Layout Manager (Absolute Positioning) for more information) void setLocation(int, int) void setLocation(Point) void setSize(int, int) void setSize(Dimension) void setBounds(int, int, int, int) void setBounds(Rectangle)
https://w.atwiki.jp/bokuyo/pages/168.html
子ども向けIDE - Little Wizard 使い方 インストール手順に関しては子ども向けIDE - Little Wizard 導入メモ をご覧ください。 おおまかな説明 画像を拡大 ドラッグアンドドロップでアイコンを置いて、プログラムを組みます。 「Execute(実行)」でプログラムを実行します。 Wizard Go one or more steps びっくりマーク Create 魔法のステッキ Calculate 電卓 Set speed ブラーがかかってる妖精 Appear Disappear 最新バージョンだと"Disapper"ってtypo してる。わざと? Be behind おうちに隠れちゃう Be in front お家の前にでてくる Turn left 左向き Turn right 右向き Break the line 改行 Math 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 各数字 Add "+" Subtract "-" Multiply by "×" Divide by "÷" Modulo "MOD" Concatenate "・" Set " ="代入 Random number from 0 to the value specified as argument minus one 乱数生成器。"RAND" Open brace "(" Close brace ")" Less than "<" Less or equal "≦" Equal to "=" Not equal "≠" Greater than ">" Greater or equal "≧" And "∧" Or "∨" Not "¬" True "true" False "false" Length of the string or size of an array 文字列・配列の長さを計算 Break the line 改行 Variables Variable A ~ Z World as an array 謎の球体 Index of array "[" Index of array (closure) "]" Break the line 改行 Conditions and loops Open logical block "{" Close logical block "}" If "IF" Else "ELSE" While "WHILE" Repeat "REPEAT" Until "UNTIL" For "FOR" Count to "TO" Countdown to "DOWN TO" Step by "STEP" Break the loop "BREAK" Continue the loop "CONT-INUE" Break the line 改行 Other Read a string from the user "READ" ユーザのキーボード入力を取得するっぽい Turn wizard in direction requested by the user ユーザの十字キー入力で向きを変える Wait for pressing key and go in direction requested by the user キーが押されるまで待つ Get horizontal position 水平方向の位置(x)を取得 Set horizontal position 水平方向の位置(x)を設定 Get vertical position 垂直方向の位置(y)を取得 Set vertical position 垂直方向の位置(y)を設定 Remark "//" コメントアウト Break the line 改行 備忘録 プログラム中でアルファベットを使いたくなったら、Mixed のところをクリック。 関連リンク http //littlewizard.sourceforge.net/ - Little Wizard 配布元
https://w.atwiki.jp/kazuaki0424/pages/3.html
編集中 Postino ストーリー 連邦郵便配達人の夢の第一歩として地方研修をする為にルアバスにやってきたサナ(12才) サナはその町のカルカス四等郵便局(簡易郵便局)に勤務する事になった。 そこには先輩リオとエレナ、そして同期のヒカリと滅多に現れない局長リーク、 サナは彼等と暮らしながら成長していく・・・ 使用言語は設定上英語 ルアバスについて サナの生活 Postino主な登場人物 サナ・アルファス(12才)女 本作の主人公、配達課に勤務 いったて前向きで真っ直ぐな性格で 将来は連邦郵便配達員なる事を目指している 自分の夢の為に日々努力しいる、 その影響か本が大好きで好奇心が強い 裁縫が得意 クー(8才)♂ サナが連れてる-走鳥(そうちょう)トリウマ。 普段サナはこの走鳥に乗り配達をこなしている。 サナに忠実でサナの事を親だと思っている リオ・ハイス(14才)男 サナの先輩、配達課に勤務 能天気な性格だがしっかりしている サナとタッグで配達しそれなりに経験が豊富 和食が好きで異文化に興味があるらしい 翌年連邦郵便配達員になる シルカ(12才)♂ リオの走鳥、トリウマ、サナと同じくリオも走鳥で配達をしている サナとクーに負けないくらい信頼関係が強い ヒカリ・カミツカ(12才)女 サナと同期で業務課に勤務 人見知りな所があるが性格は明るい(天然 故郷を遠く離れた地で学びたいとかでルアバスにやってきた。 本当は配達課に入りたかったが体が弱い為業務課に配属 家事全般を完ぺきにこなす 大和地方出身 エレナ・スニエル(14才)女 サナの先輩、業務課に勤務 ヒカリにアレコレ業務課のことを教えている 性格は強気で勝気、カルカスのリーダー格 リーク・ハメス(42才)男 カルカス四等郵便局長だが郵政の重要役員の為 めったにカルカスに現れない 毎度毎度世界中のお土産を持って帰ってくる ルイス・コフィン(12才)女 サナと同期、ルアバス本局の配達課に勤務 絵に描いたような強い性格の持ち主 意志が強く曲がった事が大嫌い 趣味はダンス ハカの事は良い子分だと思っているらしい サナの友人でもある クリア・ワイナー(12才)男 クレス双子の兄 サナと同期、ルアバス本局の配達課に勤務 ルイスとは対照的に人見知りが激しく 気弱な性格だが動物好きで世話好きな優しい子 ルイスの事は良い親分だと思っているらしい サナの友人 カリア・ワイナー(12才)男 クレス双子の弟 サナと同期、ルアバス本局の業務課に勤務 ハカとは対照的に強気な性格である たまにルイスと一緒にハカを辛かったりしてる 趣味は機械いじり サナとヒカリの友人 エレナ・ハミルトン(24才)女 ルアバス本局でルアバス地区の業務課、配達課を管理している 性格は明るく優しいが、怒ると最強に怖い 子供達の手助けになるのが勤めだとか 趣味は紅茶を飲みながら本を読む事 ちなみにエレナと同じ名前だが親類的な関係はない カタリナ・マグ(54才)男 ルアバス本局の局長 皆の事を物静かに見守ってる存在 的確な助言を与え、皆を導く 趣味は野菜を栽培する事 その他サブキャラ リカ・スズキ(13才)女 ヒカリの先輩でクラレスの後輩、業務課に勤務 コーク・エルトス(12才)女 ルイスとハカの友人、ウェルバ郵便局配達課に勤務 テーク・クラン(14才)女 リオの友人でルアバス本局の配達課に勤務 イース・ハイトス(14才)男 リオの友人でルアバス本局の配達課に勤務 グレゴリー・トットス(27才)男 ルアバス病院の若手医師、連邦医学大学卒業 マナ・カミツカ(23才) 大学院生でヒカリの姉
https://w.atwiki.jp/resha1201/pages/51.html
\DQMIIINext\DQMIIINext_Option accessories properties (アクセサリー詳細設定) Hosifurupiasu Buff Lv 10 星降るピアスのバフLv Hosifurupiasu2 Buff Lv 15 真・星降るピアスのバフLv builderdama use condition(ダーマ神殿建築制限設定) BuilderDama 1 職業ダーマ神殿建築開始前にフレーム設置が必須かどうか(0 フレーム不要 1 フレーム必須) BuilderDamaS 1 職業特技ダーマ神殿建築開始前にフレーム設置が必須かどうか(0 フレーム不要 1 フレーム必須) BuilderDamaW 1 武器特技ダーマ神殿建築開始前にフレーム設置が必須かどうか(0 フレーム不要 1 フレーム必須) BuilderIdoMedal 1 メダル王の家建築開始前にフレーム設置が必須かどうか(0 フレーム不要 1 フレーム必須) casino settings(カジノ設定) Exchange CasinoCoin rate 100 ゴールドでコインを買う場合の1coinあたりの値段 clearing for respawn(リスポーン時範囲クリアリング設定) Clearing height (radius) 0 リスポン時、指定した範囲にモンスターがいた場合に消滅させる。height 高さ(上下)width 広さ(半径) Clearing width (radius) 0 dqr fishing setting(釣り設定) FishingMode 1 DQR釣りモードの設定0 使用しない1 釣れるアイテムにのみ干渉する2 釣りシステム自体に干渉する casino settings(カジノ設定) Exchange CasinoCoin rate 100 ゴールドでコインを買う場合の1coinあたりの値段 item use permission (アイテム使用権限を設定) Bakudanisi 2 爆弾石の使用可否を設定 BuilderDama 2 ダーマ神殿設計図の使用可否を設定 BuilderDamaS 2 職業特技ダーマ神殿設計図の使用可否を設定 BuilderDamaW 2 武器特技ダーマ神殿設計図の使用可否を設定 BuilderIdoMedal 2 メダル王の家設計図の使用可否を設定 ShinkanoHiseki 2 進化の秘石の使用可否を設定 model render size figure size 3 フィギュアブロックのサイズを、オブジェクトブロックのサイズの何分の1にするかを指定する monstar taming limit settings Limit players 0 制限をかける対象を設定する。(0 制限無し 1 OP権限者以外 2 全員) Max number of taming pets limit 20 ペット可能最大匹数を設定する。 Limit playersを有効にしている場合のみ有効 Taming chance Modifier 1.0 1.0以下の数字にすることによって、ペットになる確率を下げる。0.0を指定した場合、モンスターがペットとして立ち上がらなくなる。 monstar taming permission settings(ペット管理設定) Attack to Offline plater s pet 0 オフラインのPlayerのペットを攻撃できるかどうか。(0 攻撃不可 1 攻撃可能)server.propertiesのpvp=falseの時のみ有効。pvp=trueの場合、この項目の設定に関わらず攻撃可能。 Give ETC foods 1 食べ物アイテムを与える。(0 飼い主のみ可能 1 全員可能 2 飼い主とOP権限者のみ) Give Exp items 1 経験値アイテムを与える。(0 飼い主のみ可能 1 全員可能 2 飼い主とOP権限者のみ) Give plant foods 1 植物系食べ物アイテムを与える。(0 飼い主のみ可能 1 全員可能 2 飼い主とOP権限者のみ) Pet inventorty open 0 ペットインベントリを開く。(0 飼い主のみ可能 1 全員可能 2 飼い主とOP権限者のみ) Pet sitting 2 ペットを座らせる。(0 飼い主のみ可能 1 全員可能 2 飼い主とOP権限者のみ) Petrevive 1 ペットを蘇生する。(0 飼い主のみ可能 1 全員可能 2 飼い主とOP権限者のみ) Use eraser items 2 聖者の灰でペットを消滅させる。(0 飼い主のみ可能 1 全員可能 2 飼い主とOP権限者のみ) Use magic roll item 2 魔法の筒を使用する。(0 飼い主のみ可能 1 全員可能 2 飼い主とOP権限者のみ) Use monster mix magic 2 配合に使用する。(0 飼い主のみ可能 1 全員可能 2 飼い主とOP権限者のみ) pet owner rewrite when pet wake 2 ペットを起こした時に飼い主を書き換える。(0 飼い主のみ可能 1 全員可能 2 飼い主とOP権限者のみ) nbttagcount limit for sub inventory DqrEnderChest 15 エンダーチェストに格納可能なNBTTag数の最大値を設定 ItemFukuro 15 アイテム袋に格納可能なNBTTag数の最大値を設定 reject items for backpack(アイテム袋にいれれないアイテム設定) reject items 省略 アイテム袋にいれられないアイテムを、1行に1個ずつ記入していく。大きな容量のNBTを持ったアイテムをアイテム袋に入れると負荷が大きくなるためそれを避けるために指定する silent settings (特定サウンドをミュートにする) Dead pet sound 0 ペット死亡時のピッピ音(0 ミュートにする 1 通常再生する) monster miss magic sound 0 モンスターのMP切れ魔法詠唱ピッピ音(0 ミュートにする 1 通常再生する)
https://w.atwiki.jp/jleague-football/pages/4047.html
Player No. Pos. Player Birth Date (Age) J1 J2 J3 Game Goal Game Goal Game Goal 1 GK 泉森涼太 1999-07-21 (24) 0 0 0 0 11 0 3 DF 外山凌 1994-07-29 (29) 0 0 129 4 44 9 4 DF 広瀬健太 1992-06-26 (31) 1 0 30 2 155 14 5 DF 井林章 1990-09-05 (33) 39 0 245 14 0 0 6 MF 渡邉英祐 1999-11-03 (24) 0 0 0 0 46 2 7 MF 千布一輝 1995-07-13 (28) 0 0 0 0 61 1 8 MF 藤村慶太 1993-09-02 (30) 33 0 237 8 7 0 9 FW 有田光希 1991-09-23 (32) 11 0 280 48 51 16 10 FW 藤本憲明 1989-08-19 (34) 77 16 26 12 89 44 11 MF 五領淳樹 1989-12-13 (34) 0 0 72 6 163 17 13 GK 松山健太 1998-11-17 (25) 0 0 20 0 21 0 14 MF 野嶽寛也 2000-12-03 (23) 0 0 1 0 59 2 15 MF 井堀二昭? 2001-04-16 (22) 0 0 0 0 0 0 17 MF 星広太 1992-07-27 (31) 0 0 23 1 226 21 18 FW 福田望久斗 2000-02-20 (23) 0 0 0 0 25 3 20 MF 圓道将良 1999-10-26 (24) 0 0 0 0 44 1 21 MF 田中渉 2000-09-23 (23) 8 0 84 7 0 0 23 DF 岡本將成 2000-04-07 (23) 0 0 12 0 81 0 25 FW 端戸仁 1990-05-31 (33) 58 6 145 27 44 9 27 MF 山口卓己 2000-07-21 (23) 0 0 0 0 36 3 28 DF 戸根一誓 1996-05-22 (27) 0 0 18 0 72 4 29 DF 小島凛士郎? 2005-05-01 (18) 0 0 0 0 0 0 30 MF 木村祐志 1987-10-05 (36) 31 1 300 19 66 2 31 GK 大野哲煥 1993-10-25 (30) 0 0 9 0 7 0 34 FW 鈴木翔大 1993-04-03 (30) 0 0 0 0 60 10 35 MF 中原秀人 1990-10-29 (33) 2 0 127 5 149 13 36 FW 米澤令衣 1996-07-20 (27) 0 0 24 1 186 68 39 FW 河辺駿太郎 1996-05-26 (27) 0 0 0 0 57 6 46 FW 武星弥 2004-10-15 (19) 0 0 0 0 34 3 65 MF 西堂久俊 2001-03-27 (22) 0 0 4 0 0 0 92 FW ンドカ・チャールス 1998-08-08 (25) 0 0 0 0 85 15 League Position Season League Position 2016 J3 5 / 16 2017 J3 4 / 17 2018 J3 2 / 17 2019 J2 21 / 22 2020 J3 4 / 18 2021 J3 7 / 15 2022 J3 3 / 18 2023 J3 2 / 20 2024 J2 / 20
https://w.atwiki.jp/asterisk99/pages/566.html
original (2019/05/14 付) Google 翻訳 (2019/05/21 付) # Installing Tesseract from Git #GitからTesseractをインストールする ##### Table of Contents ##### 目次 * Installing With Autoconf Tools * Autoconf Toolsを使ったインストール * Build with Training Tools * トレーニングツールを使ってビルド * Unit test builds * 単体テストビルド * Debug builds * デバッグビルド * Profiling builds * プロファイリングビルド * Release Builds for Mass Production * 量産用ビルドのビルド * Builds for fuzzing * ファジング用にビルド * Building using Windows Visual Studio * Windows Visual Studioを使ったビルド These are the instructions for installing Tesseract from the git repository. You should be ready to face unexpected problems. これらはGitリポジトリからTesseractをインストールするための指示です。予想外の問題に直面する準備ができているはずです。 ## Installing With Autoconf Tools ## Autoconfツールを使ったインストール In order to do this; you must have automake, libtool, leptonica, make and pkg-config installed. In addition, you need Git and a C++ compiler. これを行うためには; automake、libtool、leptonica、make、およびpkg-configがインストールされている必要があります。さらに、GitとC ++コンパイラが必要です。 On Debian or Ubuntu, you can probably install all required packages like this DebianやUbuntuでは、おそらく以下のような全ての必要なパッケージをインストールすることができます。 ` | ` apt-get install automake g++ git libtool libleptonica-dev make pkg-config apt-getインストールautomake g ++ git libtool libleptonica-dev make pkg-config ` | ` The optional manpages are built with asciidoc オプションのマンページはasciidocで構築されています。 ` | ` apt-get install --no-install-recommends asciidoc apt-get install --no-install-recommend asciidoc ` | ` If you want to build the Tesseract training tools as well, you ll also require Pango Tesseractトレーニングツールも構築したい場合は、Pangoも必要です。 ` | ` apt-get install libpango1.0-dev libpango1.0-devのapt-getインストール ` | ` --- --- Afterwards, to clone the master branch to your computer, do this その後、マスターブランチをあなたのコンピュータにクローンするために、これをしてください: ` | ` git clone https //github.com/tesseract-ocr/tesseract.git git clone https //github.com/tesseract-ocr/tesseract.git ` | ` or to make a shallow clone with commit history truncated to the latest commit only コミット履歴を最新のコミットのみに切り捨てた、シャロークローンを作成します。 ` | ` git clone --depth 1 https //github.com/tesseract-ocr/tesseract.git git clone --depth 1 https //github.com/tesseract-ocr/tesseract.git ` | ` or to clone a different branch/version または別のブランチ/バージョンを複製するには ` | ` git clone https //github.com/tesseract-ocr/tesseract.git --branch --single-branch git clone https //github.com/tesseract-ocr/tesseract.git --branch --single-branch ` | ` --- --- Note Tesseract requires Leptonica v1.74 or newer. If your system has only older versions of Leptonica, you must compile it manually from source available at DanBloomberg/leptonica. 注: TesseractはLeptonica v1.74以降を必要とします。システムにLeptonicaの古いバージョンしかない場合は、DanBloomberg / leptonicaで入手可能なソースから手動でコンパイルする必要があります。 Finally, run these 最後に、これらを実行してください。 ` | ` cd tesseract cdテセラクト ./autogen.sh ./autogen.sh ./configure ./configure make 作る sudo make install sudo make install sudo ldconfig sudo ldconfig ` | ` If you get this error このエラーが発生した場合: ` | ` make all-recursive すべて再帰的にする Making all in ccstruct すべてccstructにする /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. - / bin / sh ../libtool --tag = CXX --mode =コンパイルg ++ -DHAVE_CONFIG_H -I - I.. -I../ccutil -I../cutil -I../image -I../viewer -I/opt/local/ -I / ccutil -I / cutil -I /画像-I /ビューア-I / opt / local / include -I/usr/local/include/leptonica -g -O2 -MT blobbox.lo -MD -MP - インクルード-I / usr / local /インクルード/ leptonica -g -O2 -MT blobbox.lo -MD -MP - MF .deps/blobbox.Tpo -c -o blobbox.lo blobbox.cpp MF .deps / blobbox.Tpo -c -o blobbox.lo blobbox.cpp mv -f .deps/blobbox.Tpo .deps/blobbox.Plo mv -f .deps / blobbox.Tpo .deps / blobbox.Plo mv rename .deps/blobbox.Tpo to .deps/blobbox.Plo No such file or mv:.deps / blobbox.Tpoのファイル名を.deps / blobbox.Ploに変更します。 directory ディレクトリ make[3] *** [blobbox.lo] Error 1 make [3]:*** [blobbox.lo]エラー1 make[2] *** [all-recursive] Error 1 make [2]:*** [all-recursive]エラー1 make[1] *** [all-recursive] Error 1 make [1]:*** [all-recursive]エラー1 make *** [all] Error 2 make:*** [all]エラー2 ` | ` Try to run autoreconf -i after running ./autogen.sh. 。/ autogen.shを実行した後にautoreconf -iを実行してみてください。 ### Build with Training Tools ###トレーニングツールを使って構築する The above does not build the Tesseract training tools. 上記はTesseractトレーニングツールを構築するものではありません。 If you plan to install the training tools, you also need the following libraries トレーニングツールをインストールする予定の場合は、次のライブラリも必要です。 ` | ` sudo apt-get install libicu-dev sudo apt-get install libicu-dev sudo apt-get install libpango1.0-dev sudo apt-get install libpango1.0-dev sudo apt-get install libcairo2-dev sudo apt-get libcairo2-devをインストールする ` | ` To build Tesseract with training tools, run the following Tesseractをトレーニングツールで構築するには、以下を実行してください。 ` | ` cd tesseract cdテセラクト ./autogen.sh ./autogen.sh ./configure ./configure make 作る sudo make install sudo make install sudo ldconfig sudo ldconfig make training トレーニングをする sudo make training-install sudo作るトレーニングインストール ` | ` You can specify extra options for configure, as needed. eg. 必要に応じて、configureに追加のオプションを指定できます。例えば。 ./configure --disable-openmp --disable-debug --disable-opencl --disable-graphics --disable-shared CXXFLAGS=-g -O2 -Wall -Wextra -Wpedantic ./configure --disable-openmp --disable-debug --disable-opencl --disable-graphics --disable-shared CXXFLAGS = -g -O2 -Wall -Wextra -Wpedantic ### Unit test builds ###単体テストビルド Such builds can be used to run the automated regression tests, which have additional requirements. This includes the additional dependencies for the training tools (as mentioned above), and downloading all git submodules, as well as the model repositories (*.traineddata) このようなビルドは自動回帰テストを実行するために使用することができます。これには追加の要件があります。これには(上で述べたような)トレーニングツールのための追加の依存関係、そしてすべてのgitサブモジュールのダウンロード、そしてモデルリポジトリ( * .traineddata)が含まれます。 # Clone the Tesseract source tree #Tesseractソースツリーを複製します。 git clone https //github.com/tesseract-ocr/tesseract.git git clone https //github.com/tesseract-ocr/tesseract.git # Clone repositories with model files (from the same directory) #モデルファイルを含むリポジトリを(同じディレクトリから)複製します。 git clone https //github.com/tesseract-ocr/tessdata.git git clone https //github.com/tesseract-ocr/tessdata.git git clone https //github.com/tesseract-ocr/tessdata_best.git git clone https //github.com/tesseract-ocr/tessdata_best.git git clone https //github.com/tesseract-ocr/tessdata_fast.git git clone https //github.com/tesseract-ocr/tessdata_fast.git git clone https //github.com/tesseract-ocr/langdata_lstm.git git clone https //github.com/tesseract-ocr/langdata_lstm.git # Change to the Tesseract source tree and get all submodules #Tesseractソースツリーに変更して、すべてのサブモジュールを取得します。 cd tesseract cdテセラクト git submodule update --init gitサブモジュールの更新--init # Build the training tools (see above). Here we use a release built with sanitizers #トレーニングツールを構築します(上記参照)。ここでは、消毒剤を使ってビルドされたリリースを使います。 ./autogen.sh ./autogen.sh mkdir -p bin/unittest mkdir -p bin / unittest cd bin/unittest cd bin / unittest ../../configure --disable-shared CXXFLAGS=-g -O2 -Wall -Wextra -Wpedantic -fsanitize=address,undefined -fstack-protector-strong -ftrapv ../../configure --disable-shared CXXFLAGS = -g -O2 -Wall -Wextra -Wpedantic -fsanitize = address、undefined -fstack-protector-strong -ftrapv make training トレーニングをする # Run the unit tests #単体テストを実行します。 make check 確認する cd ../.. cd ../ .. This will create log files for all unit tests, both individual and accumulated, under bin/unittest/unittest. They can also be run standalone, for example これは bin / unittest / unittestの下に、すべての単体テスト(個々のものと累積されたもの)のログファイルを作成します。たとえば、それらはスタンドアロンで実行することもできます。 bin/unittest/unittest/stringrenderer_test bin / unittest / unittest / stringrenderer_test Failed tests will show prominently as segfaults or SIGILL handlers (depending on the platform). 失敗したテストは、セグメンテーションフォールトまたはSIGILLハンドラとして(プラットフォームに応じて)顕著に表示されます。 ### Debug Builds ###デバッグビルド Such builds produce Tesseract binaries which run very slowly. They are not useful for production, but good to find or analyze software problems. This is a proven build sequence そのようなビルドはとても遅いTesseractバイナリを生成します。実稼働には役立ちませんが、ソフトウェアの問題を発見または分析するのに役立ちます。これは実証済みのビルドシーケンスです。 cd tesseract cdテセラクト ./autogen.sh ./autogen.sh mkdir -p bin/debug mkdir -p bin / debug cd bin/debug cd bin / debug ../../configure --enable-debug --disable-shared CXXFLAGS=-g -O0 -Wall -Wextra -Wpedantic -fsanitize=address,undefined -fstack-protector-strong -ftrapv ../../configure --enable-debug - disable-shared CXXFLAGS = -g -O0 -Wall -Wextra -Wpedantic -fsanitize = address、undefined -fstack-protector-strong -ftrapv # Build tesseract and training tools. Run make if you don t need the training tools. #散文とトレーニングツールを構築します。あなたがトレーニングツールを必要としないのなら makeを実行してください。 make training トレーニングをする cd ../.. cd ../ .. This activates debug code, does not use a shared Tesseract library (that makes it possible to run tesseract without installation), disables compiler optimizations (allows better debugging with gdb), enables lots of compiler warnings and enables several run time checks. これはデバッグコードを有効にし、(インストールなしで tesseractを実行することを可能にする)共有Tesseractライブラリを使わず、コンパイラの最適化を無効にし(gdbを使ったより良いデバッグを可能にします) 。 ### Profiling Builds ###プロファイリングビルド Such builds can be used to investigate performance problems. Tesseract will run slower than without profiling, but with acceptable speed. This is a proven build sequence このようなビルドはパフォーマンスの問題を調査するために使用できます。 Tesseractはプロファイリングしない場合よりも遅くなりますが、許容できる速度です。これは実証済みのビルドシーケンスです。 cd tesseract cdテセラクト ./autogen.sh ./autogen.sh mkdir -p bin/profiling mkdir -p bin / profiling cd bin/profiling CDビン/プロファイリング ../../configure --disable-shared CXXFLAGS=-g -p -O2 -Wall -Wextra -Wpedantic ../../configure --disable-shared CXXFLAGS = -g -p -O2 -Wall -Wextra -Wpedantic # Build tesseract and training tools. Run make if you don t need the training tools. #散文とトレーニングツールを構築します。あなたがトレーニングツールを必要としないのなら makeを実行してください。 make training トレーニングをする cd ../.. cd ../ .. This does not use a shared Tesseract library (that makes it possible to run tesseract without installation), これは共有のTesseractライブラリを使用しません(これはインストールなしで tesseractを実行することを可能にします)、 enables profiling code, プロファイリングコードを有効にします。 enables compiler optimizations and enables lots of compiler warnings. コンパイラの最適化を有効にし、多くのコンパイラ警告を有効にします。 Optionally this can also be used with debug code by adding --enable-debug and replacing -O2 by -O0. オプションとして、これは --enable-debugを追加して-O2を -O0に置き換えることでデバッグコードと一緒に使うこともできます。 The profiling code creates a file named gmon.out in the current directory when Tesseract terminates. Tesseractが終了すると、プロファイリングコードはカレントディレクトリに gmon.outという名前のファイルを作成します。 GNU gprof is used to show the profiling information from that file. そのファイルからプロファイリング情報を表示するためにGNU gprofが使用されます。 ### Release Builds for Mass Production ###量産向けにビルドをビルド The default build creates a Tesseract executable which is fine for processing of single images. Tesseract then uses 4 CPU cores to get an OCR result as fast as possible. デフォルトのビルドはTesseractの実行可能ファイルを作成しますが、これは単一のイメージの処理に適しています。その後、Tesseractは4つのCPUコアを使用してOCRの結果をできるだけ早く取得します。 For mass production with hundreds or thousands of images that default is bad because the multi threaded execution has a very large overhead. It is better to run single threaded instances of Tesseract, so that every available CPU core will process a different image. 何百または何千もの画像を使用した大量生産では、マルチスレッド実行には非常に大きなオーバーヘッドがあるため、デフォルトは良くありません。利用可能なすべてのCPUコアが異なるイメージを処理するように、Tesseractのシングルスレッドインスタンスを実行することをお勧めします。 This is a proven build sequence これは実証済みのビルドシーケンスです。 cd tesseract cdテセラクト ./autogen.sh ./autogen.sh mkdir -p bin/release mkdir -p bin / release cd bin/release cd bin / release ../../configure --disable-openmp --disable-shared CXXFLAGS=-g -O2 -fno-math-errno -Wall -Wextra -Wpedantic ../../configure --disable-openmp --disable-shared CXXFLAGS = -g -O2 -fno-math-errno -Wall -Wextra -Wpedantic # Build tesseract and training tools. Run make if you don t need the training tools. #散文とトレーニングツールを構築します。あなたがトレーニングツールを必要としないのなら makeを実行してください。 make training トレーニングをする cd ../.. cd ../ .. This disabled OpenMP (multi threading), does not use a shared Tesseract library (that makes it possible to run tesseract without installation), enables compiler optimizations, これはOpenMP(マルチスレッド)を無効にし、共有Tesseractライブラリを使用しません(これはインストールなしで tesseractを実行することを可能にします)、コンパイラの最適化を可能にします、 disables setting of errno for mathematical functions (faster execution!) and enables lots of compiler warnings. 数学関数に対する errnoの設定を無効にし(より速い実行!)、たくさんのコンパイラ警告を有効にします。 ### Builds for fuzzing ###ファジング用にビルド Fuzzing is used to test the Tesseract API for bugs. Tesseract uses OSS-Fuzz, ファジングはTesseract APIのバグをテストするために使用されます。 TesseractはOSS-Fuzzを使います、 but fuzzing can also run locally. A newer Clang++ compiler is required. ファジングはローカルでも実行できます。新しいClang ++コンパイラが必要です。 Build example (fix the value of CXX for the available clang++) 構築例(利用可能なclang ++のCXXの値を修正): cd tesseract cdテセラクト ./autogen.sh ./autogen.sh mkdir -p bin/fuzzer mkdir -p bin / fuzzer cd bin/fuzzer cd bin / fuzzer ../../configure --disable-openmp --disable-shared CXX=clang++-7 CXXFLAGS= -g -O2 -Wall -Wextra -Wpedantic -D_GLIBCXX_DEBUG -fsanitize=fuzzer-no-link,address,undefined ../../configure --disable-openmp --disable-shared CXX = clang ++ - 7 CXXFLAGS = - g -O2 -Wextra -Wpedantic -D_GLIBCXX_DEBUG -fsanitize = fuzzer-no-link、address、undefined # Build the fuzzer executable. #fuzzer実行ファイルをビルドします。 make fuzzer-api fuzzer-apiを作る cd ../.. cd ../ .. Example (Show help information) 例(ヘルプ情報を表示): bin/fuzzer/fuzzer-api -help=1 bin / fuzzer / fuzzer-api -help = 1 Example (Run the fuzzer with a know test case) 例(既知のテストケースでファザーを実行します): bin/fuzzer/fuzzer-api clusterfuzz-testcase-minimized-fuzzer-api-5670045835853824 bin / fuzzer / fuzzer-api clusterfuzzテストケース最小化fuzzer-api-5670045835853824 Example (Run the fuzzer to find new bugs) 例(新しいバグを見つけるためにファザーを実行する): Example (Run the fuzzer with a know test case) 例(既知のテストケースでファザーを実行します): nice bin/fuzzer/fuzzer-api -jobs=16 -workers=16 すてきなビン/ fuzzer / fuzzer-api -jobs = 16 -workers = 16 ## Building using Windows Visual Studio ## Windows Visual Studioを使って構築する See Compiling for Windows. Windows用にコンパイルするを参照してください。
https://w.atwiki.jp/cscd/pages/90.html
簡単なことですが、すぐ忘れてしまうので。 ヒストグラムを重ね描きするには、Draw()にsameオプションをつけて、 h1- Draw(); h2- Draw("same"); とする。 統計情報(stats box)を複数表示するには、sameではなくsamesを使い、またその位置を調整してやる必要がある。 http //www.slac.stanford.edu/BFROOT/www/Computing/Offline/ROOT/info/secondStats.txt ← なんかできない。 http //root.cern.ch/root/html/TPaveStats.html ← できた。↓ Root TPaveStats *st = (TPaveStats*)h- FindObject("stats") Root st- SetX1NDC(newx1); //new x start position Root st- SetX2NDC(newx2); //new x end position hはヒストグラムの名前。newx1には0から1までの数字を入れる。 http //www.hepl.phys.nagoya-u.ac.jp/~wakajun.nagoya/pukiwiki/index.php?ROOT#j0b913ba 参考リンク http //www.dw-sapporo.co.jp/technology/658766f830d530a130a430eb7f6e304d5834/root_usersguide_jp/3Histograms.pdf
https://w.atwiki.jp/warband/pages/434.html
skinkey_chin_size|Chin Size skinkey_chin_shape|Chin Shape skinkey_chin_forward|Chin Forward skinkey_jaw_width|Jaw Width skinkey_lower_lip|Lower Lip skinkey_upper_lip|Upper Lip skinkey_mouth_nose_distance|Mouth-Nose Distance skinkey_mouth_width|Mouth Width skinkey_nostril_size|Nostril Size skinkey_nose_height|Nose Height skinkey_nose_width|Nose Width skinkey_nose_size|Nose Size skinkey_nose_shape|Nose Shape skinkey_nose_bridge|Nose Bridge skinkey_eye_width|Eye Width skinkey_eye_to_eye_dist|Eye to Eye Dist skinkey_eye_shape|Eye Shape skinkey_eye_depth|Eye Depth skinkey_eyelids|Eyelids skinkey_cheeks|Cheeks skinkey_cheek_bones|Cheek Bones skinkey_eyebrow_height|Eyebrow Height skinkey_eyebrow_shape|Eyebrow Shape skinkey_temple_width|Temple Width skinkey_face_depth|Face Depth skinkey_face_ratio|Face Ratio skinkey_face_width|Face Width skinkey_post_edit|Post-Edit skinkey_jaw_position|Jaw Position skinkey_eyebrow_position|Eyebrow Position skinkey_eyebrow_depth|Eyebrow Depth skinkey_pucker|Pucker
https://w.atwiki.jp/gametips/pages/35.html
///**********************************************//** /// シェーダの入力変数の属性インデックスをレイアウト修飾子で指定します。 ///**********************************************//** #version 400 layout (location = 0) in vec3 vertex_position; // OpenGL プログラムからの頂点位置の入力(属性インデックス0) layout (location = 1) in vec3 vertex_color; // OpenGL プログラムからの頂点色の入力(属性インデックス1) out vec3 color; // フラグメントシェーダへの頂点色の出力 void main() { color = vertex_color; gl_Position = vec4( vertex_position, 1.0 ); }