A discrete predictor-based control method is developed for a class of linear time-invariant networked control systems with a sensor-to-controller time-varying delay and a controller-to-actuator uncertain constant delay, which can be potentially applied to vision-based control systems. The control scheme is composed of a state prediction and a discrete predictorbased controller. The state prediction is used to compensate for the effect of the sensor-to-controller delay, and the system can be stabilized by the discrete predictor-based controller. Moreover, it is shown that the control scheme is also robust with respect to slight message rejections. Finally, the main theoretical results are illustrated by simulation results and experimental results based on a networked visual servo inverted pendulum system. Index Terms-Networked control system, vision-based control, time-varying delay, inverted pendulum system, discrete predictorbased control. I. INTRODUCTION A. Motivations V ISION-BASED sensors are widely used in various control applications (e.g. self-driving cars [1], [2], robots [3], UAVs [4], and inverted pendulums [5]-[7]) due to their low cost (compared with LIDAR [2, pp.176]) and the rapid progress of image-processing-based sensing techniques (e.g. indoor navigation [8], collision avoidance [9]). In such a Manuscript