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

13 vues (au cours des 30 derniers jours)
竣 齊藤
竣 齊藤 le 8 Oct 2021
Commenté : 竣 齊藤 le 10 Oct 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アプリの作成方法を教えていただきたいです。
ご教授の程よろしくお願い致します。

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Mobile dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!