Skip to content

Commit

Permalink
release v0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu committed Jul 1, 2024
1 parent 976fb39 commit ec5d477
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
40 changes: 38 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog

## main
[Browse the Repository](https://github.com/cocoa-xu/evision)
## v0.2.5 (2024-07-01)
[Browse the Repository](https://github.com/cocoa-xu/evision/tree/v0.2.5) | [Released Assets](https://github.com/cocoa-xu/evision/releases/tag/v0.2.5)

### Changes
- Validate possible keyword arguments for functions that accept named arguments.
Expand All @@ -28,6 +28,42 @@
iex:4: (file)
```

- Generated typed enums for OpenCV's `cv::flann`.
-
This should include the following enums and place them in the corresponding modules.
- `flann_algorithm_t`
- `flann_centers_init_t`
- `flann_log_level_t`
- `flann_distance_t`
- `flann_datatype_t`
For example, `flann_algorithm_t` will be put in the `Evision.Flann.Algorithm` module:
```elixir
defmodule Evision.Flann.Algorithm do
@type enum :: integer()
@doc enum: true
def cv_FLANN_INDEX_LINEAR, do: 0
@doc enum: true
def cv_FLANN_INDEX_KDTREE, do: 1
@doc enum: true
def cv_FLANN_INDEX_KMEANS, do: 2
@doc enum: true
def cv_FLANN_INDEX_COMPOSITE, do: 3
@doc enum: true
def cv_FLANN_INDEX_KDTREE_SINGLE, do: 4
@doc enum: true
def cv_FLANN_INDEX_HIERARCHICAL, do: 5
@doc enum: true
def cv_FLANN_INDEX_LSH, do: 6
@doc enum: true
def cv_FLANN_INDEX_SAVED, do: 254
@doc enum: true
def cv_FLANN_INDEX_AUTOTUNED, do: 255
end
```
## v0.2.4 (2024-06-20)
[Browse the Repository](https://github.com/cocoa-xu/evision/tree/v0.2.4) | [Released Assets](https://github.com/cocoa-xu/evision/releases/tag/v0.2.4)
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Evision.MixProject.Metadata do
@moduledoc false

def app, do: :evision
def version, do: "0.2.4"
def version, do: "0.2.5"
def github_url, do: "https://github.com/cocoa-xu/evision"
def opencv_version, do: "4.10.0"
# only means compatible. need to write more tests
Expand Down
2 changes: 1 addition & 1 deletion src/evision.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, evision,
[{description, "OpenCV BEAM binding."},
{vsn, "0.1.37"},
{vsn, "0.2.5"},
{registered, []},
{applications,
[kernel,
Expand Down

0 comments on commit ec5d477

Please sign in to comment.