How in the fuck does anyone use github when documentation is incomplete, inaccurate and/or misleading. Even popular, sophisticated githubs have documentation that is not good enough to get going. I'm using CHatGPT to read the pages and it's even saying they're incomplete/inaccurate.
(AskGoats)I was just going over the tesseract github page here
https://github.com/UB-Mannheim/tesseract/wiki and even chatgpt is saying it's not complete (which is what I thought). and i'm getting errors immediately after installing the program and its dependency in my java project....
stackoverflow is full of useless questions AND answers, as usual. that site, too, should be completely deleted, as they appear to have some SEO deal with search engines to block competitors and they block many questions from being posted or commented on by locking or deleting questions from comments.
and i found some instructions online
https://www.baeldung.com/java-ocr-tesseract but the instructions generate stupid errors that do not appear to be accurately describing whatever is wrong, because it's using a local directory but telling me to define an environment variable. and by the way, when i tried using one of the garbage ass stackoverflow pages, someone said to go to powershell and type "tesseract --version" to find the location of tesseract............ how in the fuck would that work when i have to set up the goddamn env variable before powershell knows where to look to run anything to do with the program in the first fucking place? how in the fuck does this trash exist on stack faggotass overflow? i have NEVER seen a program configure the env variable for me, which is another retarded issue in and of itself - they should always do that especially if it has to do with writing code.... is there a reason companies are being retarded and not rolling this into their configuration?
also, what in the fuck is this "directory" in the code?
tesseract.setDatapath("src/main/resources/tessdata");
"resources" opens some goofy ass window and i don't see anywhere "tessdata" would be in there, but tessdata is in the directory that the tesseract program was installed in...... what is this code even trying to do?
It's also looking for an image in a directory that doesn't exist
File image = new File("src/main/resources/images/multiLanguageText.png");
and if i assign it a different path with my image it just generates a different error talking about how it's calling out to the internet; somewhere on sourceforge. i don't really want these programs connecting to the internet, but that's a whole other can of worms.
how in the fuck do i encounter this dumb shit following the official instructions? ChatGPT is coming to the same conclusions I did where information is missing. and by the way, chatGPT is turning up answers i can't find after 90 minutes of searching............ programmers were never good.