ShaharMS / Vision

Cross framework, cross platform computer vision for Haxe
MIT License
35 stars 5 forks source link

Math problems… (Still in WIP) #34

Closed Wither362 closed 1 year ago

Wither362 commented 1 year ago

TODO:

ShaharMS commented 1 year ago

About you editing the for loops, for loops don't include the last number anyways, so 0...width/height is valid

Just check the resulting images (test VisionMain on J's target and look at the image's on the webpage)

ShaharMS commented 1 year ago

Another thing, I've used floats instead of Point2D because performance is critical in these functions, and not using Point2D is faster & consumes less memory

Wither362 commented 1 year ago

Another thing, I've used floats instead of Point2D because performance is critical in these functions, and not using Point2D is faster & consumes less memory

Oh, thanks for that tip, if you want to edit something go ahead, I activated the checkbox for allowing you to edit my changes

Wither362 commented 1 year ago

About you editing the for loops, for loops don't include the last number anyways, so 0...width/height is valid

They don’t include the last number, but if I "quit" another Int, it will not look up for that pixel (I don’t know if it will work, I’m a little new with the pixels and the images code)

Just check the resulting images (test VisionMain on J's target and look at the image's on the webpage)

Well, I can’t do that since I’m on iPad, not on computer…