Automated Electrical Takeoffs from Drawings