In the following sentence, should I use who or whom? It is highlighted in bold.
For instance, Figure 1.1 depicts an operating smart surveillance system, detecting pedestrians whom are crossing dangerous regions, cars in parking lots, and ships.
I think it should be whom because the "operating smart surveillance system" is the subject, while "pedestrians" are the object. But, my professor corrected it to who and now I'm not sure.