3 ms·
VisionScript looks so neat! I always wanted some wrapper around OpenCV as high level as Mathemathica. I see you've even borrowed their syntax. Though wouldn't
by pona-a 3y ago
VisionScript looks so neat! I always wanted some wrapper around OpenCV as high level as Mathemathica. I see you've even borrowed their syntax.
Though wouldn't it have been nicer as just a library for any functional language for more interesting use-cases like mapping an image of a bar chart to CSV or estimating coefficient of restitution of a bouncy ball?
That's one problem I always had with DSLs, as expressive as they can be for their domain, sooner or later you find yourself having to implement all the features of a modern high level language...
- zerojames 3y agoThank you! The syntax was inspired by Mathematica. I like the idea of using verbs to describe actions that are built into the language. I had three main motivations for the project: 1. Learn how to write a programming language; 2. Explore the extent to which I could use a new language to help people learn computer vision, and; 3. Learn more about computer vision. The goal was to create a language that is more suited for beginners, with the intent that you can build a vocabulary you can use to describe computer vision and programming more broadly. The extent to which this is/was achieved is unknown since I'd need to do a lot more work to get it in the hands of new developers, but nonetheless I enjoyed thinking and reading about this. > sooner or later you find yourself having to implement all the features of a modern high level language A friend told me "but James, you can just use Python for this!" While that is true, there is definitely something to be said about _how_ you do something, as well as what you can and can't do. How a language works and what it can and can't do is in the hands of the language designer; these decisions are technically interesting to make.