1. A method for inspecting cargo and vehicles, comprising: scanning a cargo container or vehicle at a service post using an X-ray system; importing manifest data into a server, wherein the manifest data is associated with the cargo or vehicle being scanned and associated with a cargo code; generating a scan image of the cargo; associating the manifest data and cargo code with the scan image; using a routing application, routing an analysis of the scan image to a server, wherein said routing is based on metadata that is indicative of inspection queue lengths, workload, and contention time; using said server, computing a first plurality of features from the scan image; using said server and based on the cargo code, extracting a second plurality of features stored in a database; and comparing said first plurality of features from the scan image to the second plurality of features stored in the database to determine if contents of the cargo or vehicle correspond to a same cargo type as specified in the manifest data.