Giter Club home page Giter Club logo

makehardsub's People

Contributors

wyb330 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

makehardsub's Issues

자막 인식률이 낮습니다, 어떻게 하면 될까요?

먼저 좋은 도구 만들어 주셔서 감사드립니다.
한번 사용해보니 궁금한 점이 있어서 문의 드립니다.

  • 타임 코드 추출 단계는 시간이 얼마나 걸리는게 일반적인가요?
    H.264 8비트 포맷, 비트레이트 4,800 Kbps 1920x800 해상도, 30 프레임 프로그레시브 인코딩 속성의 1시간 30분 길이 영상 파일을 진행해보니 5시간 가까이 걸립니다.

  • 생성된 타임코드 srt 파일로 자막 인식을 진행하면 어쩌다 한번 문장이 제대로 인식됩니다.
    한글 인식률이 체감상 10%도 안 되는거 같습니다.
    이 영상 파일 화질이 아주 좋은 품질은 아니지만 볼만한 정도의 화질로 화면에 표시되는 한글 자막도 읽기에 전혀 불편함이 없이 깨끗합니다.
    예를 들어 이 장면
    정지 영상
    의 자막 인식 내용은

는 2스646(0988 ,。.~`. 디30610. 00

로 나옵니다.

Tesseract 버전은 4.0.0.20181030, 한글 trainee data 파일은 Best 목록에 있는 한글 파일을 사용했습니다.
인식률 개선을 하려면 어떻게 하면 될까요?
사용하신 환경에서는 어떤 조합으로 사용하시는지 공유해주시는 것도 도움이 될거 같습니다.

그리고 처음 설치시, 정확히 명칭이 기억나진 않지만 metalib, sijit 라는 두 개의 모듈도 tesseract 콘솔창에서 pip install 명령으로 설치를 해야만 했습니다.
실행 중 이 두 가지 모듈이 없어서 에러가 났었으며, 설치 설명문에 추가가 필요해 보입니다.

imgmerge 실행시 에러

VideoSubFinder로 타임 코드 추출 이미지들을 합치기 위해 만드신 imgmerge.py를 실행하면 다음과 같은 에러가 나오고 종료됩니다.
어디를 수정하면 되는지 답변 부탁합니다.

Traceback (most recent call last):
File "imgmerge.py", line 159, in
main(args.i, args.o, args.r, args.b, args.s)
File "imgmerge.py", line 103, in main
width, height, top = detect_sub_area(cv2.imread(files[0]))
File "imgmerge.py", line 72, in detect_sub_area
(H, W) = image.shape[:2]
AttributeError: 'NoneType' object has no attribute 'shape'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.