Showing posts with label secrets. Show all posts
Showing posts with label secrets. Show all posts

Wednesday, 10 July 2013

Secrets of the paperless office: optimizing OCR

Since I started using a document scanner about seven years ago, I’ve scanned many thousands of pages and used OCR (optical character recognition) software to convert those scans into searchable PDFs. I’ve also written extensively about the paperless office. But when you try to reduce the amount of paper you use, you inevitably increase the amount of hard-drive space you use. I began to wonder what combinations of scanner settings and software would get the best quality scan results while using the least hard-disk space.

What sparked my investigation was a claim that some OCR apps increase the file sizes of scanned images dramatically, whereas others (Acrobat Pro in particular) shrink them. When you plan to store and read scanned documents on an iOS device, compactness is especially important. Unfortunately, Adobe’s $499 Acrobat Pro XI can no longer be driven externally by AppleScript, which means it requires tedious manual clicking to perform OCR. Were other OCR apps really inflating file sizes, and was there any way around this problem without resorting to Acrobat?

Hundreds of experiments later, I came up with some surprising results. Read on for all the details or skip to the “So, where’s the sweet spot?” section for the bottom line.

When you initially save a scanned document as a PDF file, you get nothing more than a bitmapped image in a PDF wrapper. Your scanner’s software most likely has settings to determine the resolution of the scans in dpi (dots per inch), the color mode (black and white, grayscale, or color), and the amount of compression applied to the scanned image. All those settings affect not only the appearance of the scan but also the quality of information the OCR engine has to work with. Once OCR software recognizes the text in a PDF, it saves that text in an invisible layer along with the image so you can see what the document originally looked like, but can also search, select, and copy its text.


Besides recognizing the text, OCR software may downsample the image (decrease its resolution, so that it takes up less space) or change the compression used. Sometimes these features are user-configurable; in other cases, they’re hardwired. Acrobat Pro has yet another option—a feature called ClearScan that replaces all the bitmapped text with a custom font (which takes up much less space), and then swaps out the original image for one with a much lower resolution. ClearScan nearly always results in the smallest possible PDF, but it may not be the best choice if you want to be sure your scanned image looks exactly like the original, even when printed. In addition, using ClearScan means settling for Acrobat’s OCR engine, about which I’ll say more in a moment.

Friday, 28 June 2013

U.S. says Chinese wind turbine firm stole trade secrets

china wind 2

A wind farm operating in China.

The Chinese company -- Sinovel -- is one of the country's largest producers of wind turbines. It is accused of encouraging an employee of U.S.-based AMSC (AMSC) to steal copyrighted source code from a computer in Wisconsin for use in its turbines.

Sinovel then used the technology in four turbines that were sold to customers in Massachusetts and installed not far from AMSC's headquarters.

"The fact that Sinovel has exported stolen American intellectual property from China back into the United States -- less than 40 miles from our global headquarters -- shows not only a blatant disrespect for intellectual property but a disregard for international trade law," AMSC CEO Daniel McGahn said in a statement.

Sinovel did not immediately respond to requests for comment.

PM3000, the software in question, helps regulate the flow of electricity from turbines to electrical grids. The theft resulted in a loss of $800 million for AMSC, according to the indictment handed up by a federal grand jury in Wisconsin.

Some 500 AMSC employees have lost their jobs following Sinovel's "egregious and unlawful behavior," McGahn said.

Related: EU-China trade spat widens

"The allegations in this indictment describe a well-planned attack on an American business by international defendants -- nothing short of attempted corporate homicide," U.S. Attorney John Vaudreuil said in a statement.

A conviction could carry penalties approaching $5 billion for Sinovel, as well as lengthy prison sentences for the accused individuals.

The U.S. has recently adopted a new strategy for combating what officials see as a persistent threat to the American military and economy: It has started naming China -- and its armed forces -- as the source of actions that pilfer military, trade and industry secrets.

The change in tactics follows years of virtual silence from American officials on the issue. The government's claims have been bolstered by a growing number of security firms and companies who say they have fallen victim to intellectual property theft attacks emanating from China.

President Obama raised the issue earlier this month during a summit with Chinese President Xi Jinping, but the meeting did not produce a publicly-announced breakthrough.

"It's quite obvious now that the Chinese senior leadership understand clearly the importance of this issue to the United States," White House National Security Adviser Tom Donilon said after the summit.

Follow me on Twitter @sajilpl