Get pixels relative to x1 and y1 on source image#100
Get pixels relative to x1 and y1 on source image#100silvia-odwyer merged 1 commit intosilvia-odwyer:masterfrom
Conversation
|
@bboshoven Thanks for fixing this, much appreciated! 😄 I'm going to merge this now 👍 |
|
When will this branch merged into |
|
Hi @azarashill 😄 During the next release of the library, the photon-node NPM package will then be updated. However that being said, if you require this functionality earlier, you could clone the repo and build the library for Node by running |
|
@silvia-odwyer thanks for a lot! |
|
This fix never made it onto the published crate, right? The commit is dated June 2021, and the last published version is from April 2021. Any ETA on the next release? Great lib btw :) |
|
@nathanbabcock Hi Nathan! I'm planning to add some extra filters to the library, and will be releasing a new version of the library quite soon, hopefully in the next few weeks or so. 😄 It'll be great to have the new features from the library's various contributors added to the published crate too :D |
|
@silvia-odwyer Thanks Silvia, that's great news. 😀 Using Photon I was able to add WASM/browser support to the computer vision library I'm working on. I use it for preprocessing images before doing text or image recognition on them. I'll definitely use the newest version of Photon when it comes out. Cheers! 🍻 |
|
@nathanbabcock Hi Nathan, I recently published a new version of Photon on crates.io, which includes the updated cropping function. It's part of the 0.3.2 release, which is now available. |
Currently the cropping behaviour always starts at x1 = 0, y1 = 0 on the source image. This should fix that.