The cameras are fairly similar both are 1080P, compatible with Video Analytics and have 2-Way Audio.
The biggest difference, would be the 523 has a wider angle of view and High Dynamic Range (HDR).
In my opinion, the 523 offers slightly better video quality, and the wider angle of view can be of benefit depending on where its being mounted. However, either is a good option.
Manufacturer’s specs can be found below:
ADC-V522IR Specs
ADC-V523 Specs
https://support.suretyhome.com/t/what-cameras-can-i-use-with-alarm-com/3123/4