Posts by Pedro Duca • 302 points
9 posts
-
0
votes1
answer46
viewsQ: Error returning a JS function
I’m trying to store an image with JS and is giving an error in return. Error message: VM85:8 Uncaught Syntaxerror: Illegal Return statement I’m doing it for Selenium with C, follow my code:…
-
0
votes2
answers629
viewsA: How to capture CMC7 code with the Tesseract API?
I recommend you before sending to the Tesseract perform the image reading do an image processing, there are some tools you may be using that even on own Wiki of the Tesseract recommends being used…
-
0
votes1
answer101
viewsA: Tesseract.js error Langpath location
Based on that Issue and a little I know of this tool: 1- In your project you are already creating the file Eng.traineddata, so every time you have your code executed it automatically identifies…
tesseractanswered Pedro Duca 302 -
2
votes1
answer196
viewsA: Windows shortcut in conflict with Eclipse
it seems that the Windows operating system shortcuts are in conflict with the Eclipse shortcut keys. There really is a conflict in taking this shortcut. I use Eclipse and I have some colleagues who…
-
0
votes1
answer646
viewsA: Disable infobar from Chrome when running automated testing
To maximize the screen and remove the infobar you should then add the driver receiving the Chromedriver ChromeOptions options = new ChromeOptions(); options.addArgument("--start-maximized");…
-
1
votes3
answers591
viewsA: Access to the path 'path' is denied. VS2017
Try specifying the file extension For example: string caminho2 ="E:\\temporario.png";
-
11
votes3
answers1899
viewsQ: Repetition of if/Else how to reduce and improve code?
I’m starting my programming and a question has arisen during my conditions. I do a check of how many times the result was true, and how many times it was false. Problem is you’re not giving me the…
c#asked Pedro Duca 302 -
0
votes1
answer35
viewsQ: Cut an image and display the two parts that have been cut
I’m starting in the programming and I came up with a question. I’m trying to cut an image in half and show in two picture box the two cuts. I’m making the cut like this. private void…
c#asked Pedro Duca 302 -
0
votes1
answer77
viewsQ: Get a file name and display on a label
I am doing a project and need that when opening an (image) it will take the name of this image, save in a variable and show in one of the excel line. Note: This will be repeated, there will be…
c#asked Pedro Duca 302