Search found 7 matches

by andrey_
Fri Feb 14, 2020 1:27 am
Forum: General Topics
Topic: How to add function to image class
Replies: 7
Views: 2869

Re: How to add function to image class

Oh thats good to hear! I tried the code and it works fine, but for some reason when I comment out the line that calculates and prints the mean and std, it throws a MemoryError. How can this be? How does print the mean and std use less ram? Has this got something to do with python realising that you ...
by andrey_
Wed Feb 12, 2020 7:31 pm
Forum: General Topics
Topic: IDE/Serial terminal question for manual trigger
Replies: 10
Views: 2964

Re: IDE/Serial terminal question for manual trigger

Hey,
In the OpenMV IDE simply go to tools->open terminal and create a new terminal. From there you can stop and start the onboard script, and play around/test commands before implementing them into your code.
I use it all the time.
by andrey_
Wed Feb 12, 2020 7:24 pm
Forum: General Topics
Topic: How to add function to image class
Replies: 7
Views: 2869

Re: How to add function to image class

Hey, The algorithm is for grayscale images, so ulab is working fine, and it would be great to have the image as an ndarray if thats possible! :D Why would outputting the array as a ndarray take more ram? I may be wrong but ulab's documentation claims that it only takes a couple bytes more to store t...
by andrey_
Wed Feb 12, 2020 3:23 am
Forum: Technical Discussion
Topic: Pipeline for finding hough lines in a binary image
Replies: 5
Views: 1520

Re: Pipeline for finding hough lines in a binary image

I heard!
Already preordered some openmv pluses for work!
Cheers.
by andrey_
Wed Feb 12, 2020 3:21 am
Forum: General Topics
Topic: How to add function to image class
Replies: 7
Views: 2869

How to add function to image class

I'm not the most experienced developer so I'm not sure how to do this. I wanted to write my machine vision function to use on the openmv cam. I've already written the function in python and tested that it works, it only implements iterations and numpy element wise addition and multiplication. I made...
by andrey_
Thu Jan 09, 2020 2:00 am
Forum: Technical Discussion
Topic: Pipeline for finding hough lines in a binary image
Replies: 5
Views: 1520

Re: Pipeline for finding hough lines in a binary image

Unfortunately segments would be too slow for my purposes.
In opencv I would usually threshold what I need to get the binary -> find contours -> hough transform
There must be some alternative way to do find the edges of a binary image using the openmv libs.
:?
by andrey_
Wed Jan 08, 2020 10:49 pm
Forum: Technical Discussion
Topic: Pipeline for finding hough lines in a binary image
Replies: 5
Views: 1520

Pipeline for finding hough lines in a binary image

Hey guys, Is it possible to find hough lines after thresholding an image. After trying it it just shows alot of random lines, im assuming because the sobel filter doesn't really highlight edges on a binary image. I've tried doing threshold -> canny edge -> find_lines as well, but it has the exact sa...

Go to advanced search