Skip to content

Conversation

@dannypsnl
Copy link
Member

@dannypsnl dannypsnl commented Apr 11, 2023

Feature

transform

  1. normalize: not cv::normalize, from 77051da#diff-3333d926ca87cf4285bfcd6deae45ee310307be66fca8a4ca6f0f8a946743fccR50-R54
  2. blur: blurring function
  3. bilinear_sampling: bilinear sampler

read/write

  1. imdecode: from image from instance buffer
  2. imencode: put image into instance buffer
  3. imwrite: write image into file

misc

  1. imshow: show image (broken on MacOS)
  2. waitkey: wait any keypress

Example: https://github.com/second-state/opencvmini-example

@codecov
Copy link

codecov bot commented Apr 11, 2023

Codecov Report

Merging #2403 (30df90c) into master (c461f98) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2403   +/-   ##
=======================================
  Coverage   81.20%   81.20%           
=======================================
  Files         148      148           
  Lines       21473    21473           
  Branches     4313     4313           
=======================================
  Hits        17437    17437           
  Misses       2877     2877           
  Partials     1159     1159           

see 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dannypsnl dannypsnl force-pushed the plugin-opencvmini branch 2 times, most recently from 039a8e1 to 88eb650 Compare April 12, 2023 06:55
@WasmEdge WasmEdge deleted a comment from alabulei1 Apr 15, 2023
@dannypsnl dannypsnl marked this pull request as ready for review April 24, 2023 07:55
@dannypsnl dannypsnl force-pushed the plugin-opencvmini branch 2 times, most recently from e666c7e to ea80c7a Compare May 2, 2023 06:10
@hydai hydai added enhancement New feature or request c-Plugin An issue related to WasmEdge Plugin labels May 17, 2023
@dannypsnl dannypsnl force-pushed the plugin-opencvmini branch from ea80c7a to 21e5e04 Compare May 23, 2023 02:30
@WasmEdge WasmEdge deleted a comment from alabulei1 May 23, 2023
@juntao
Copy link
Member

juntao commented May 23, 2023

Flows summarize

This comment was marked as off-topic.

Lîm Tsú-thuàn added 11 commits June 5, 2023 14:53
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
1. imdecode
2. imshow
3. waitkey

The `cv::Mat` will be cached in a map & wasm module will only get handle
instead of passing huge multi-dim array (`cv::Mat`) around the host & wasm.

Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
@dannypsnl dannypsnl force-pushed the plugin-opencvmini branch from 21e5e04 to d71cf24 Compare June 5, 2023 06:54
@hydai hydai changed the title [WIP] plugin opencvmini [Plugin][WIP] Implement OpenCV-mini Jun 14, 2023
Lîm Tsú-thuàn added 2 commits June 27, 2023 15:56
`imwrite` will put matrix into a file, and hence. we can check the
transformer result

`blur` do simple blurring, this is the first transformer we introduce

Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Lîm Tsú-thuàn added 6 commits June 29, 2023 03:09
The function will write compressed image back into instance's buffer

Signed-off-by: Lîm Tsú-thuàn <[email protected]>
NOTE, this is a normalize function from 77051da#diff-3333d926ca87cf4285bfcd6deae45ee310307be66fca8a4ca6f0f8a946743fccR50-R54
not `cv::normalize`

Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
@github-actions github-actions bot added the c-CI An issue related to CI label Jul 3, 2023
Lîm Tsú-thuàn added 2 commits July 3, 2023 16:32
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
@dannypsnl dannypsnl requested a review from q82419 as a code owner July 3, 2023 08:43
@github-actions github-actions bot added the c-Test An issue/PR to enhance the test suite label Jul 3, 2023
Lîm Tsú-thuàn added 5 commits July 3, 2023 16:53
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c-CI An issue related to CI c-Plugin An issue related to WasmEdge Plugin c-Test An issue/PR to enhance the test suite enhancement New feature or request

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

4 participants