|A method for integrating processing-in-sensor and in-memory computing includes the following steps. A providing step is performed for driving the processing-in-sensor to provide a first command signal and a plurality of initial data and transmit them to the in-memory computing. A converting step is performed for driving the first command signal and the initial data to convert to a second command signal and a plurality of input data through a synchronization module. The capturing step is performed for driving a frame difference module to receive the input data to get a plurality of difference. The slicing step is performed for driving a bit-slicing module to receive the difference and slice each of the difference into a plurality of bit slices. The controlling step is performed for driving an encoding module to receive a differing address and encode the differing address into a control signal, and the in-memory computing accesses each of the bit slices according to the control signal. Therefore, it is favorable for reducing energy consumption and time of operation.