Cognex's GAAP net income for 6 months of 2021 was $147.446 million, up 7.6 times from $19.335 million in the previous year. Revenue increased 51.1% to $508.185 million from $336.332 million a year earlier.