I am looking for the Arduino or esp micro controller code for the following operations of fingerprint sensor R305/R307
1. Capture fingerprint
2. Load fingerprint template and image from sensor
3. Delete fingerprint(s) from sensor
4. Add already loaded fingerprint template into the sensor
5. Search id from the sensor using given fingerprint templates
6. Compare two given fingerprint templates where both are not exist in the sensor, and return the comparison score
Please ensure that code is well tested at your end with all the above requirements.