Package for building service based on speech recognition/synthesis , Object detection , OCR
Project description
SeeSun package tree
- __init.py__
- model_config
- model.cfg (모델 구조 파일)
- model.weights (모델 가중치 파일)
- Detector.py
- seesunObjectDetector (class , object)
- detect (method) : return type =
string
- detect (method) : return type =
- seesunTextDetector (class , object)
- recognize(method) : return type =
string
- recognize(method) : return type =
- seesunObjectDetector (class , object)
- Speech.py
- seesunSpeech (class , object)
- tts (method) : return type =
None
(audio played immediately) - stt (method) : return type =
string
- tts (method) : return type =
- seesunSpeech (class , object)
Usage
for object detection
from SeeSun.Detect import seesunObjectDetector
import cv2
detector = seesunObjectDetector()
my_img = cv2.imread('path/to/image/file')
detector.detect(my_img)
OUT : '현재 앞에는 XX는 3개 , OO은 6대 있습니다.'
for text detection
from SeeSun.Detect import seesunTextDetector
import cv2
detector = seesunTextDetector()
my_img = cv2.imread('path/to/image/file')
detector.recognize(my_img)
OUT : '코로나 3차 대유행으로 인한 지하철 운행시간 조정 안내 ... '
for speech recognition,synthesis
from SeeSun.Speech import seesunSpeech
speech = seesunSpeech()
speech.tts('input_string')
speech.stt('path/to/audio_file')
OUT : None
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SeeSun-0.0.1.tar.gz
(4.9 kB
view hashes)
Built Distribution
SeeSun-0.0.1-py3-none-any.whl
(6.0 kB
view hashes)