Choosing between M12/S-mount and C-mount/CS-mount usually comes down to size and sensor format. M12 wins for embedded and IoT designs due to its minimal weight (roughly 5–15g vs. tens to hundreds of grams for C-mount), compact size, and low cost — a full module-plus-lens can weigh less than a C-mount lens alone