Search found 3600 matches

by kwagyeman
Wed Jan 01, 2020 1:14 pm
Forum: General Topics
Topic: Auto focus
Replies: 6
Views: 2108

Re: Auto focus

?
by kwagyeman
Mon Dec 30, 2019 5:34 pm
Forum: Technical Discussion
Topic: Temperature value of each pixel captured by LEPTON
Replies: 5
Views: 310

Re: Temperature value of each pixel captured by LEPTON

Hi, you need to put the camera into a target temperature range mode (see the flir example scripts) and then comment out the code in the example scripts that markup the image with blob locations. You can then save the image to an SD card or save the image in OpenMV IDE by right clicking on the screen...
by kwagyeman
Mon Dec 30, 2019 4:17 pm
Forum: General Topics
Topic: NN support on OpenMV
Replies: 4
Views: 515

Re: NN support on OpenMV

Hi, we are moving all our support to using TensorFlow models now. Please see the tf module: http://docs.openmv.io/library/omv.tf.html?highlight=tf#module-tf Please note that you need to make sure you use mobilenet as the model you use transfer learning with. Google has not yet released all operation...
by kwagyeman
Mon Dec 30, 2019 1:42 pm
Forum: General Topics
Topic: Still Unable to Get Accurate Temps from Lepton3.5 Even after Firmware Update
Replies: 4
Views: 347

Re: Still Unable to Get Accurate Temps from Lepton3.5 Even after Firmware Update

Okay, I see your issue. So, you have to set the min and max temp range. The whole image is filled with pixels where the min and max temps represent 0 to 255. That said, as you increase the temp range it's harder to see subtle temperature contrasts because the image is scaled across such a wide range...
by kwagyeman
Sun Dec 29, 2019 8:19 pm
Forum: General Topics
Topic: Still Unable to Get Accurate Temps from Lepton3.5 Even after Firmware Update
Replies: 4
Views: 347

Re: Still Unable to Get Accurate Temps from Lepton3.5 Even after Firmware Update

Hey, can you give me a raw image capture with markups of what you are capturing? Also, please make sure you are running the target temperature capture script that puts the Lepton into the mode where you get the actual temperature value from the image versus AGC mode (the default) that just makes up ...
by kwagyeman
Sun Dec 29, 2019 5:39 pm
Forum: Technical Discussion
Topic: Burned mybe
Replies: 1
Views: 157

Re: Burned mybe

5v into the 3.3v pin would definitely destroy the main processor and camera sensor. Reversing the power wouldn't normally do that on Vin since we have diode power protection. If you reversed the power on the 3.3v pin would break the system even more than 5v unreversed because the voltages would add ...
by kwagyeman
Sun Dec 29, 2019 5:09 pm
Forum: General Topics
Topic: Still Unable to Get Accurate Temps from Lepton3.5 Even after Firmware Update
Replies: 4
Views: 347

Re: Still Unable to Get Accurate Temps from Lepton3.5 Even after Firmware Update

If you didn't erase the file system the script onboard the camera will continue to run. That's why the blue led didn't blink. Should add an if statement on the ide text to handle that...

Um, regarding the temp. Let me check out what's going on.
by kwagyeman
Sat Dec 28, 2019 6:19 pm
Forum: Technical Discussion
Topic: Streaming videos from OpenMV to nodeMCU
Replies: 5
Views: 363

Re: Streaming videos from OpenMV to nodeMCU

Hi, we don't really provide Arduino libraries since the camera ins't a fixed function sensor. It's another microcontroller so you can literally make it talk to your Arduino in whatever way you'd like. As for the image data. What Arduino are you plugging the OpenMV Cam into? A standard AVR Arduino is...
by kwagyeman
Fri Dec 27, 2019 9:35 pm
Forum: Technical Discussion
Topic: Streaming videos from OpenMV to nodeMCU
Replies: 5
Views: 363

Re: Streaming videos from OpenMV to nodeMCU

Just do like: jpg = img.compress() UART.write(struct.pack("<I", len(jpg))) UART.write(jpg) This will send the length and then the jpg image bytes. Any PC that can read a jpg image byte stream can view the jpg image. So, you can setup some code to stream mjpeg images with nodemcu and then you just se...
by kwagyeman
Fri Dec 27, 2019 4:27 pm
Forum: Technical Discussion
Topic: Streaming videos from OpenMV to nodeMCU
Replies: 5
Views: 363

Re: Streaming videos from OpenMV to nodeMCU

Hi, the image can be jpeg compressed on the OpenMV Cam and then you can send a the length of the image along with the image data to the device.

Most Microcontrollers can't actually buffer in ram raw image sizes since they are huge. Is there a reason you need to send raw image data?
by kwagyeman
Fri Dec 27, 2019 12:47 pm
Forum: Project Discussion
Topic: Standard Lens FOV
Replies: 11
Views: 1048

Re: Standard Lens FOV

Hi, the OpenMV Cam doesn't run OpenCV code because we are a Microcontroller which doesn't have an operating system on it.

As for getting pixel stats for an area. Please use the get_stats() method to get pixel stats of an area.
by kwagyeman
Fri Dec 27, 2019 9:05 am
Forum: Project Discussion
Topic: Extracting text from QR Codes
Replies: 10
Views: 4365

Re: Extracting text from QR Codes

codes[0].payload()[1] Will return 1 character. If you want 4 characters starting from position 1 do: codes[0].payload()[1:4] Note that these are general python questions you are asking. If you Google how python strings work you'd be able to solve these more quickly. ... The payload method returns a ...
by kwagyeman
Tue Dec 24, 2019 11:01 am
Forum: Project Discussion
Topic: Extracting text from QR Codes
Replies: 10
Views: 4365

Re: Extracting text from QR Codes

It's codes[0] not code[0].

Accessing code[0] makes no sense. That variable isn't in scope at that time in your code. However, since MP doesn't garbage cleanup variables quickly you don't get an error about accessing an out of scope variable... But, you are doing that.
by kwagyeman
Tue Dec 24, 2019 9:26 am
Forum: Project Discussion
Topic: Detect movement and direction
Replies: 8
Views: 559

Re: Detect movement and direction

MicroPython doesn't allow you to do things like this. Objects are static and can't be added to.

Instead, create a new tuple or object with a blob inside it and the other fields you want.
by kwagyeman
Mon Dec 23, 2019 8:18 pm
Forum: Technical Discussion
Topic: ATWINC1500-MR210PB firmware
Replies: 6
Views: 469

Re: ATWINC1500-MR210PB firmware

The IDE should ask you when it starts to download updated resources... If this isn't happening it would be due to the IDE not being able to ping our server. In that case, the firmware is here: https://github.com/openmv/openmv/releases/tag/v3.5.2 Open the zip file and the firmware for the WiFi shield...
by kwagyeman
Mon Dec 23, 2019 5:01 pm
Forum: Project Discussion
Topic: Trash level detection
Replies: 2
Views: 328

Re: Trash level detection

You have to think about a way this will work. I.e. what is the camera pointed at and what you are trying to detect. The camera is a sensor and if you want good results you need to think about what it's facing and how to eliminate variables like lighting and etc to make the detection job easy.
by kwagyeman
Mon Dec 23, 2019 4:57 pm
Forum: Technical Discussion
Topic: ATWINC1500-MR210PB firmware
Replies: 6
Views: 469

Re: ATWINC1500-MR210PB firmware

Please download the lastest IDE resources.
by kwagyeman
Sun Dec 22, 2019 5:32 pm
Forum: General Topics
Topic: Github sponsors as way to help fund
Replies: 1
Views: 214

Re: Github sponsors as way to help fund

I haven't looked into that. I guess we could sign up for funding via GitHub. In particular, I would love to have more funding to hire folks to help with software development. For example, software optimization of features for ARM Cortex processors to make some of the operations faster. What kind of ...
by kwagyeman
Sun Dec 22, 2019 4:54 pm
Forum: Technical Discussion
Topic: H7 camera flashes red when plugged in, then starts blinking white
Replies: 5
Views: 297

Re: H7 camera flashes red when plugged in, then starts blinking white

Hi, where did you buy the OpenMV Cam from? Is the PCB board red and does it have a qrcode on the back of it? The white flashing LED indicates a hardware failure typically. Reflashing the firmware sometimes can fix this. You can do so by clicking the connect button on OpenMV IDE without the OpenMV Ca...
by kwagyeman
Thu Dec 19, 2019 11:55 am
Forum: General Topics
Topic: Stereovision
Replies: 7
Views: 471

Re: Stereovision

Yes, if you send data out the serial port over USB then the camera blocks on that data transmit. If you are trying to sync cameras you have to keep in mind that you have to deal with that. You should use a master device a that generates a trigger capture signal to each camera. I.e. if you have two c...
by kwagyeman
Thu Dec 19, 2019 11:49 am
Forum: Technical Discussion
Topic: View real time coordinates
Replies: 1
Views: 231

Re: View real time coordinates

Hi, are you trying to view that point on your computer or on our LCD display?
by kwagyeman
Thu Dec 19, 2019 11:31 am
Forum: Technical Discussion
Topic: The image De-bayered from RAW-RGB format has noise on object edge.
Replies: 4
Views: 420

Re: The image De-bayered from RAW-RGB format has noise on object edge.

1. Yes, we debayer the image. It's slow, but, it works.
2. There's no one function that sends data to the IDE. See the usbdbg.c file and the framebuffer.c code. It's a complex system to transfer data to the IDE.
by kwagyeman
Tue Dec 17, 2019 12:36 pm
Forum: Technical Discussion
Topic: The image De-bayered from RAW-RGB format has noise on object edge.
Replies: 4
Views: 420

Re: The image De-bayered from RAW-RGB format has noise on object edge.

I understand you need help on this... but, you're essentially asking us to debug code unrelated to our product... we don't provide help support for that... Given our debayer method is open-source... um, why not just start with our code and modify it slightly repeatedly and check that you changes don...
by kwagyeman
Tue Dec 17, 2019 12:32 pm
Forum: General Topics
Topic: Stereovision
Replies: 7
Views: 471

Re: Stereovision

What's the question?
by kwagyeman
Mon Dec 16, 2019 3:07 pm
Forum: Technical Discussion
Topic: Communication with Arduino Mega - Serial or I2C?
Replies: 7
Views: 337

Re: Communication with Arduino Mega - Serial or I2C?

In the other post you just posted to there's an example of that.
by kwagyeman
Mon Dec 16, 2019 11:38 am
Forum: Technical Discussion
Topic: Communication with Arduino Mega - Serial or I2C?
Replies: 7
Views: 337

Re: Communication with Arduino Mega - Serial or I2C?

Can you post the code that you think is in error? I know the serial comm code is robust... I've built a robot that uses it to communicate between the OpenMV Cam and an Arduino and it works fine.

Please post the serial comm side snippet and etc.
by kwagyeman
Sun Dec 15, 2019 8:36 pm
Forum: General Topics
Topic: Stereo camera systems with OpenMV, stereo vision
Replies: 1
Views: 161

Re: Stereo camera systems with OpenMV, stereo vision

There's a frame sync pin on each camera that you can use to sync the video. That said, it's not really that critical to sync each frame as our default camera is a rolling shutter camera. As such, we aren't really movement invariant. If you are trying to detect something that's moving fast you have t...
by kwagyeman
Sun Dec 15, 2019 8:35 pm
Forum: Project Discussion
Topic: Wildlife Trap
Replies: 1
Views: 150

Re: Wildlife Trap

If you have the budget I'd reconmend using the FLIR Lepton 3.5 and our FLIR Lepton adapter. Thermal vision will work during the day and night and it will also make it trivial to see the animal in the dark. If you can't use a FLIR Lepton then differential frame differencing probably + TensorFlow imag...
by kwagyeman
Sat Dec 14, 2019 5:58 pm
Forum: Project Discussion
Topic: Kogeto Panoramic Lens
Replies: 3
Views: 234

Re: Kogeto Panoramic Lens

You probably want reverse=True to turn the polar image into a Cartesian one.
by kwagyeman
Sat Dec 14, 2019 5:56 pm
Forum: Project Discussion
Topic: Kogeto Panoramic Lens
Replies: 3
Views: 234

Re: Kogeto Panoramic Lens

Yes, use the linear polar image distortion method. This will remap the image from being a polar image to a linear image.

See the examples for how to do this under image filters.
by kwagyeman
Fri Dec 13, 2019 4:11 pm
Forum: Technical Discussion
Topic: Communication with Arduino Mega - Serial or I2C?
Replies: 7
Views: 337

Re: Communication with Arduino Mega - Serial or I2C?

Serial is the best to use. I2C is definitely not what you want to use.

Typically folks fail with serial comms because they have difficulty programming things. If you are not new to making two processors talk to each other serial is very easy.
by kwagyeman
Fri Dec 13, 2019 2:32 pm
Forum: General Topics
Topic: Communicate between Multiple OpenMV's and another board
Replies: 3
Views: 308

Re: Communicate between Multiple OpenMV's and another board

UART3 was the only one there for our first version. The H7 has more now. We have a dedicated USB interface so UART1 has nothing to do with computer communication. As for a better way... typically you'd do a start topology with a master uC in the center talking to each. So, I think this is pretty good.
by kwagyeman
Fri Dec 13, 2019 11:43 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 1598

Re: OV2640 module for H7 cam

The driver is not complete yet. I need to finish it.
by kwagyeman
Fri Dec 13, 2019 11:42 am
Forum: General Topics
Topic: Communicate between Multiple OpenMV's and another board
Replies: 3
Views: 308

Re: Communicate between Multiple OpenMV's and another board

The OpenMV Cam H7 has two uarts, so, you can daisy chain the cameras easily. UART3 is the main UART but another UART is exposed on the I/O pins.
by kwagyeman
Thu Dec 12, 2019 2:49 pm
Forum: General Topics
Topic: NN support on OpenMV
Replies: 4
Views: 515

Re: NN support on OpenMV

Hi, I'll update the links, there's really no TensorFlow tutorial yet. The support is still really alpha right now. Just the person detector network Google trained and mobilenet seem to work. It's going to be a while for all the fixes for the software to get done from Google.
by kwagyeman
Wed Dec 11, 2019 6:20 pm
Forum: Technical Discussion
Topic: help!
Replies: 3
Views: 320

Re: help!

You didn't, glad you got it working.
by kwagyeman
Tue Dec 10, 2019 10:34 am
Forum: General Topics
Topic: Template matching with framesize QVGA
Replies: 9
Views: 784

Re: Template matching with framesize QVGA

Thanks, I should be able to now.
by kwagyeman
Tue Dec 10, 2019 10:34 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 1598

Re: OV2640 module for H7 cam

It's my next task. I have to get the driver for this done ASAP.
by kwagyeman
Tue Dec 10, 2019 1:20 am
Forum: General Topics
Topic: Template matching with framesize QVGA
Replies: 9
Views: 784

Re: Template matching with framesize QVGA

K, you're going to need to figure out which part is wrong and give us just that. I can't actually run your script since it waits on an Arduino and needs to be pointed at something. ... In general, I'm getting somewhat tired of users posting all of their code and then asking us to fix it. We can debu...
by kwagyeman
Tue Dec 10, 2019 12:28 am
Forum: General Topics
Topic: Template matching with framesize QVGA
Replies: 9
Views: 784

Re: Template matching with framesize QVGA

Please attach the templates in a zip file.
by kwagyeman
Tue Dec 10, 2019 12:25 am
Forum: General Topics
Topic: I can not run OpenMV ide on a Raspberry Pi 4
Replies: 22
Views: 1870

Re: I can not run OpenMV ide on a Raspberry Pi 4

Okay, updated that. Please send a PR for any more fixes you think would be good. Thanks for your help.
by kwagyeman
Sun Dec 08, 2019 11:34 pm
Forum: Technical Discussion
Topic: Unable to launch OpenMV IDE on Raspberry Pi raspbian
Replies: 5
Views: 429

Re: Unable to launch OpenMV IDE on Raspberry Pi raspbian

Merged it, also, added libpng*. I will have time to work on the IDE after getting fixes into the firmware for the OV5640/7690 and cleaning out all remaining bugs/feature enhancements.
by kwagyeman
Sun Dec 08, 2019 11:31 pm
Forum: General Topics
Topic: I can not run OpenMV ide on a Raspberry Pi 4
Replies: 22
Views: 1870

Re: I can not run OpenMV ide on a Raspberry Pi 4

K, this will be fixed in the next release. I just fixed it in the branch.
by kwagyeman
Sun Dec 08, 2019 11:28 pm
Forum: General Topics
Topic: Video camera decoder question
Replies: 4
Views: 393

Re: Video camera decoder question

by kwagyeman
Sat Dec 07, 2019 4:37 pm
Forum: Technical Discussion
Topic: help!
Replies: 3
Views: 320

Re: help!

Hi, please use the code tags when posting. Also, this is not valid OpenMV Cam code: if blob.color == blob.red() # Code for sorting to the red chute if blob.color == blob.blue() # Code for sorting to the blue chute if blob.color == blob.green() # Code for sorting to the green chute Anyway, please ask...
by kwagyeman
Fri Dec 06, 2019 11:12 am
Forum: Technical Discussion
Topic: Building OpenMV, TensorFlow and CMSIS-NN
Replies: 3
Views: 282

Re: Building OpenMV, TensorFlow and CMSIS-NN

Once it's ready I'll release it with a video.
by kwagyeman
Thu Dec 05, 2019 9:21 pm
Forum: General Topics
Topic: development questions
Replies: 5
Views: 315

Re: development questions

The IDE tends to stop the script execution when it connects. If you want to get crash messages you need to debug everything before putting the device in the field. Otherwise, wrap your code with try: except: and then open a file and write the exception string to it before stopping. That is the easie...
by kwagyeman
Thu Dec 05, 2019 8:10 pm
Forum: General Topics
Topic: development questions
Replies: 5
Views: 315

Re: development questions

You can get error messages in the IDE from the start of your script. If you modifying our C code that's different. And.. you can't get error messages from the board when it's booting and running a user script because the IDE will not be connected. As for your second question... no, please remember, ...

Go to advanced search