krogk / AgroPi

Automated cultivation system for plants & mushrooms using Raspberry Pi
https://www.facebook.com/AgroPiOfficial
GNU General Public License v3.0
23 stars 11 forks source link

New Camera Branch with first Driver #28

Closed andrewsg3 closed 3 years ago

andrewsg3 commented 3 years ago

First draft of camera. May require integration with the wider system. Documentation present and have tested every listed function.

For testing, I would recommend:

instantiating a camera object trying a livestream() on your laptop or raspi with gui enabled saving a picture with savepicture("filename.jpg")

added Resources/ folder in peripherals containg HAAR cascade xml. you can run it with Camera.greenCascade(cv::Mat image);

krogk commented 3 years ago

Camera code was accidentally committed before, I'll merge this and test and create new issue with bug tag if there are any problems with it.

andrewsg3 commented 3 years ago

Ok. Apologies for the accidental commit.