The detector system of present subject matter, it include at least two sensor modules for detecting magnet in tissue, wherein each sensor module is had one, two or three anisotropic magnetoresistive sensor, the weak magnetization of its axis is pointed in different directions in pairs, each sensor module 0.5 50 centimetres of spacing is from sensor module or other sensor modules, at least two sensor assemblies are that 0 to 45 ° of angle tilt is movable relative to each other, another method, it is generated for detecting magnetic flux, by magnet in tissue, and detector system is used, it is according to the present invention to swallow magnet for detecting, and decompose identical digestive system.