mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-14 21:23:42 +00:00
[BUG][QUESTION] does '-nofc' option (no font color) work #404
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tsmarinov on GitHub (Mar 6, 2018).
Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].
CCExtractor version (using the --version parameter preferably) : X.X
In raising this issue, I confirm the following (please check boxes, eg [X] - and delete unchecked ones):
My familiarity with the project is as follows (check one, eg [X] - and delete unchecked ones):
Necessary information
-autoprogram./ccextractor -nofc -in=ts -nobom -trim -noteletext -codec dvbsub -dvblang bul -ocrlang bul animalplanet.ts
**Video links (replace text below with your links) **
https://goo.gl/iMq9QQ
Please make the affected input file available for us (no screenshots, those don't help!). Public links to Dropbox, Google Drive, etc, are all fine. If it is not possible to make it available publicly, send us a private invitation (both Dropbox and Google Drive allow that). In this case we will download the file and upload it to the private developer repository.
Do not upload your file to any location that will require us to sign up or endure a wait list, slow downloads, etc. If your upload expires make sure you keep it active somehow (replace links if needed). Keep in mind that while we go over all tickets some may take a few days, and it's important we have the file available when we actually need it.
Additional information
{issue content here, replace this line with your issue content}
PS: Make sure you set an alert in GitHub so you get notifications about your ticket. We may need to ask questions and we do everything inside GitHub's system.
There is no change in result if i use '-nofc' option with srt output. Font color tags are always presents
Using latest commit
f46e3dc@thealphadollar commented on GitHub (Mar 6, 2018):
I could reproduce the error after installing tesseract "bul" language pack.
The error was caused since there was no check for "nofontcolor" parameter (stored in tlt_config) in the color detection function present in the OCR mode (ocr.c)
587f0b8609/src/lib_ccx/ocr.c (L290)File: /src/lib_ccx/ocr.c
Adding a check for the parameter would solve the issue.