python |
Pythonタグが付けられた新着投稿 - Qiita |
Azure Computer Vision APIを用いて、テキストの抽出(Read API)やーる(Python3.6) |
https://qiita.com/SatoshiGachiFujimoto/items/fd56e3a9a12f617467c3
|
AzureComputerVisionAPIを用いて、テキストの抽出ReadAPIやーるPythonはじめに画像からテキスト抽出をやってみました開発環境WindowsAnacondaPythonOpenCVAzureComputerVisionAPIComputerVisionクライアントライブラリ必要なら導入AzureポータルにログインしますComputerVisionAPIのリソースを作成しますキーとエンドポイントをメモします必要なライブラリをインストールしてください。 |
2020-11-02 00:47:13 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
文字列検索の課題で速度アップのためにやったこと |
https://qiita.com/a_sue/items/1dd41bd46cba7e84095c
|
実は事前にサンプルと一緒に配布されていたテストデータは英語だったので、引数なしのsplitで切り分けるコーディングをしてたのですが、日本語だとそれではうまくいきません。 |
2020-11-02 00:36:05 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
plotly散布図で使いそうなtrace, layoutのテンプレート |
https://qiita.com/shu32/items/5da9727e3c050350757f
|
plotly散布図で使いそうなtracelayoutのテンプレートはじめにplotlyで散布図を描く際に使いそうなtracelayoutのテンプレートです必要ない個所は適宜消してください環境MacOSpythonplotlypippipinstallplotlytraceテンプレートimportplotlyofflineasofflineimportplotlygraphobjsasgoimportplotlycolorsplotlycolorsDEFAULTPLOTLYCOLORSデフォルトカラー取得rgbrgbrgbrgbrgbrgbrgbrgbrgbrgbfromplotlyvalidatorsscattermarkerimportSymbolValidatorrawsymbolsSymbolValidatorvaluesマーカーシンボルに使える値circlecircleopen個あるcustommarkersymbolsdatatracegoScatterxiforiinrangeyiforiinrangeyaxisyyの第軸yyymultipleaxeslinedictcolorcolorswidthdashdashdotdashdashdotordashdotstylelineplotslineshapehvステップなどhvvhhvhvhvsplinelinerhidingthetraceinitiallymarkerdictcolorcolorssizelinedictcolorredwidthlineマーカーの輪郭線情報addmarkerbordermodelinesmarkerslineslinesmarkersormarkerslineplotmodesmarkersymbolrawsymbolsマーカーの形を指定custommarkersymbolsnamesample凡例に使われるopacity透明度coloropacityvisibleTrueTrueFalseorlegendonlyshowlegendTrue凡例表示TrueorFalselegendgroupsample文字列が同じtraceは表示非表示切り替えが同期するgroupedlegenditemsdataappendtracelayoutテンプレート基本titlexaxisなどとりあえずこれがあればグラフの体裁ができるlayoutlayoutgoLayouttitledicttextltbgtsampletitleltbgtltbrgttextfontdictsizexaxisdicttitledicttextxaxislabelfontdictsizetickfontdictsizeautorangeTrueyaxisdicttitleyaxislabelfontdictsizeグローバルフォントnewshapedictlinedictcolorcyanwidthdashsoliddashsoliddotdashlongdashdashdotlongdashdotautosizeTrueshowlegendTruefigdictdatadatalayoutlayoutofflineplotfigincludeplotlyjscdnautoopenTruefilenamesampleplotlyhtmlconfigmodeBarButtonsToAdddrawlinedrawopenpathdrawclosedpathdrawcircledrawrecteraseshapetitledicttextltbgtsampletitleltbgtltbrgttext文字列個所にはhtmlのタグが使えるltbgtstrltbgtで太字、ltbrgtで改行太字で色付きにしたければltbstylecolorredgttestltbgtなど最後の行で右上に線や円を描けるボタンを追加configmodeBarButtonsToAdddrawlinedrawopenpathdrawclosedpathdrawcircledrawrecteraseshape第軸traceでyaxisyにしておくyaxisの個所layoutgoLayouttitledicttextltbgtsampletitleltbgtltbrgttextfontdictsizexaxisdicttitledicttextxaxislabelfontdictsizetickfontdictsizetickangleyaxisdicttitleyaxislabelxaxisと同上yaxisdicttitleyaxislabeloverlayingysiderightshowgridFalsefontdictsizeグローバルフォントnewshapedictlinedictcolorcyanwidthdashsoloddashsoliddotdashlongdashdashdotlongdashdotautosizeTrueshowlegendTruefigdictdatadatalayoutlayoutofflineplotfigincludeplotlyjscdnautoopenTruefilenamesampleplotlyhtmlconfigmodeBarButtonsToAdddrawlinedrawopenpathdrawclosedpathdrawcircledrawrecteraseshapeその他使うものtitlexaxisのフォント形式も変えたい時、xaxisの範囲を決めたい時、ホバーやスパイクなどその他変更するときlayoutgoLayouttitledicttextltbgtsampletitleltbgtltbrgttextfontdictfamilyArialsizecolorblackxaxisdicttitledicttextxaxislabelfontdictfamilyArialsizecolorblacktickfontdictfamilyArialsizecolorblacktypetickdtickrangeautorangeTruerangemodenormaltickangletickformatcolorwhiteshowspikesTruespikemodetoaxisspikecolorreddomainyaxisdicttitleyaxislabelspikemodetoaxisdomainxaxisと同上fontdictfamilyArialsizecolorblackグローバルフォントlegenddictorientationhyanchorbottomyxanchorrightxorientationh凡例を横表示にするnewshapedictlinedictcolorcyanwidthdashdashdotdashsoliddotdashlongdashdashdotlongdashdothovermodexunifiedxyclosestFalsexunifiedyunifiedhoverlabeldictfontdictfamilyArialsizecolorblackbgcolorwhitebordercolorblackpaperbgcolorffffffプロット外の色指定plotbgcolorffffffプロット内の色指定templateplotlydarkテンプレートautosizeTrueshowlegendTruefigdictdatadatalayoutlayoutofflineplotfigincludeplotlyjscdnautoopenTruefilenamesampleplotlyhtmlconfigmodeBarButtonsToAdddrawlinedrawopenpathdrawclosedpathdrawcircledrawrecteraseshapexaxisyaxisfontdictfamilyArialsizecolorblackでフォントの形式、サイズ、色を指定familyArialBaltoCourierNewDroidSansDroidSerifDroidSansMonoGravitasOneOldStandardTTOpenSansOverpassPTSansNarrowRalewayTimesNewRomantickfontdictfamilyArialsizecolorblackで軸の値のフォントを指定type入力値によって時間軸やログスケールなどに変更linearlogdatecategorymulticategoryDefaulttick軸の最小値を指定dtick軸の目盛間隔指定rangeminmax表示する軸の最大・最小を指定autorangeTrue与えられた値によって自動で範囲を設定するrangeが入力されるとFalseになるTrueFalsereversedrangemodenormal入力値によって軸範囲を決める、tozeroが原点、nonnefative非負TypeenumeratedoneofnormaltozerononnegativeDefaultnormaltickangle軸値の表示角度、デフォルトはautotickformat表示などにしたい時、デフォルトはcoloraxisの色指定labeltickの両方showspikesスパイクプロットにカーソルを近づけた時に出る点線の表示非表示spikemodeスパイクの表示方法の変更TypeflagliststringAnycombinationoftoaxisacrossmarkerjoinedwithaExamplestoaxisacrosstoaxisacrosstoaxisacrossmarkerDefaulttoaxisspikecolorスパイクの色domainグラフ領域の指定、デフォルトは範囲はlegendorientationhyanchorbottomyxanchorrightx凡例を横向きにする。 |
2020-11-02 00:20:00 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【JavaScript】axios(ajax)でエラー時のレスポンスbodyが取得できない |
https://qiita.com/ikkei12/items/7354b61045def2929257
|
エラーのresponseには以下のようにアクセスできるcatchegtconsolelogeresponsedatamessagesの時はObjectを返してくれるのに、、、data…statusstatusTextOKheaders…config… …まとめ不得意だからと矛先をバックエンドに向けてしまっていたが、フロントの実力もまだまだだった。 |
2020-11-02 00:46:48 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
JavaScriptで図形の左寄せの直角三角形を作る【自分用】 |
https://qiita.com/asarashi/items/17debbba8cb508330ff5
|
課題をやっていて躓いたため、誰かのためになればと思い、ここに覚書きとして残しておきます。 |
2020-11-02 00:42:13 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Mean ShiftをJavaScriptで実装した |
https://qiita.com/norimy/items/947ae6b0b6a25db923f6
|
正しい更新式を用いる場合は、超球の体積計算式を使用するように変更する必要があります。 |
2020-11-02 00:00:43 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
openFrameworks で15回クリックして円を15個描きたい。 |
https://teratail.com/questions/301728?rss=all
|
openFrameworksで回クリックして円を個描きたい。 |
2020-11-02 00:56:48 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
mysqlをsedでcsv出力する際の加工の仕方 |
https://teratail.com/questions/301727?rss=all
|
mysqlをsedでcsv出力する際の加工の仕方mysqlをcsv出力する方法として、intonbspoutfileを使うほかにlinuxコマンドのsedを使ってtxtデータを加工する方法があるのですが、再度mysqlにインポートできるように加工する方法が知りたいです。 |
2020-11-02 00:56:13 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Wordpress でテーマを変更した際に Call to undefined function mb_language() |
https://teratail.com/questions/301726?rss=all
|
Wordpressでテーマを変更した際にCalltoundefinedfunctionmblanguageHerokunbspにWordPressnbspをデプロイしています。 |
2020-11-02 00:33:00 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Shopify コレクションの並び替え |
https://teratail.com/questions/301725?rss=all
|
shopify |
2020-11-02 00:30:33 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
MANP sassを使いたい |
https://teratail.com/questions/301724?rss=all
|
MANPsassを使いたいプログラミング初心者です。 |
2020-11-02 00:30:18 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
最大値が負の数になってしまう。 |
https://teratail.com/questions/301723?rss=all
|
最大値が負の数になってしまう。 |
2020-11-02 00:27:36 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
axiosでapiから取得したデータを加工しvueに反映させたい |
https://teratail.com/questions/301722?rss=all
|
axiosでapiから取得したデータを加工しvueに反映させたい前提・実現したいことaxiosでapiから取得後、加工したデータをvueに反映させたいです。 |
2020-11-02 00:26:08 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
node-sass -v インストールできているのにバージョン確認ができない |
https://teratail.com/questions/301721?rss=all
|
nodesassnbspv |
2020-11-02 00:22:28 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
TemplateDoesNotExist at /user/login/ |
https://teratail.com/questions/301720?rss=all
|
TemplateDoesNotExistatuserloginTemplateDoesNotExistnbspatnbspuserloginnbspregistrationloginhtmlnbspとエラーが出ました。 |
2020-11-02 00:07:42 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
【JavaScript】axios(ajax)でエラー時のレスポンスbodyが取得できない |
https://qiita.com/ikkei12/items/7354b61045def2929257
|
エラーのresponseには以下のようにアクセスできるcatchegtconsolelogeresponsedatamessagesの時はObjectを返してくれるのに、、、data…statusstatusTextOKheaders…config… …まとめ不得意だからと矛先をバックエンドに向けてしまっていたが、フロントの実力もまだまだだった。 |
2020-11-02 00:46:48 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
Moleculeのdelegatedドライバからterraformを使ってAWS EC2環境などにテスト用インスタンスを作成 |
https://qiita.com/hiroyuki_onodera/items/aef6194b5da425c198d8
|
ステータス情報│││ ├ーmoleculeymlmolecule定義情報│ ├ーcreateymlmoleculevm作成playbook│ ├ーprepareymlmoleculevm事前準備playbook│ ├ーconvergeymlmoleculevmへの変更反映playbook│ ├ーverifyymlmoleculevm検証playbook│ └ーdestroyymlmoleculevm削除playbook└ーtasks └ーmainymlCHTerraformによるAWSEC管理事前準備IAMにてAmazonECFullAccess権限を持つユーザー追加AWSコンソールにてIdentityandAccessManagementIAMgtユーザーからユーザーを追加ここでは以下の様にしているAWSアクセスの種類プログラムによるアクセスアクセスキーを使用アクセス権限の境界アクセス権限の境界が設定されていませんアクセス許可の設定既存のポリシーを直接アタッチAWS管理ポリシーAmazonECFullAccess入手したアクセスキーIDシークレットアクセスキーを環境変数AWSACCESSKEYIDAWSSECRETACCESSKEYに設定bashの場合の例catltltEOCgtgtbashprofileexportAWSACCESSKEYIDexportAWSSECRETACCESSKEYEOCbashprofileterraformによるproviderやネットワーク定義tfフォーマットは他のユーティリティとの連携などが困難tfjsonフォーマットは人が直接使用するには難しいここでは、tfjsonをYAMLで表記したファイルにてec設定を行い、terraform使用前にjson化最初からtfフォーマットやtfjsonフォーマットで記述、管理するならばYAML管理は不要commontfymlは、providerやネットワーク定義など個別のインスタンスにで対応しない設定をまとめたもの。 |
2020-11-02 00:25:00 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
[aws] VPCピアリングの動作確認 |
https://qiita.com/hrtkjm/items/245d9b0fda0342e24e8a
|
ネットワークプライベートIPVPCピアリングサービス→VPC→ピアリング接続を押下し、対象のVPCのピアリング接続を行います。 |
2020-11-02 00:02:06 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
PhpStorm+Docker+PHPUnitでテストをする |
https://qiita.com/ryuji-oda/items/26b4b83a11dabadb8184
|
これで設定されましたテスト側の設定TestFrameworksを選択し、左上からPHPUnitbyRemoteInterpreterを追加します。 |
2020-11-02 00:39:57 |
golang |
Goタグが付けられた新着投稿 - Qiita |
AtCoder Beginner Contest 181のメモ |
https://qiita.com/nogawanogawa/items/0e8fc30ec707b351a4bd
|
AtCoderBeginnerContestのメモ前置きAtcoderをやってみたので、自分用のメモです。 |
2020-11-02 00:26:42 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Azure Computer Vision APIを用いて、テキストの抽出(Read API)やーる(Python3.6) |
https://qiita.com/SatoshiGachiFujimoto/items/fd56e3a9a12f617467c3
|
AzureComputerVisionAPIを用いて、テキストの抽出ReadAPIやーるPythonはじめに画像からテキスト抽出をやってみました開発環境WindowsAnacondaPythonOpenCVAzureComputerVisionAPIComputerVisionクライアントライブラリ必要なら導入AzureポータルにログインしますComputerVisionAPIのリソースを作成しますキーとエンドポイントをメモします必要なライブラリをインストールしてください。 |
2020-11-02 00:47:13 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
git pull origin masterでエラーが出た初歩的な理由 |
https://qiita.com/Usuyuki/items/f7c5118f89b803c6ca94
|
gitpulloriginmasterでエラーが出た初歩的な理由いつものようにgitpulloriginmasterすると…fatalCouldntfindremoterefmasterUnexpectedendofcommandstream原因が分からず少し悩んだ挙げ句GitHubのデフォルトブランチが近年masterからmainに変わったことが原因だと気づきました。 |
2020-11-02 00:29:01 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
ActiveStorage vs CarrierWave |
https://qiita.com/w5966qzh/items/510d4c2a3829524b2e64
|
ActiveStoragevsCarrierWave論争画像管理をActiveStorageからCarrierWaveへ乗り換えた話RailsCarrierWaveでActiveRecordActiveStorageを使用せずにGCSに画像をアップする方法Railsから入る新機能ActiveStorageを使うべきか公平な目で調べましたが、activestorage反対派が多いですね・・・私はアプリ開発はherokuの無料枠内で開発していますので、データの書き換えを頻繁にされると困ります。 |
2020-11-02 00:50:49 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【JavaScript】axios(ajax)でエラー時のレスポンスbodyが取得できない |
https://qiita.com/ikkei12/items/7354b61045def2929257
|
エラーのresponseには以下のようにアクセスできるcatchegtconsolelogeresponsedatamessagesの時はObjectを返してくれるのに、、、data…statusstatusTextOKheaders…config… …まとめ不得意だからと矛先をバックエンドに向けてしまっていたが、フロントの実力もまだまだだった。 |
2020-11-02 00:46:48 |
海外TECH |
The Apache Software Foundation Blog |
Apache Month in Review: October 2020 |
https://blogs.apache.org/foundation/entry/apache-month-in-review-october
|
Apache Month in Review October Welcome to the latest monthly overview of events from the Apache community Here s a summary of what happened in October New this month nbsp ApacheCon nbsp the ASF s official global conference series bringing Tomorrow s Technology Today since nbsp nbsp ApacheCon Home was a huge success nbsp nbsp nbsp All sessions including Plenaries and Keynotes from ApacheCon Home are available nbsp nbsp Apache Software Foundation Operations Summary Q FY May July nbsp The Apache Software Foundation Celebrates Years of OpenOffice nbsp nbsp quot Inside Infra quot the interview series featuring members of the ASF Infrastructure team nbsp nbsp Daniel Gruno Part II nbsp Apache Month in Review September Important Dates nbsp Next Board Meeting November Board calendar and minutes Infrastructure Our seven member Infrastructure team on three continents oversees our highly reliable distributed network under the leadership of VP Infrastructure David Nalley and Infrastructure Administrator Greg Stein ASF Infrastructure supports Apache projects and their communities across individual machines repositories PB in traffic annually M downloads per month and M daily emails on lists ASF Infra performs M weekly checks to ensure services are available around the clock The average uptime in October was Committer Activity In October Apache Committers changed lines of code over commits The Committers with the top highest contributions in order were Andrea Cosentino Claus Ibsen Mark Miller Mark Thomas and Andi Huber Project Releases and Updates New releases from Apache Ant Build Management nbsp Any Content Arrow Big Data APISIX API BookKeeper Big Data Calcite Big Data Camel Integration Commons DBCP Libraries Commons NET Libraries Commons Pool Libraries Druid Big Data nbsp Flink Big Data Groovy Programming Languages Hadoop Big Data HBase Big Data HttpComponents Client Servers Ignite Data Management Platform Jackrabbit Content Kylin Big Data Lucene Search nbsp NiFi Big Data Oak Content OpenMeetings Web Conferencing Pulsar Messaging Qpid Broker Messaging Skywalking Application Performance Management Solr Search Struts Web Frameworks Tomcat Servers nbsp Tuweni Blockchain Wicket Web Frameworks XMLBeans Library The Apache Incubator is the primary entry path for projects we invite you to review the many projects currently in development in the Apache Incubator nbsp New releases from incubating podlings include Apache Teaclave Incubating Computing StreamPipes Incubating IoT TVM Incubating Machine Learning To see our Weekly News Round ups visit nbsp and click on the calendar in the upper right side published every Friday or hop directly to nbsp For real time updates sign up for Apache related news by sending mail to announce subscribe apache org and follow TheASF on Twitter We appreciate your support |
2020-11-01 15:33:18 |
海外TECH |
CodeProject Latest Articles |
BuilderHMI.Lite - Simple Drag-and-Drop WPF Layout |
https://www.codeproject.com/Articles/5283954/BuilderHMI-Lite-Simple-Drag-and-Drop-WPF-Layout
|
microsoft |
2020-11-01 15:58:00 |
海外ニュース |
Japan Times latest articles |
‘Hydrogen Wars’ pit Europe against China for $700 billion business |
https://www.japantimes.co.jp/news/2020/11/01/business/hydrogen-wars-europe-china/
|
emissions |
2020-11-02 01:20:44 |
海外ニュース |
Japan Times latest articles |
Carlos Ghosn escape accomplices set for Japan pickup ‘in days,’ U.S. says |
https://www.japantimes.co.jp/news/2020/11/01/national/crime-legal/carlos-ghosn-accomplices-japan-us-extradition/
|
Carlos Ghosn escape accomplices set for Japan pickup in days U S saysFederal prosecutors asked a judge to lift a stay on the extradition of the former Green Beret Michael Taylor and his son Peter so that |
2020-11-02 00:51:12 |
海外ニュース |
Japan Times latest articles |
Japanese soccer legend Kengo Nakamura to retire |
https://www.japantimes.co.jp/sports/2020/11/01/soccer/j-league/kawasaki-frontale-japan-kengo-nakamura-retire/
|
league |
2020-11-02 01:39:09 |
海外ニュース |
Japan Times latest articles |
Unbeaten Naoya Inoue KOs Jason Moloney in bantamweight title fight |
https://www.japantimes.co.jp/sports/2020/11/01/more-sports/boxing-2/naoya-inoue-jason-moloney/
|
Unbeaten Naoya Inoue KOs Jason Moloney in bantamweight title fightNaoya Inoue defended his IBF and WBA bantamweight world titles by knocking out Australian challenger Jason Moloney in the seventh round of their fight in |
2020-11-02 01:29:39 |
ニュース |
BBC News - Home |
Sir Bobby Charlton: England World Cup winner diagnosed with dementia |
https://www.bbc.co.uk/sport/football/54770216
|
bobby |
2020-11-01 15:10:03 |
ニュース |
BBC News - Home |
Covid-19: Can my son still get married? And other questions |
https://www.bbc.co.uk/news/explainers-54769629
|
covid |
2020-11-01 15:25:27 |
ニュース |
BBC News - Home |
Covid: Furlough extension backlash after Welsh firebreak snub |
https://www.bbc.co.uk/news/uk-wales-54766012
|
firebreak |
2020-11-01 15:04:41 |
ニュース |
BBC News - Home |
Ward-Prowse scores two free-kicks as Southampton survive Villa fightback |
https://www.bbc.co.uk/sport/football/54679346
|
Ward Prowse scores two free kicks as Southampton survive Villa fightbackJames Ward Prowse scores with two fantastic free kicks as Southampton survive a late Aston Villa rally to move up to third in the Premier League |
2020-11-01 15:26:36 |
ニュース |
BBC News - Home |
Women's FA Cup Final: Sam Mewis gives Manchester City the lead against Everton |
https://www.bbc.co.uk/sport/av/football/54772015
|
everton |
2020-11-01 15:42:52 |
北海道 |
北海道新聞 |
菅首相、維新と連携継続を模索 自民、公明としこり残さず |
https://www.hokkaido-np.co.jp/article/477138/
|
住民投票 |
2020-11-02 00:16:10 |
北海道 |
北海道新聞 |
614人感染、6人死亡 国内の新型コロナ |
https://www.hokkaido-np.co.jp/article/477161/
|
新型コロナウイルス |
2020-11-02 00:13:00 |
北海道 |
北海道新聞 |
松井氏、深々と頭下げ 維新、吉村氏は目潤ませ |
https://www.hokkaido-np.co.jp/article/477157/
|
住民投票 |
2020-11-02 00:09:00 |
コメント
コメントを投稿