관리 메뉴

hyeals study

얼굴인식 및 영상인식 관련(Android, ML kit, OpenCV...) 본문

머신러닝

얼굴인식 및 영상인식 관련(Android, ML kit, OpenCV...)

hyeals 2021. 1. 8. 15:56

1. 얼굴 외곽선 눈코입 인식 face geometry 소스

 

1)https://www.pyimagesearch.com/2017/04/17/real-time-facial-landmark-detection-opencv-python-dlib/

 

Real-time facial landmark detection with OpenCV, Python, and dlib - PyImageSearch

In this tutorial, I demonstrate how to detect facial landmarks in video streams in real-time using OpenCV, Python, and dlib.

www.pyimagesearch.com

- python, OpenCV, dlib을 이용해서 얼굴 랜드 마크를 감지

- javakotlin을 사용하는 것이 아니라 적절해 보이지 않음.

 

 

2 )https://firebase.google.com/docs/ml-kit/android/detect-faces?hl=ko#kotlin+ktx_10

 

Android에서 ML Kit를 사용하여 얼굴 인식  |  Firebase

This page describes an old version of the Face Detection API, which was part of ML Kit for Firebase. Development of this API has been moved to the standalone ML Kit SDK, which you can use with or without Firebase. Learn more. See Android에서 ML Kit를

firebase.google.com

- AndroidML Kit 라이브러리를 사용해서 이미지 및 동영상에 있는 얼굴 외곽선 인식 가능(앱을 설치한 후에 기기에 ML모델을 자동으로 다운로드하도록 구성하는 것이 좋음)

- firebase, java or kotlin+ktx

- 예제가 잘 나와있어서 구현하기에 큰 어려움이 없어 보임.

 

* ML Kit: 구글의 기기 내 머신 러닝 기술을 Android iOS앱에 제공하는 모바일 SDK.

 

 

3)https://medium.com/devnibbles/facial-recognition-with-android-1-4-5e043c264edc

 

Facial Recognition with Android (1/4)

In this series of articles I’m going to cover how you can add facial recognition (not just facial detection) to your Android app.

medium.com

- 두 번째 링크를 참고해서 직접 구현한 코드 有

- 참고하기에 좋아 보임

 

 

4) https://machine-woong.tistory.com/115

 

(스크랩 ) OpenCV와 NDK를 사용하여 Android에서 Face Detection(얼굴 인식)

OpenCV 배포시 포함되어 있는 얼굴 인식 C++코드를 NDK를 이용하여 Android에서 동작하도록 수정하였습니다. 안드로이드 +  NDK 카메라 기본코드에 단순히 C++코드만 옮겨오면 되는 줄 알았는데 고려해

machine-woong.tistory.com

- Android NDK + OpenCV로 얼굴 + 눈 인식 코드

 

 

5) https://www.programmersought.com/article/6974348683/

 

Facial Landmark Detection with OpenCV - Programmer Sought

Summary: Using Facial Landmark Detection with OpenCV Author: Amusi Date: 2018-03-20 Note: OpenCV3.4 and support for Facemark Reprinted:https://github.com/amusi/opencv-facial-landmark-detection Directory Structure: introduction Facemark API Facemark tra

www.programmersought.com

- OpenCv

 

 

6) https://github.com/justadudewhohacks/face-api.js/

 

justadudewhohacks/face-api.js

JavaScript API for face detection and face recognition in the browser and nodejs with tensorflow.js - justadudewhohacks/face-api.js

github.com

- 자바스크립트 얼굴인식 API

 

 

참고 자료

 

MLkit라이브러리 + Vision API + CameraX를 이용해서 만든 앱 (얼굴 외곽선 가져오기)

https://medium.com/hongbeomi-dev/mlkit-%EB%9D%BC%EC%9D%B4%EB%B8%8C%EB%9F%AC%EB%A6%AC%EC%99%80-camerax%EB%A5%BC-%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC-vision-%EC%95%B1-%EB%A7%8C%EB%93%A4%EA%B8%B0-ad657e2e81e1

 

MLkit 라이브러리와 CameraX를 사용하여 Vision 앱 만들기

구글의 mlkit 라이브러리와 cameraX를 사용하여 간단하게 vision 구현하기

medium.com

 

ML Kit 라이브러리 가이드

https://developers.google.com/ml-kit/vision/face-detection/android

 

Detect faces with ML Kit on Android  |  Google Developers

You can use ML Kit to detect faces in images and video. See the ML Kit quickstart sample on GitHub for an example of this API in use. There are two ways to integrate face detection: a bundled model which is part of your app and an unbundled model that depe

developers.google.com


2.     화장품 인식(사물인식, 영상처리/OCR)

1) 선행 어플

 

▷ 네이버 스마트렌즈

- 딥러닝 기반의 이미지 분석기술

- 문서, 검색 쿼리, 이미지 DB등에 SCOPIC 기술 접목

* SCOPIC기술: 딥러닝 기반의 이미지 분석 기술로, 이미지 자체의 정보와 주변 텍스트 정보를 함께 사용.

 

 

쓱 렌즈(SSG.COMor 신세계몰 앱에서 사용 가능)

- OCR 기술을 이용한 사진에 있는 글자 인식 기능

- 추천하는 상품종류가 없을 경우 다른 상품종류로 대체해서 검색(정확도가 낮음)

 

 

2) 참고 정보

 

1.https://brunch.co.kr/@kakao-it/260 : CNN 이미지 검색(카카오 꽃 검색)

 

꽃이름이 궁금해? 다음 앱 AI에 물어봐!

[카카오AI리포트] 변민우, 홍은빈 | 때늦은 꽃샘추위가 지나가고 완연한 봄이 도래한 듯 전국 곳곳에서 설레는 봄꽃 축제 소식이 들려왔다. 길을 걷다 주위를 둘러보면 민들레, 철쭉 등 익숙한 꽃

brunch.co.kr

 

2.http://koreascience.or.kr/article/JAKO201718836883408.page : OCR기반 메뉴인식 앱 관련 논문

 

Development an Android based OCR Application for Hangul Food Menu -Journal of the Korea Institute of Information and Communi

Abstract In this paper, we design and implement an Android-based Hangul food menu recognition application that recognizes characters from images captured by a smart phone. Optical Character Recognition (OCR) technology is divided into preprocessing, recogn

koreascience.or.kr

MSER기법을 이용해서 글자 추출 OCR무료 엔진인 Tesseract-OCR을 이용해서 글자 인식 음식메뉴에 대한 사전 DB를 이용해서 잘못된 결과 수정

 

 

3. https://junyoung-jamong.github.io/computer/vision/2019/02/07/Android-Tesseract-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0.html

 

Android에서 Tesseract 사용하기 for OCR

Python에서 Tesseract 사용하기 for OCR에서는 Python 환경에서 Tesseract 사용 방법을 알아 봤다. 이번에는 모바일 환경에서 카메라를 이용해 이미지를 촬영하고, 해당 이미지에 대해 동시에 OCR을 수행하

junyoung-jamong.github.io

: Android에서 Tesseract 사용하기. 문자 검출 예시 코드有

 

 

- OCR기술 요약(https://www.2e.co.kr/news/articleView.html?idxno=203023)

 

사진 속 문자를 읽는 기술 - OCR과 오픈소스 - 투이컨설팅

파이썬(Python) 기반 오픈소스 OCR 모델을 만드는 것을 두 편으로 나누어서 설명한다. 첫 편에서 OCR의 개념 및 기업에서의 효용, 그리고 대표적인 OCR 오픈소스를 소개한다. 다음 편에서는 컴퓨터가

www.2e.co.kr

: OpenCV라는 오픈소스가 OCR에서 이미지 전처리와 텍스트 위치 검출에 사용가능(C, JAVA, python제공)

: Tesseract라는 오픈소스가 글자인식 부분에서 가장 전통적(딥러닝 학습 기능이 내장되어 있음)

: google cloud vision, Microsoft Computer Vision이라는 오픈 API도 높은 정확도를 보임

 

 

Comments