User:Qfissler: Difference between revisions

Jump to navigation Jump to search
1,458 bytes removed ,  5 August 2023
m
no edit summary
m (Table generator!)
mNo edit summary
Line 48: Line 48:


[https://www.tablesgenerator.com/mediawiki_tables Visual table Generator!]
[https://www.tablesgenerator.com/mediawiki_tables Visual table Generator!]
==Parts==
I've got a few notes re parts refs and BOMs for various scopes - I want to collate and present them here eventually.
I found a couple of useful sources and need to be able to find them when I want them... This wiki is perfect for that.
===Screws===
In the UK, UNF and UNC threads are relatively rare and expensive with metric being the norm.
[https://uk.rs-online.com/web/c/?pn=1&searchTerm=8-32+screw&rpp=20&selectedNavigation=attributes.Thread_Size=8-32%20(11%2F32X1%2F8)in||8%2F32||8%2F32in;attributes.Length=1in||1%201%2F4in;attributes.level3=Socket%20Screws|Screws for 2465 and 465 feet]
===Capacitors===
===Semiconductors===


==Wiki style hints==
==Wiki style hints==
Line 67: Line 80:
Grab the refs I want and paste them into a text editor, then turn new lines into comma space...
Grab the refs I want and paste them into a text editor, then turn new lines into comma space...


I'll come back to this - I intend to simplify extraction of parts lists and other info (eg Manual change appendices) from the manuals so we can have useful cross reference and more.


===OCR===
===OCR===
Line 74: Line 88:


`ocrmypdf` seems to work very well - the recognised text lines up with the image text - best results so far.
`ocrmypdf` seems to work very well - the recognised text lines up with the image text - best results so far.
Will also try `pdfsandwich`


Can extract pages from a pdf
Can extract pages from a pdf
  pdfimages --all infile.pdf infile    # the last argument there is the prefix for the output file names
  pdfimages --all infile.pdf infile-extracted   # the last argument there is the prefix for the output file names


Remove any duff pages, rotate any pages which are better rotated, then img2pdf and ocrmypdf and then rebuild the pdf  
Remove any duff pages, rotate any pages which are better rotated, then img2pdf and ocrmypdf and then rebuild the pdf  


Create PDF for images
$ img2pdf *.jpeg  --output T940-letter-June-1983.pdf


~/Electronics/Scopes/TekTronix/2215/Letter$ ls -l
Running OCR
total 888
  $ ocrmypdf T940-letter-June-1983.pdf T940-letter-June-1983-OCR.pdf  
-rw-rw-r-- 1 qfissler qfissler 228209 Apr 29 16:16 Cover.jpeg
-rw-rw-r-- 1 qfissler qfissler 202448 Apr 29 16:17 P1.jpeg
  -rw-rw-r-- 1 qfissler qfissler 204825 Apr 29 16:17 P2.jpeg
-rw-rw-r-- 1 qfissler qfissler 114941 Apr 29 16:17 P3.jpeg
-rw-rw-r-- 1 qfissler qfissler 135700 Apr 29 16:17 P4.jpeg
 
~/Downloads/Electronics/Scopes/TekTronix/2215/Letter$ img2pdf *.jpeg  --output T940-letter-June-1983.pdf
 
~/Downloads/Electronics/Scopes/TekTronix/2215/Letter$ ls -l
total 1760
-rw-rw-r-- 1 qfissler qfissler 228209 Apr 29 16:16 Cover.jpeg
-rw-rw-r-- 1 qfissler qfissler 202448 Apr 29 16:17 P1.jpeg
-rw-rw-r-- 1 qfissler qfissler 204825 Apr 29 16:17 P2.jpeg
-rw-rw-r-- 1 qfissler qfissler 114941 Apr 29 16:17 P3.jpeg
-rw-rw-r-- 1 qfissler qfissler 135700 Apr 29 16:17 P4.jpeg
-rw-rw-r-- 1 qfissler qfissler 889550 Apr 30 23:25 T940-letter-June-1983.pdf
 
~/Downloads/Electronics/Scopes/TekTronix/2215/Letter$ ocrmypdf T940-letter-June-1983.pdf T940-letter-June- 1983-OCR.pdf  
Scanning contents: 100%|██████████████████████████████████████████████████████████████████████| 5/5 [00:00<00:00, 234.99page/s]
Start processing 5 pages concurrently
OCR: 100%|█████████████████████████████████████████████████████████████████████████████████| 5.0/5.0 [00:05<00:00,  1.01s/page]
Postprocessing...
PDF/A conversion: 100%|████████████████████████████████████████████████████████████████████████| 5/5 [00:01<00:00,  4.98page/s]
Recompressing JPEGs: 0image [00:00, ?image/s]
Deflating JPEGs: 100%|███████████████████████████████████████████████████████████████████████| 5/5 [00:00<00:00, 326.60image/s]
JBIG2: 0item [00:00, ?item/s]
Optimize ratio: 1.02 savings: 1.8%
Output file is a PDF/A-2B (as expected)
~/Downloads/Electronics/Scopes/TekTronix/2215/Letter$
   
   
=Manuals=
=Manuals=
877

edits

Navigation menu