Page 299 - MDP2020-1
P. 299

················································································  명장양성프로젝트  【MDP】  과제발표회  자료집  Ⅰ    |  293


            제  3  장  소프트웨어  설계


            1.  개요
              습도  센서가  값을  보내면  라즈베리파이에서  받고  안드로이드  앱으로  넘겨준다.  그리고  일정  습
            도를  넘어가게  되면  stm을  이용하여  팬을  돌려    동작시킨다.  앱을  이용해서  옷장의  옷을  볼  수
            있고  얼굴인식을  하여  사진을  찍으면  인공지능이  자신이  입고  있는  옷을  인식하여  분류해  준다.



            2.  소프트웨어



            <안드로이드>
            (안드로이드  스튜디오  버전과  참조  라이브러리)
            android  {
                    compileSdkVersion  29
                    buildToolsVersion  "29.0.3"



                    defaultConfig  {
                            applicationId  "com.example.smartstyler"
                            minSdkVersion  26
                            targetSdkVersion  29

                            versionCode  1
                            versionName  "1.0"


                            testInstrumentationRunner  "androidx.test.runner.AndroidJUnitRunner"
                    }



                    buildTypes  {
                            release  {
                                    minifyEnabled  false
                                    proguardFiles   getDefaultProguardFile('proguard-android-optimize.txt'),
            'proguard-rules.pro'

                            }
                    }
                    compileOptions  {
                            sourceCompatibility  JavaVersion.VERSION_1_7
                            targetCompatibility  JavaVersion.VERSION_1_7

                    }
            }


            dependencies  {
                    implementation  fileTree(dir:  "libs",  include:  ["*.jar"])

                    implementation  'androidx.appcompat:appcompat:1.2.0'
   294   295   296   297   298   299   300   301   302   303   304