The application discloses a kind of green pass fast detection method and
system based on X-
ray imaging technology, belong to
image processing technical field, obtain the X-
ray imaging slice image of current vehicle in a period of time, and all slice images are spliced, obtain X-
ray imaging original image;The X-ray imaging original image is vertically flipped, and the positive X-ray imaging original image is obtained;By
image processing algorithm, the left and right black edges of the positive X-ray imaging original image are
cut, and the vehicle original image is obtained;The upper blank area of the vehicle original image is
cut, and the right white edge is
cut by
image processing algorithm, and the target vehicle image is obtained;Image stretching is carried out to the target vehicle image, and all pixel points in the stretched target vehicle image are clustered by clustering method, and the pixel points in different classes are mapped to different colors, and the pseudo-
color image of vehicle is obtained.The high-speed
traffic efficiency is improved, and the accuracy of green pass
vehicle inspection is improved.