Patent Document ID: 9182952
Application ID: 14034181

Base Claim:
1. A method comprising: capturing an image of a scene that includes a portion of a diagram representing functional blocks, wherein the functional blocks include at least a first functional block associated with a first computer operation; applying functional block recognition rules to image data of the image to recognize the functional blocks; determining whether the functional blocks comply with functional block syntax rules, wherein the functional block syntax rules indicate a hierarchy of operations associated with the functional blocks; and computer-generating a functional graph corresponding to the diagram based on the functional blocks complying with the functional block syntax rules, wherein the functional graph includes a graphical representation of the functional blocks.

---

Claim 10:
10. The method of claim 1 , further comprising generating program code based on the functional graph, wherein the functional blocks correspond to functions that are called during execution of the program code, and wherein the program code is generated further based on an availability of hardware resources including one or more central processing units (CPUs), one or more graphics processing units (GPUs), one or more digital signal processors (DSPs), one or more field-programmable gate arrays (FPGAs), one or more application-specific integrated circuits (ASICs), one or more physical memory devices, one or more interconnections, or a combination thereof.