Search found 7 matches

by mannybranden7
Sat Apr 14, 2018 6:21 pm
Forum: Technical Discussion
Topic: Opencv7 with a Raspberry Pi
Replies: 14
Views: 2113

Re: Opencv7 with a Raspberry Pi

No, SPI is defiantly the way to go. The code is effectively the same. On the PI you need it to be a SPI slave to receive the data. You're saying the camera needs to be a slave and the pi the master, right? Thats what I see in the example you have for the arduino. I'm having a lot of difficult conne...
by mannybranden7
Tue Apr 10, 2018 7:49 pm
Forum: Technical Discussion
Topic: Opencv7 with a Raspberry Pi
Replies: 14
Views: 2113

Re: Opencv7 with a Raspberry Pi

What method do you plan to use for reception? send.uart(I'm going.compressed_for_ide()) is enough if you are sending over a UART. We planned on using the fastest possible way to send the image since the camera will be moving at around 25mph and we need it to detect, capture, send, and then again co...
by mannybranden7
Tue Apr 10, 2018 3:31 pm
Forum: Technical Discussion
Topic: Opencv7 with a Raspberry Pi
Replies: 14
Views: 2113

Re: Opencv7 with a Raspberry Pi

Project 1 is very easy, the find_blobs method does all this for you and tells you the centroid of objects. You can then send these centroids to the Pi via a UART. See the pixy emulation example for how to send packet data over the UART using the struct module. Project 2 involves path planning. We d...
by mannybranden7
Wed Mar 07, 2018 6:47 pm
Forum: Technical Discussion
Topic: to detect small foreign objects
Replies: 28
Views: 5356

Re: to detect small foreign objects

Regarding the thresholds constant, what exactly does each value in the threshold variable do? Im trying to do the same thing but I dont understand what each value is representing? Ex: thresholds = (70, 100, -128, 127, -128, 127) I saw this example code below, which makes sense. Which finds extremely...
by mannybranden7
Tue Dec 12, 2017 7:42 pm
Forum: Technical Discussion
Topic: Import micropython-lib
Replies: 5
Views: 771

Re: Import micropython-lib

Oh okay I see. I am sorry I didn't make that connection before.

Thank you for such a quick reply.
by mannybranden7
Tue Dec 12, 2017 4:04 pm
Forum: Technical Discussion
Topic: Import micropython-lib
Replies: 5
Views: 771

Re: Import micropython-lib

The module is located under the "os" directory called "__init__.py". When I download the library module and import it into the sdcard it is like this: "/os/__init__.py" and I "import os". I know there is another import for "os" so I renamed "os" to "oslib" and imported it like that but I still get t...
by mannybranden7
Mon Dec 11, 2017 10:31 pm
Forum: Technical Discussion
Topic: Import micropython-lib
Replies: 5
Views: 771

Import micropython-lib

I am having some trouble importing a certain library module from micropython-lib on to the OpenCam M7 board. I am trying to use the pipe() function that is included in the OS module of the micropython-lib. I went through the micropython documentation to learn how to download and import the modules b...

Go to advanced search