<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Suyeon on Medium]]></title>
        <description><![CDATA[Stories by Suyeon on Medium]]></description>
        <link>https://medium.com/@syeon12270131?source=rss-69fd83c3d02d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*PBA3jZSM1ZzD-qGe</url>
            <title>Stories by Suyeon on Medium</title>
            <link>https://medium.com/@syeon12270131?source=rss-69fd83c3d02d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 04:57:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@syeon12270131/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Our month-long project, PRP(6) _Final]]></title>
            <link>https://medium.com/@syeon12270131/our-month-long-project-prp-6-final-17cd25a5e8fc?source=rss-69fd83c3d02d------2</link>
            <guid isPermaLink="false">https://medium.com/p/17cd25a5e8fc</guid>
            <dc:creator><![CDATA[Suyeon]]></dc:creator>
            <pubDate>Fri, 05 Aug 2022 08:52:53 GMT</pubDate>
            <atom:updated>2022-08-06T02:49:38.805Z</atom:updated>
            <content:encoded><![CDATA[<h3>Service Flow (User Account)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/0*-wqOa5hLm4xIGHUe.png" /></figure><h3>React page 1. Sign up</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XcJbB2QrERtcWBakLb6aHw.png" /></figure><ul><li>You can sign up for membership by entering your information such as e-mail, name, etc.</li></ul><h3>React page 2. Sign in</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jQ2ZlaUOhbJLIpdlMyitqA.png" /></figure><ul><li>You can sign in using the e-mail and password entered when registering as a member</li><li>You can find User information in case you don’t remember.</li></ul><h3>React page 3. User information management</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p8Chw5OYmp6Z8lgM258skA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qqZvf-YEb0afCjr3CFGH7g.png" /></figure><p>If you forgot your id or password, you can find in this page</p><h3>Service Flow (Service Page)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/0*Y9ZQLVP0U2mpEHRn.png" /></figure><h3>part 1. Select Whitelist</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*is4P0VGwndBKUxjnxbztxg.gif" /></figure><ul><li>Select the person you want to exclude from the mosaic in the video, and upload a picture of the target.</li><li>Click plus person to add a new person.</li><li>Check the Nobody check block to mosaic everyone in the video. (to be continue)</li></ul><h3>part 2. Upload Video</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*HvMfNfjvZHQWWXSuehV3cw.gif" /></figure><ul><li>Upload the video you want to mosaic.</li><li>If you want to change the uploaded video, press the change button to change it.</li><li>If you want to delete the uploaded video, press<strong> </strong>cancel<strong> </strong>to return to the initial video upload page.</li></ul><h3>part 3. Select the effect</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*_nmcDEsbtngGEGY-J7CIlA.gif" /></figure><ul><li>Select the mosaic effect that will be applied to others except for that target.</li><li>There are two options: mosaic, character.</li><li>If you click a mosaic button and next button, the effect of the existing mosaic is applied.</li><li>When selecting a character, you can choose between the character provided or the character you want.</li><li>You can add or delete characters that you want.</li></ul><h3>part 4. Select result</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*C6Uyj-mQiJih8KjtSMqhQQ.gif" /></figure><ul><li>Finally, you can check that the images, video, and effect selected above are correct.</li><li>After checking the three pieces of information, click the NEXT button to start image processing.</li></ul><h3>User page</h3><h3>part 1. Video page</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*M8OdrBoL5eSUlQJz.png" /></figure><ul><li>While video processing is in progress, you can access user pages and other services.</li><li>You can view or delete video processed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oBKhLixgEontZIdEwX1iXw.png" /></figure><ul><li>After the video processing is complete, the video is added to the list of videos.</li></ul><h3>part 2. Whitelist page</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VJf_LUQojx0MHBNHCcC2bg.png" /></figure><ul><li>Add or delete the required targets (people) when using the service.</li><li>You can upload or delete images for that target (person).</li><li>You can manage uploaded photos and people at once from the service page.</li></ul><h3>part 3. Character page</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eO0MJ0Fwdnl71AGkeb0UHQ.png" /></figure><ul><li>You can upload or delete pictures of the characters you want to use for the mosaic effect.</li><li>You can check the uploaded character photos on the service page.</li><li>You cannot check, delete, or upload existing characters on the character list page</li></ul><h3>Use Our Service</h3><p>Finally, our git hub address is below.</p><blockquote><strong><em>Git Repo</em></strong></blockquote><p><a href="https://github.com/PRP-for-your-portrait-right-protection">PRP-for-your-portrait-right-protection</a></p><h4>Our team member</h4><blockquote><em>박수현 : </em><a href="https://github.com/vivian0304"><em>vivian0304</em></a></blockquote><blockquote><em>정태원: </em><a href="https://github.com/teawon"><em>teawon</em></a></blockquote><blockquote><em>이민지: </em><a href="https://github.com/alswlfl29"><em>alswlfl29</em></a></blockquote><blockquote><em>조성현: </em><a href="https://github.com/vixloaze"><em>vixloaze</em></a></blockquote><blockquote><em>박수연: </em><a href="https://github.com/PARK-Su-yeon"><em>PARK-Su-yeon</em></a></blockquote><blockquote><em>박준혁: </em><a href="https://github.com/JHPark02"><em>JHPark02</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17cd25a5e8fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our month-long project, PRP (5)_Dev/Ops]]></title>
            <link>https://medium.com/@syeon12270131/our-month-long-project-prp-5-dev-ops-26d5384132d2?source=rss-69fd83c3d02d------2</link>
            <guid isPermaLink="false">https://medium.com/p/26d5384132d2</guid>
            <dc:creator><![CDATA[Suyeon]]></dc:creator>
            <pubDate>Fri, 05 Aug 2022 08:47:42 GMT</pubDate>
            <atom:updated>2022-08-05T11:29:21.892Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dev/Ops Tech Stack</h3><h3>Docker</h3><p>Make a container of DB, FrontEnd, BackEnd, Celery, RabbitMQ, NginX, Prometheus, and Grafana and run them in the docker.</p><h3>EC2</h3><p>Use for Distribute</p><h3>S3</h3><p>Put the uploaded image in the bucket and receive URL</p><h3>Celery</h3><p><em>[Problem Analysis]</em></p><ol><li>Flask handles the process synchronously, so it takes a long time to process uploaded data.</li><li>We have found a problem with the service where users have to wait for mosaic processing requests.</li><li>In other words, there is a need for an asynchronous processing method so that the user can move to anther page while waiting.</li></ol><p><em>[Reasons for using celery]</em></p><ol><li>Although it is possible to implement Flask directly to run asynchronously, it was determined that is was efficient to use a pre-implemented asynchronous work queue library.</li><li>Among many asynchronous task queue libraries, Celery is an asynchronous task queue written in Python, so it is easy to attach to Flask, a Python web framework, and is selected as Celery.</li></ol><h3>RabbitMQ</h3><p><em>[Problem Analysis]</em></p><ol><li>Use a message broker for asynchronous processing.</li><li>There is a problem that it is dangerous to turn the API server, which is the front end of the back, and the Analysis server, which is the rear end, into one server.</li></ol><p><em>[Improvement Plan]</em></p><ol><li>The server should be divided to send and receive data.</li></ol><ul><li>One method is to load into the queue and act as a buffer in the queue.</li><li>Even if data is stacked in a queue and an error occurs, only the corresponding message queue dies, so the service works well.</li></ul><p><em>[Comparison of MQ]</em></p><ol><li>Kafka</li></ol><ul><li>It is a message bus optimized for large data streams and playback, and is suitable for services that track user activities to collect and recommend information.</li></ul><p>2. RabbitMQ</p><ul><li>It is useful for flexible handling of complex routing.</li><li>It is suitable for applications that require accurate request-response.</li><li>Priority queue is supported and can be processed according to priority.</li></ul><p>3. Redis</p><ul><li>Suitable for short-lived messages that do not require persistence.</li><li>It can be reprocessed and maintenance is easy.</li><li>However, it does not guarantee the arrival of the event.</li></ul><p><a href="https://otonomo.io/redis-kafka-or-rabbitmq-which-microservices-message-broker-to-choose/">Redis, Kafka or RabbitMQ: Which MicroServices Message Broker To Choose?</a></p><p><em>[Reasons for using RabbitMQ]</em></p><ul><li>RabbitMQ has the characteristics of queue properties and asynchronous processing.</li><li>It is suitable for web servers that require rapid request-response.</li><li>Service is complex routing to send and receive video data.</li><li>Accurate request-response is required for functions such as uploading and recalling photos.</li></ul><h3>NginX</h3><ul><li>It is used as a HTTP Web Server that responds to static files that meet the request when it is received from a client.</li><li>It is used as a load balancer that can reduce the load on the WAS server by using it as a reverse proxy server.</li><li>With the above features, NginX was used to communicate to port 80.</li></ul><h3>Gunicorn</h3><ul><li>It is used as a WAS that performs dynamic processing.</li><li>When the Python-based Flask server runs alone, a single process is created and one process processes multiple requests.</li></ul><p>→ If there are more requests, the server will have bottlenecks.</p><ul><li>Because multiple threads are created and requests are processed in parallel, performance is improved compared to using Flask servers alone.</li></ul><h3>NginX+Gunicorn</h3><ul><li>Gunicorn, which processes dynamic data such as registered characters, uploaded videos, and login information of users, eliminates the need to process static data such as wallpaper, which can reduce the proportion of Gunicorn’s data.</li></ul><h3>Analysis Tools</h3><h4>Google Analytics</h4><p>Google Analytics is a web log analysis tool used to measure and improve the performance of your online business by collecting and analyzing data from website visitors.</p><p><strong>Through Google Analytics,</strong></p><ol><li>Which users visit our website?</li><li>What channels do these visitors visit the website?</li><li>What behavior patterns do you show when you arrive at the website?</li><li>Finally, how much did the website transition, such as adding images and videos, occur?</li><li>And so on, we can get insights into a lot of questions that we have about users.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DATw0odYMmJNaFi9.png" /><figcaption>The page currently being accessed by the user</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0b6L95TLYFaokLl2.png" /><figcaption>Number of pageviews repeated for each page, average usage time</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xTmHOARoSEwMuiRd.png" /><figcaption>Number of user connections per hour</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Li-vVmKDgO5TElKp.png" /><figcaption>the languages spoken by the users</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wbRNowHLFP-kFCRJ.png" /></figure><h4><strong>Information and improvements from the graph</strong></h4><p><strong>[Information#1]</strong></p><p>From the graph, it can be seen that there are the most users at 9 p.m.</p><p><strong>[Improvement#1]</strong></p><p>Server expansion around 9p.m.</p><p><strong>[Information#2]</strong></p><p>There are many Koreans because the language used by users is Ko-kr.</p><p><strong>[Improvement#2]</strong></p><p>Need to apply Korean to websites in the future.</p><h3>Monitoring Tools</h3><h3>Grafana &amp; Prometheus</h3><p><strong>Reasons for introducing monitoring tools</strong></p><p>We have introduced monitoring tools called Prometheus and Grafana to monitor performance and error rates at any time.</p><p>Because Prometheus is primarily intended to build application performance management (APM) for Metrics data, such as CPU and memory usage, it is commonly used in container services in the form of MSA and large server cluster monitoring.</p><p>Examples include Metrics (Application Layer), such as HTTP response data, per container service (Container &amp; Service Layer), and overall server cluster availability: Utilization (Cluster &amp; Node Layer) monitoring.</p><p><em>In our project, we decided to use a dashboard of grafana using the metric provided by default because there were many errors in customizing the metrics that we collect by referring to various references.</em></p><p><strong>Graph Analysis</strong></p><p>The following are graphs of the cpu usage and memory usage of the flask app based on data from the default Prometheus client library to determine the execution speed of the pc, the total number of requests per minute, the number of successful flask requests per second, and the number of errors per minute to manage errors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/0*wEtfDzzBbfnB_a-y.png" /><figcaption>CPU Usage</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/0*uLmo-DEbAgf_wkUm.png" /><figcaption>Total requests per minute</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*44ih61S3H1dsgBf1.png" /><figcaption>Request period per 30 seconds</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MKnqo_jHE-m0rwK-.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26d5384132d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our month-long project, PRP(4)_BackEnd]]></title>
            <link>https://medium.com/@syeon12270131/our-month-long-project-prp-4-backend-c01a7fb5fdeb?source=rss-69fd83c3d02d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c01a7fb5fdeb</guid>
            <dc:creator><![CDATA[Suyeon]]></dc:creator>
            <pubDate>Fri, 05 Aug 2022 08:41:22 GMT</pubDate>
            <atom:updated>2022-08-05T08:41:22.499Z</atom:updated>
            <content:encoded><![CDATA[<h3>BackEnd Tech Stack</h3><h4>using Flask</h4><figure><img alt="flask" src="https://cdn-images-1.medium.com/max/225/1*lqt9I-MaCTOHT7NlO6VoUg.png" /></figure><h3>why?</h3><h4>For team members</h4><ul><li>We chose a relatively light and fast framework<br>because team members were new to the backend.</li></ul><h4>Small project</h4><ul><li>Because the team project is small,<br>we chose a simple and light framework.</li></ul><h4>High autonomy</h4><ul><li>We can choose the tools and libraries<br>we want to use.</li></ul><h4>Getting started quick and easy</h4><ul><li>This is because we can create a web server with intuitive grammar using Flask, a powerful Python microframework.</li></ul><h4>flask-restx</h4><ul><li>There are three libraries for creating rest api in flask: flask-restful, flask-restplus, and flaskrestx</li><li>Flask-restx is continuously updating by forking flask-restplus</li><li>Flask-restx is used by forking flask-restpuls to facilitate swagger documentation</li><li>Flask-restful requires additional libraries to be supported</li><li>Because it was important for the front-end and back-end<br>to share API documents through swagger documentation,<br>we chose flask-restx, which was consistently updated<br>and included basic support for swagger documentation</li></ul><h4>REST API</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XH4GvyvxZLEOKwWOhob-Kg.png" /></figure><h4>flask-mongoengine</h4><ul><li>At first, we started development by applying pymongo. There are advantages of pymongo that are intuitive and fast</li><li>But, we decided to use PyMongo, which is much easier to collect and clarify, explicit and programmed refined data</li><li>In addition, since mongoengine uses pymongo by default, code is deployed in a simpler and more familiar manner than pymongo’s grammar</li></ul><p><a href="https://stackoverflow.com/questions/5712857/pymongo-vs-mongoengine-for-django">PyMongo vs MongoEngine for Django</a></p><h4>mongoDB</h4><ul><li>We chose the non-nosql MongoDB as the database because of its flexible schema and non-relational database</li></ul><h3>Trial and Error</h3><h4><strong>-</strong> <strong>There were a lot of modifications to the API </strong>because of the above</h4><ol><li>Separating files by function and introducing restx for using swagger</li><li>Introduction of Mongolian Engine</li><li>Changed the structure of db. Url modification to follow restapi</li></ol><h3>Visualize folder structure</h3><p>D:.<br>│ .gitignore<br>│ app.py<br>│ Dockerfile<br>│ README.md<br>│ requirements.txt<br>│ <br>├─bucket<br>│ │ m_config.py<br>│ │ m_connection.py<br>│ │ <br>├─db<br>│ │ db_config.py<br>│ │ db_connection.py<br>│ │ enum_classes.py<br>│ │ schema.py<br>│ │ <br>├─module<br>│ │ crud_module.py<br>│ │ db_module.py<br>│ │ file_module.py<br>│ │ module_config.py<br>│ │ token.py<br>│ │ user_module.py<br>│ │ <br>│ <br>├─apis<br>│ │ BlockCharacter.py<br>│ │ OriginVideo.py<br>│ │ ProccessedVideo.py<br>│ │ User.py<br>│ │ WhitelistFace.py<br>│ │<br>│ <br>├─static<br>│ │ status_code.py</p><h4>db</h4><ul><li>The db folder has a schema written and contains the code that connects to the db</li></ul><h4>module</h4><ul><li>Functions required for actual operation are implemented</li></ul><h4>apis</h4><ul><li>Returns the result value using the function in the module.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c01a7fb5fdeb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our month-long project, PRP (3) _AI]]></title>
            <link>https://medium.com/@syeon12270131/our-month-long-project-prp-3-ai-68e0c3cb9d14?source=rss-69fd83c3d02d------2</link>
            <guid isPermaLink="false">https://medium.com/p/68e0c3cb9d14</guid>
            <dc:creator><![CDATA[Suyeon]]></dc:creator>
            <pubDate>Fri, 05 Aug 2022 08:41:14 GMT</pubDate>
            <atom:updated>2022-08-05T13:18:21.428Z</atom:updated>
            <content:encoded><![CDATA[<h3>We’ve used OpenCV, Dlib, NumPy and Pillow for video processing.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/0*YxQ4zC2Crav7sh51.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*pmc3oVoE_66lnkz8.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/0*UTvCCRiBcMBcFLlU.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/199/0*XirCzR4c0l_68S3H.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*X1c4koaa_qnBe70z.png" /></figure><h3>In the process of AI, the process is following some steps below.</h3><ol><li>Getting video that will be processed and images of faces that will be excepted from being mosaic face, Video reading and writing can be archieved by OpenCV.</li><li>Extracting face landmarks from user’s image, encoding the image information into vector through NumPy.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/0*16xGFF7d_dw38ugw.png" /></figure><p>3. Detecting all the faces in video through Dlib.</p><p>4. Like the above process, AI extracts face landmarks. And AI decide whether the specific person is the right person to be excepted from being mosaic face.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*-Q6lOLGo-5DyTRlL.png" /></figure><ul><li>In this case, trained face was this.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*w0DkrOygy7_XJRE_.png" /></figure><ul><li>The user wants the result of mosaic processing for a particular person.</li><li>Dlib was used to learn the face image of a specific person.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/199/0*fggxTvWbtPzwA2nW.png" /></figure><ul><li>Train Deep Convolutional Neural Network for human faces to generate 68 measurements for each face and use them for identification.</li><li>Finally, use the linear SVM classifier to calculate and identify matching values for the person you have trained and for any person.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*4GR5cOgFDxQdxXFR.png" /></figure><h3>Site referenced</h3><ul><li><a href="https://ukayzm.github.io/python-face-recognition/">Python Face Recognition in Real Time - 파이썬 얼굴 인식</a></li><li><a href="https://medium.com/@jongdae.lim/%EA%B8%B0%EA%B3%84-%ED%95%99%EC%8A%B5-machine-learning-%EC%9D%80-%EC%A6%90%EA%B2%81%EB%8B%A4-part-4-63ed781eee3c">기계 학습(Machine Learning, 머신 러닝)은 즐겁다! Part 4</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*o8ZI9_FnGC8RUkRw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*3IecCa9k-IfDe7lV.png" /></figure><p>-</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68e0c3cb9d14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our month-long project, PRP (2)_FrontEnd]]></title>
            <link>https://medium.com/@syeon12270131/our-month-long-project-prp-2-frontend-ee76924bbb75?source=rss-69fd83c3d02d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee76924bbb75</guid>
            <dc:creator><![CDATA[Suyeon]]></dc:creator>
            <pubDate>Fri, 05 Aug 2022 08:40:42 GMT</pubDate>
            <atom:updated>2022-08-05T11:43:44.361Z</atom:updated>
            <content:encoded><![CDATA[<h3>FrontEnd Tech Stack</h3><h4>Using React</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/0*8uvDB-mLs6ljoXxg.png" /><figcaption>React Logo</figcaption></figure><blockquote><em>A JavaScript library for building user interfaces</em></blockquote><ol><li><strong>Fast Rendering Speed</strong></li></ol><p>Since the react using the Virtual DOM guarantees a fast rendering speed, it is possible to provide a quick service to the user.</p><p><strong>2. Component-Based</strong></p><p>Based on Component, each independent module that can be reused, redundant code can be minimized, and complex UIs can be effectively modified and reused.</p><p><strong>3. React Hooks</strong></p><p>Using the Hooks [State Hook, Effect Hook, etc.] library, when the state value changes, it is automatically detected and rendered, making it easy to manage the state and change the state.</p><p><strong>4. Extensive Documentation</strong></p><p>We can easily access and learn from React’s official document guide and many materials.</p><h4>Using TypeScript and JavaScript</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/0*9GP1INNzc1ndBek_.png" /><figcaption>TypeScript Logo</figcaption></figure><blockquote><em>TypeScript is JavaScript with syntax for types.</em></blockquote><ol><li>Easy to check errors.</li><li>Easy to check the type.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*YoYucRA3KNQvHB2b.png" /><figcaption>JavaScript Logo</figcaption></figure><blockquote><em>JavaScript (JS) is a lightweight, interpreter, or just-in-time compilation programming language</em></blockquote><p><a href="https://developer.mozilla.org/ko/docs/Web/JavaScript">JavaScript | MDN</a></p><ol><li>It is the most commonly used and basic language.</li></ol><h4>▶In the future, JavaScript code will be replaced by type script code.</h4><h4>Using Zustand</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/0*3ajTUkVz2CnpBZsh.jpeg" /><figcaption>Zustand Logo</figcaption></figure><blockquote><em>State management library in the emerging React environment</em></blockquote><ol><li>Avoid unnecessary rendering, a disadvantage of the Context API</li><li>Intuitive and lightweight, suitable for handling global variables in our project</li><li>Initial setup code is very concise</li></ol><h3>Trial and Error</h3><h4>Problem#1</h4><p>Session storage is insecurity in terms of security and performance.</p><h4>Solution#1</h4><p>So, We used Zustand, a global state management library to Increase management efficiency.</p><h4>Problem#2</h4><p>When the previous data processing is not completed, a problem affecting the next process occurred.</p><h4>Solution#2</h4><p>For all API receiving data from the user, it is rendered immediately when data is received through asynchronous processing without waiting for the result value, so that the user can perform the next process immediately without waiting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee76924bbb75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our month-long project, PRP (1)_Preparation]]></title>
            <link>https://medium.com/@syeon12270131/our-month-long-project-prp-1-preparation-ed0d364bc5fe?source=rss-69fd83c3d02d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed0d364bc5fe</guid>
            <dc:creator><![CDATA[Suyeon]]></dc:creator>
            <pubDate>Fri, 05 Aug 2022 08:32:22 GMT</pubDate>
            <atom:updated>2022-08-05T13:21:22.446Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is PRP?</h3><blockquote><em>It is the name of our project that expresses the protection of portrait rights infringement in abbreviations.</em></blockquote><p>PRP is a mosaic processing service to protect portrait rights of people exposed to images.</p><h3>Service Selection Background</h3><p>As the number of individual creators increases, the need to protect the portrait rights of others in their video during the video editing process has increased.</p><p>It is very cumbersome and difficult to mosaic the faces of all characters in each video.</p><p>To reduce this inconvenience, we implemented a service that helps individual creators edit video more easily.</p><h3>Functions of PRP Services</h3><ol><li>You can save and view mosaic-processed video for the rest of the characters except for certain people in the original video.</li><li>Users can view videos processed with their chosen character</li><li>Users can easily retrieve uploaded photos and characters information systematically and reuse them.</li></ol><h3>Service Flow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/0*YppaYHDkPo2kLFsp.png" /><figcaption>main service flow</figcaption></figure><h3>React Page 1_Whitelist Faces</h3><p>Select the people you want to exclude from the mosaic and upload face images of the selected people.</p><h3>React Page 2_Video Upload</h3><p>Upload the video to be blurred.</p><h3>React Page 3_Choose Effect</h3><p>Select effects that are processed in the video.</p><h3>React Page 4_Final Information Check</h3><p>Check the information selected in the previous step.</p><h3>Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*lYOUo3KQZ6mzvLvo.png" /><figcaption>Architecture</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed0d364bc5fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>