gabrielrcouto/php-computer-vision — reverse-engineered prompt
Reverse engineered prompt
I want this turned into a usable first version of a PHP computer vision library, not just an empty work in progress. Keep it simple and practical. Make it feel like something a PHP developer could install and start using right away for basic image and vision related tasks.
Please build out a clean API that can load images, inspect things like width and height, and handle a few core operations that make sense for a starter computer vision package, like grayscale conversion, resizing, cropping, thresholding, and maybe a simple edge or contour style detection if that fits naturally. Add clear examples, basic tests, and a short README that shows how to use it.
If the repo issues already have tagged to do items, use those as guidance. If not, make sensible MVP choices and keep the scope realistic. I care more about a clean foundation and developer experience than fancy features. Composer support, solid class structure, and readable docs matter. Look up current docs online if you need to.
Want more depth? Deep Reverse