iPhoneアプリの作成方法について

18 visualizzazioni (ultimi 30 giorni)
竣 齊藤
竣 齊藤 il 8 Ott 2021
Commentato: 竣 齊藤 il 10 Ott 2021
はじめに、PCのカメラを用いて成分表示が英語で記載されているものを撮影を行います。撮影した成分表示の画像の中に、添付した画像のwordの列の英単語があったとき、日本語訳とその日本語訳のイラストの画像を表示するプログラムを作成しました。
cam = webcam();
videoFrame = snapshot(cam);
frameSize = size(videoFrame);
videoPlayer = vision.VideoPlayer('Position', [100 100 [frameSize(2), frameSize(1)]+30]);
runLoop = true;
while runLoop
videoFrame = snapshot(cam);
results = ocr(videoFrame);
Ninshikimoji = lower(results.Words);
Ninshikiwaku = results.WordBoundingBoxes;
Jisho = readtable('allergy.xlsx','ReadRowNames',true);
word = categorical(Jisho.word);
Mininshiki = blanks(0);
for n = 1:size(Ninshikimoji,1)
if any(word == Ninshikimoji{n})
Shoukai = Jisho{Ninshikimoji{n},:};
videoFrame = insertObjectAnnotation(videoFrame,'rectangle',Ninshikiwaku(n,:),Shoukai{:},'font','Yu Gothic Bold');
x = Ninshikiwaku(n,1); y = Ninshikiwaku(n,2); w = Ninshikiwaku(n,3); h = Ninshikiwaku(n,4);
logo = imresize(imread([Shoukai{:} '.png']),0.3);
VideoFrame(y:(y+size(logo,1)-1),(x+w):(x+w+size(logo,2)-1),:) = logo;
else
Mininshiki = [Mininshiki ' ' Ninshikimoji{n}];
end
end
step(videoPlayer, videoFrame);
runLoop = isOpen(videoPlayer);
end
clear cam;
release(videoPlayer);
今回ご教授して頂きたい点は、上記プログラムのiPhoneアプリの作成方法です。
もし、iPhoneアプリの作成が厳しい場合は、Androidアプリの作成方法を教えていただきたいです。
ご教授の程よろしくお願い致します。

Risposta accettata

Kenta
Kenta il 8 Ott 2021
こちらなどいかがでしょうか。
こちらの作成の経験はないですが、ひとまず最も簡単な例からはじめて少しずつレベルアップさせていくのがよいのではないでしょうか。
  1 Commento
竣 齊藤
竣 齊藤 il 10 Ott 2021
回答して頂きありがとうございます。
URLの内容を参考にさせて頂きます。

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su MATLAB Mobile in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!