cocoa-xu / evision

Evision: An OpenCV-Erlang/Elixir binding
https://evision.app
Apache License 2.0
337 stars 22 forks source link

doubt on image croping in Evision.Nx and Nx.slice #107

Closed Jagan3534 closed 1 year ago

Jagan3534 commented 1 year ago

i haven doubt in Nx.slice we are working on it we converted image to 2d array by using your instructions could you please help us @navrkr @cocoa-xu ans

how can slice function work on it

2

we are trying to give all but its not work please help us sir

Originally posted by @Jagan3534 in https://github.com/cocoa-xu/evision/issues/102#issuecomment-1274102267

cocoa-xu commented 1 year ago

Hi @Jagan3534, the inline docs can be pulled up by typing h Nx.slice in iex.

Also, there is a nice-looking HTML version available on https://hexdocs.pm/nx/, and the one you're looking for can be found here https://hexdocs.pm/nx/Nx.html#slice/4.

If you are looking for the usage/examples of other Nx functions, you can search the function name in the top-left search box on https://hexdocs.pm/nx/.

For example, to search for the usage of Nx.slice on https://hexdocs.pm/nx/, please type slice in the top-left search box and press the enter (windows) / return (macOS) key. The resulting list will show on the right side, and you can click on it (or the one you want), which will bring you to the corresponding section.

Then please read the documentation and examples. If their documentation or examples are not clear, you can either raise an issue on elixir-nx/nx asking them for more details. Or perhaps you can implement the function you'd like to use, or improve the existing function(s) (and their documentation/examples) and open a PR on elixir-nx/nx.

Jagan3534 commented 1 year ago

thank you sir we got the it sir