Skip to content

Releases: LdDl/gocv-blob

Version v2.3.0 - Update bindings version

04 May 14:47
Compare
Choose a tag to compare

Version v2.2.10 - Fix "point is on segment"

27 Aug 19:24
Compare
Choose a tag to compare

What's new

There is obvious mistake (which leads to wrong calculations with oblique lines) in code below

func isOnSegment(Px, Py, Qx, Qy, Rx, Ry int) bool {
	if Qx <= maxInt(Px, Rx) && Qx >= maxInt(Px, Rx) && Qy <= maxInt(Py, Ry) && Qy >= maxInt(Py, Ry) {
		return true
	}
	return false
}

Qx >= maxInt(Px, Rx) should be Qx >= minInt(Px, Rx)
Qy >= maxInt(Py, Ry) should be Qy >= minInt(Py, Ry)

Now this is fixed

Version v2.2.9 - Improve position prediction

15 Aug 10:47
0df550b
Compare
Choose a tag to compare

What's new

  1. Thanks to @FieldsYeh issue for pointing that PredictNextPosition() function was not that good.
    So I've used suggested code and written tests.
    Detailed info about corresponding pull request: #3

Version v2.2.8 - Fix property map

23 Apr 18:12
Compare
Choose a tag to compare

What's new

  1. Add map initialization on blob creation (either simple or kalman based)
  2. Fix misspells

Version v2.2.7 - Additional setter / getter combo

23 Apr 18:02
Compare
Choose a tag to compare

What's new:

  1. Added getter for custom properties of Blob:
// Simple blob implementation
func (b *SimpleBlobie) GetPropetry(key string) (interface{}, bool) {
	v, ok := b.customProperties[key]
	return v, ok
}
// Kalman filter based blob implementation
func (b *KalmanBlobie) GetPropetry(key string) (interface{}, bool) {
	v, ok := b.customProperties[key]
	return v, ok
}
  1. Added setter for custom properties of Blob:
// Simple blob implementation
func (b *SimpleBlobie) SetPropetry(key string, value interface{}) {
	b.customProperties[key] = value
}
// Kalman filter based blob implementation
func (b *KalmanBlobie) SetPropetry(key string, value interface{}) {
	b.customProperties[key] = value
}

Version v2.2.6 - Minor fix

23 Apr 12:48
Compare
Choose a tag to compare

What's new

  1. Anchor shifting evaluated [for rendering multiple text line in DrawTrack() method] has been refactored

Version v2.2.5 - Minor

23 Apr 11:34
Compare
Choose a tag to compare

What's new

  1. Anchor shifting [for rendering multiple text line in DrawTrack() method] is evaluated instead of being a constant value.

Version v2.2.4 - Refactor DrawTrack method

23 Apr 11:29
Compare
Choose a tag to compare

What's new

  1. Until this release DrawTrack() was accepting variable of type String, but not it accepts variadic argument (slice of strings).
    Now it is possible to draw multiple text lines over the bounding box of object

Version v2.2.3 - Minor update

23 Apr 11:10
Compare
Choose a tag to compare

What's new

  1. Remove currently not used setters (will bring them later if needed)
  2. Separate helping function into internal_utils.go

Version v2.2.2 - Minor update

20 Apr 11:42
Compare
Choose a tag to compare

What's new:

Just change blob.Center information for Kalman blobie - d30f216

old:

b.Track = append(b.Track, newbCast.Center)

new:

b.Track = append(b.Track, b.Center)

This change is needed due the DrawTrack() and PredictNextPosition() functions since thouse functions uses not only rectangle, but centroids too.