講演抄録/キーワード |
講演名 |
2023-03-02 14:30
[ポスター講演]Swift標準ライブラリで作成したWebページの再表示が可能なスクリーンショットアプリの開発 ○阪本彩佳・川村正樹(山口大) EMM2022-81 |
抄録 |
(和) |
Webページを再表示可能なスクリーンショット画像を生成するアプリの開発を行っている.
本アプリでは,WebページのURLを取得しQRコードに変換した情報を,透かし情報としてスクショ画像に埋め込む.また,スクショ画像からURLを抽出する事でWebページを再表示する事ができる.
近年のAppStoreでは,外部ライブラリを用いたアプリが審査に通らない事例が増えている.
そこで,Swift標準ライブラリのみでアプリを開発することを本研究の目的とする.
新たに標準ライブラリで実装した関数は,URLをQRコードに符号化する関数と,透かし情報を画像に埋め込むQIMを行う関数と,画像に二次元のDCTを行う関数である.QRコードは標準ライブラリ内のQRCodeGeneratorに,URLと誤り訂正レベルを指定して生成した.DCTは,標準ライブラリの一次元のDCT関数vDSP.DCTを利用し,横方向と縦方向に2回DCTを行い,二次元DCTを実現した.
Swiftで作ったアプリの動作をシミュレーター上で確認した.URLの情報をスクショ画像と自然画像に埋め込みを行い,開発した関数の動作を検証した.その結果,スクショ画像から抽出したQRコードは正常に読み取ることができなかった.しかしながら,自然画像から抽出したQRコードは正常に読み取ることができた.このことから,アプリは正常に動作していると言える.読み込めなかった原因は,スクショ画像の輝度値の分布に原因があると考えられる. |
(英) |
We are developing an application to generate a redisplayable screenshot image of a web page. This application gets the URL of the web page when the screenshot is taken, and converts it to a QR code. The code is then embedded in the screenshot image as a watermark. Reversely, the web page can be redisplayed by extracting the URL from the screenshot image. In recent years, many applications using external libraries have been rejected by the AppStore.
Therefore, the purpose of this study is to develop the application using only the Swift standard library. The function to encode a URL into a QR code, the QIM function to embed a watermark into an image, and the function to perform a two-dimensional DCT on an image were newly implemented using the standard libraries. QR codes were generated by assigning a URL and an error correction level to QRCodeGenerator in the library. Two-dimensional DCT was achieved by performing DCT twice, horizontally and vertically, using the one-dimensional DCT function vDSP.DCT in the library. The application written by Swift was tested on a simulator. URLs were embedded in both screenshot and natural images to check the developed functions. As a result, the QR codes extracted from the screenshot images were incorrectly decoded. However, the QR codes extracted from the natural images were successfully decoded. Therefore, the application has worked properly. The reason for the decoding failure was considered to be the luminance distribution of the image. |
キーワード |
(和) |
電子透かし / QRコード / Swift / iPhoneアプリ / / / / |
(英) |
Watermark / QRcode / Swift / iPhone Application / / / / |
文献情報 |
信学技報, vol. 122, no. 412, EMM2022-81, pp. 72-77, 2023年3月. |
資料番号 |
EMM2022-81 |
発行日 |
2023-02-23 (EMM) |
ISSN |
Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
EMM2022-81 |