A system comprising an apparatus (100; 200; 300) for inline urine analysis, the apparatus comprising: a. at least one image capture unit (120; 201; 301) comprising an image sensor (208; 308) and an optical assembly (204; 304) and b. a control unit (125; 225) operatively connected to all other components of the apparatus (100; 200; 300) by means of a wired or wireless communication channel, the control unit (125; 225) configured to function as an input device that allows manual control, relay of control instructions from peripheral devices or programming of software and processing means in the control unit (125; 225) for automatic control of the image capture unit (120; 201; 301) and any other components of the apparatus (100; 200; 300) and also to function as an output device configured to transfer data related to the images gathered by the image capture unit (120; 201; 301) data via wired or non-wired communication channel to peripheral devices; wherein, the apparatus (100; 200; 300) is configured to be attached by clamps or a connector to an indwelling urinary catheter that is adapted to be inserted into a patient's bladder or attached by clamps or a connector to the conduit or tubing that leads from the catheter to a urine collection container or disposal system; and the system being characterized in that: the optical assembly (204; 304) focusses light reflected from or transmitted through a continuous urine stream from the patient to the urine collection container or disposal system across a field of view of the at least one image capture unit (120; 201; 301) onto the image sensor (208; 308); and the image sensor (208; 308) is configured to continuously capture two-dimensional images of the continuous urine stream in the indwelling urinary catheter or conduit or tubing. a. at least one image capture unit (120; 201; 301) comprising an image sensor (208; 308) and an optical assembly (204; 304) and b. a control unit (125; 225) operatively connected to all other components of the apparatus (100; 200; 300) by means of a wired or wireless communication channel, the control unit (125; 225) configured to function as an input device that allows manual control, relay of control instructions from peripheral devices or programming of software and processing means in the control unit (125; 225) for automatic control of the image capture unit (120; 201; 301) and any other components of the apparatus (100; 200; 300) and also to function as an output device configured to transfer data related to the images gathered by the image capture unit (120; 201; 301) data via wired or non-wired communication channel to peripheral devices; wherein, the apparatus (100; 200; 300) is configured to be attached by clamps or a connector to an indwelling urinary catheter that is adapted to be inserted into a patient's bladder or attached by clamps or a connector to the conduit or tubing that leads from the catheter to a urine collection container or disposal system; and the system being characterized in that: the optical assembly (204; 304) focusses light reflected from or transmitted through a continuous urine stream from the patient to the urine collection container or disposal system across a field of view of the at least one image capture unit (120; 201; 301) onto the image sensor (208; 308); and the image sensor (208; 308) is configured to continuously capture two-dimensional images of the continuous urine stream in the indwelling urinary catheter or conduit or tubing. the optical assembly (204; 304) focusses light reflected from or transmitted through a continuous urine stream from the patient to the urine collection container or disposal system across a field of view of the at least one image capture unit (120; 201; 301) onto the image sensor (208; 308); and the image sensor (208; 308) is configured to continuously capture two-dimensional images of the continuous urine stream in the indwelling urinary catheter or conduit or tubing.