Search found 4867 matches

by kwagyeman
Fri Jan 22, 2021 11:42 pm
Forum: Technical Discussion
Topic: Question about a print()
Replies: 28
Views: 162

Re: Question about a print()

It's a sync error with the driver. I'll check it out. Just finished with an updated TV driver so I can try this out now and see what's up. It's probably going to work for me without issue... but, I can relax the timeouts. This might fix it for you.
by kwagyeman
Fri Jan 22, 2021 10:42 pm
Forum: Technical Discussion
Topic: Question about a print()
Replies: 28
Views: 162

Re: Question about a print()

Sorry, was busy with other things.

I know the scripts works within python2/3 on my windows laptop.

Will test on the Pi.
by kwagyeman
Fri Jan 22, 2021 3:33 pm
Forum: General Topics
Topic: Import Match software in OpenMV
Replies: 3
Views: 23

Re: Import Match software in OpenMV

AH, you want to do this in C.

So, you need to write a python module. First, you should learn to compile the firmware: https://github.com/openmv/openmv/tree/master/src

After that: See this guide on how to write a MicroPython driver: https://docs.micropython.org/en/latest/ ... index.html
by kwagyeman
Fri Jan 22, 2021 12:46 pm
Forum: General Topics
Topic: Frame differencing White background.
Replies: 3
Views: 19

Re: Frame differencing White background.

You should use histogram equalization. This will increase the image contrast. So, just do .histeq() before the doing frame differencing. This make the black object pop. However, it will also increase the noise. Histeq() has some parameters you can play with too.
by kwagyeman
Fri Jan 22, 2021 12:44 pm
Forum: Technical Discussion
Topic: Stange FPS granularity
Replies: 1
Views: 23

Re: Stange FPS granularity

It's because of how frames are generated by the camera. The camera generates frames at about 50 FPS. If you miss a frame then you get 25 FPS, if you miss two frames then 12.5 FPS. If you want it to be better than this you have to increase the frame rate. Use the SET_READOUT_WINDOW ioctl to reduce th...
by kwagyeman
Fri Jan 22, 2021 12:41 pm
Forum: Technical Discussion
Topic: Use pin P6 with the Wifi Shield
Replies: 2
Views: 13

Re: Use pin P6 with the Wifi Shield

Use an external microcontroller with a DAC, or PWM over an I/O pin that's free with an RC filter.
by kwagyeman
Fri Jan 22, 2021 12:40 pm
Forum: General Topics
Topic: Import Match software in OpenMV
Replies: 3
Views: 23

Re: Import Match software in OpenMV

Hi, software already made a star detector with the OpenMV Cam:

https://github.com/frank26080115/OpenMV ... raphy-Gear

Probably should look at what he did.
by kwagyeman
Fri Jan 22, 2021 3:13 am
Forum: General Topics
Topic: Frame differencing White background.
Replies: 3
Views: 19

Re: Frame differencing White background.

Frame differencing just does abs(image1-image2) so, the output of it is always black. Anything that is not black is then a difference. If you invert the difference image then non-differences will be white and anything not white is a difference. It sounds like you want to be able to pickup a dark obj...
by kwagyeman
Thu Jan 21, 2021 12:47 pm
Forum: Technical Discussion
Topic: image.flood_fill() is not available
Replies: 1
Views: 25

Re: image.flood_fill() is not available

We disabled it because of firmware space issues.

We will re-enable it soon. We have a LAB fix coming into the firmware shortly that frees up a ton of space.
by kwagyeman
Thu Jan 21, 2021 12:46 pm
Forum: Technical Discussion
Topic: Can't communicate with servo shield
Replies: 2
Views: 21

Re: Can't communicate with servo shield

This would imply that the I2C bus is not working. Can you check that the shield is mounted correctly and that P4/P5 are engaging the shield and that solder points are good?
by kwagyeman
Wed Jan 20, 2021 10:51 am
Forum: Technical Discussion
Topic: Low Power with External Trigger
Replies: 9
Views: 76

Re: Low Power with External Trigger

It could be the SDRAM.

@ibrahim?
by kwagyeman
Tue Jan 19, 2021 12:37 pm
Forum: Technical Discussion
Topic: Several questions about sensor.JPEG()
Replies: 1
Views: 37

Re: Several questions about sensor.JPEG()

1-2. The OV5640 has a JPEG compressor on chip. Sensor.JPEG puts the chip into JPEG mode. So, the STM32H7 doesn't have to do any work. It just receives the JPEG image from the camera. Note that the OV5640 is like a 800 MHz SoC internally. 3. JPEG cropping is not permitted in OpenCV. What is happening...
by kwagyeman
Mon Jan 18, 2021 11:17 pm
Forum: Technical Discussion
Topic: H7 LOCKED, WHAT CAN I DO?
Replies: 3
Views: 59

Re: H7 LOCKED, WHAT CAN I DO?

The green light flashing and then the blue light is normal behavior.

Can you confirm the uPY disk appears when you plug the camera in?
by kwagyeman
Mon Jan 18, 2021 11:16 pm
Forum: General Topics
Topic: Google Mediapipe in openMV
Replies: 1
Views: 42

Re: Google Mediapipe in openMV

It’s not going to work. That requires desktop Python.
by kwagyeman
Mon Jan 18, 2021 1:06 am
Forum: Technical Discussion
Topic: H7 LOCKED, WHAT CAN I DO?
Replies: 3
Views: 59

Re: H7 LOCKED, WHAT CAN I DO?

Hi, um, when you plug the camera into the computer without a jumper are you using a power + data USB cable? It sounds like the openmv cam bricked dialog is being triggered.
by kwagyeman
Fri Jan 15, 2021 4:31 pm
Forum: General Topics
Topic: Any suggestion to detect the high-speed moving object
Replies: 5
Views: 98

Re: Any suggestion to detect the high-speed moving object

Hi, this will actually work well then. What you are saying greatly reduces the difficulty.

I also recommend a shade over the camera to reduce sunlight and stray light.
by kwagyeman
Fri Jan 15, 2021 2:16 pm
Forum: Technical Discussion
Topic: Question about a print()
Replies: 28
Views: 162

Re: Question about a print()

I'll test on my Pi within a week.
by kwagyeman
Thu Jan 14, 2021 8:20 pm
Forum: General Topics
Topic: Any suggestion to detect the high-speed moving object
Replies: 5
Views: 98

Re: Any suggestion to detect the high-speed moving object

Um, so, you basically said I want a camera in an outdoor environment to detect birds accurately and not people. This is really hard. Lighting, clouds, etc, all make this very hard. Yes, if our system was powerful enough to run a CNN that could do bounding boxes them you could somewhat tackle the pro...
by kwagyeman
Thu Jan 14, 2021 4:32 pm
Forum: Technical Discussion
Topic: Question about a print()
Replies: 28
Views: 162

Re: Question about a print()

It should work on both. The only variable is the PySerial library. That is what actually does the USB stuff. My python code is rather generic.
by kwagyeman
Thu Jan 14, 2021 10:57 am
Forum: General Topics
Topic: Any suggestion to detect the high-speed moving object
Replies: 5
Views: 98

Re: Any suggestion to detect the high-speed moving object

Is there a way you can constrain the variables in your project? What you want to do right now is extremely hard.
by kwagyeman
Thu Jan 14, 2021 10:49 am
Forum: General Topics
Topic: Eye tracking with Ov7670
Replies: 1
Views: 27

Re: Eye tracking with Ov7670

Yeah, it's possible. We don't support the EPS32 or that camera being attached to it.
by kwagyeman
Thu Jan 14, 2021 10:48 am
Forum: General Topics
Topic: Trouble with RS-232
Replies: 3
Views: 41

Re: Trouble with RS-232

You can't connect RS232 voltage levels directly to the MCU. You need a MAX232 voltage level translator. The UART should be able to receive serial TTL at 5V or 3.3V levels.
by kwagyeman
Thu Jan 14, 2021 10:45 am
Forum: Technical Discussion
Topic: Question about a print()
Replies: 28
Views: 162

Re: Question about a print()

Please make a bug on github. I'll debug this. Sorry this doesn't work.
by kwagyeman
Thu Jan 14, 2021 1:12 am
Forum: Technical Discussion
Topic: Question about a print()
Replies: 28
Views: 162

Re: Question about a print()

The timeout is per 1KB of data. So, making it 0.02 is 20 ms to move 1KB of data. Mmm... Okay, copy this whole script to the SD card, but, then change the timeout lines here: https://github.com/openmv/openmv/blob/master/scripts/libraries/rpc.py#L542 timeout=timeout_ms -> timeout=timeout_ms*10 Verify ...
by kwagyeman
Thu Jan 14, 2021 12:50 am
Forum: Technical Discussion
Topic: Question about a print()
Replies: 28
Views: 162

Re: Question about a print()

by kwagyeman
Thu Jan 14, 2021 12:48 am
Forum: Technical Discussion
Topic: Question about a print()
Replies: 28
Views: 162

Re: Question about a print()

Ah... Mmm, I'll have to debug that using a USB packet analyzer. Most likely the timing is off causing the library to not work. It's really hard to debug via USB. If you can switch to the UART master? That should work. The issue is probably related to how pyserial buffers data on the pi. I'll have to...
by kwagyeman
Thu Jan 14, 2021 12:00 am
Forum: Technical Discussion
Topic: Question about a print()
Replies: 28
Views: 162

Re: Question about a print()

So, this script is on the PC: https://github.com/openmv/openmv/blob/master/tools/rpc/rpc_image_transfer_jpg_as_the_controller_device.py And this is on the camera: https://github.com/openmv/openmv/blob/master/scripts/examples/OpenMV/34-Remote-Control/image_transfer_jpg_as_the_remote_device_for_your_c...
by kwagyeman
Wed Jan 13, 2021 11:40 pm
Forum: Technical Discussion
Topic: Question about a print()
Replies: 28
Views: 162

Re: Question about a print()

It’s failing to grab the frame. What’s the OpenMV Cam running? Is it running the script that is designed to pair with that script?
by kwagyeman
Wed Jan 13, 2021 11:39 pm
Forum: General Topics
Topic: object detection
Replies: 1
Views: 51

Re: object detection

Hi, the H7 can’t handle a network that big. Please reduce the network resolution to 48x48 pixels.
by kwagyeman
Wed Jan 13, 2021 10:20 pm
Forum: Technical Discussion
Topic: Question about a print()
Replies: 28
Views: 162

Re: Question about a print()

Can you paste the log?
by kwagyeman
Wed Jan 13, 2021 2:06 pm
Forum: General Topics
Topic: Thoughts on this setup to avoid getting eaten by a bear?
Replies: 9
Views: 197

Re: Thoughts on this setup to avoid getting eaten by a bear?

You should capture some thermal images of bears and then train a CNN on that. This will give you the best result. I'd recommend to have the camera capturing snapshots. Every 10 seconds or so into multiple folders. Create a new folder each day and move new snapshots into those folders. Once you've ca...
by kwagyeman
Wed Jan 13, 2021 12:41 pm
Forum: Technical Discussion
Topic: Trouble converting ImageWriter to video (mp4) on H7 Plus
Replies: 14
Views: 107

Re: Trouble converting ImageWriter to video (mp4) on H7 Plus

To clarify on the above. For the longest, our firmware stored RGB565 pixels in a byte inverted manner because the camera generated images in big endian mode. On the original M4 OpenMV Cam we just didn't have time to fix this when launching the product. This wasn't an issue until we started trying to...
by kwagyeman
Wed Jan 13, 2021 12:36 pm
Forum: Technical Discussion
Topic: Trouble converting ImageWriter to video (mp4) on H7 Plus
Replies: 14
Views: 107

Re: Trouble converting ImageWriter to video (mp4) on H7 Plus

Hi, I was able to record GIF/MJPEG files without issue. I ran the examples with an SD card attached to the camera. Then once the examples were finished... I went to Tools->Reset Camera and then after the SD card popped up I dragged the file over to the PC and then use the Tools->Play Video feature t...
by kwagyeman
Wed Jan 13, 2021 12:24 pm
Forum: General Topics
Topic: Crash After Splash Screen (OMV2.6.8 Win10v1809 DellPrec7520)
Replies: 3
Views: 46

Re: Crash After Splash Screen (OMV2.6.8 Win10v1809 DellPrec7520)

It typically doesn't break. Not sure what happened.
by kwagyeman
Wed Jan 13, 2021 12:00 am
Forum: Technical Discussion
Topic: Trouble converting ImageWriter to video (mp4) on H7 Plus
Replies: 14
Views: 107

Re: Trouble converting ImageWriter to video (mp4) on H7 Plus

Hey, I’ll get to this in the morning.
by kwagyeman
Tue Jan 12, 2021 10:13 pm
Forum: Technical Discussion
Topic: Trouble converting ImageWriter to video (mp4) on H7 Plus
Replies: 14
Views: 107

Re: Trouble converting ImageWriter to video (mp4) on H7 Plus

Files being zero bytes is a known issue with how MP pydisks work. It doesn't mean the file is zero bytes in size.

Actually I winder about the zero bytes thing. It's never been a problem. But, I've noticed that.

Okay, I'll have some test results in about an hour.
by kwagyeman
Tue Jan 12, 2021 10:11 pm
Forum: General Topics
Topic: Crash After Splash Screen (OMV2.6.8 Win10v1809 DellPrec7520)
Replies: 3
Views: 46

Re: Crash After Splash Screen (OMV2.6.8 Win10v1809 DellPrec7520)

Delete <user_folder>\AppData\Roaming\OpenMV
by kwagyeman
Tue Jan 12, 2021 8:03 pm
Forum: Technical Discussion
Topic: Trouble converting ImageWriter to video (mp4) on H7 Plus
Replies: 14
Views: 107

Re: Trouble converting ImageWriter to video (mp4) on H7 Plus

I'm thinking maybe the file wasn't closed by the camera before you removed the SD card leaving the file corrupt. I'll try this right now and let you know if it works for me.
by kwagyeman
Tue Jan 12, 2021 6:28 pm
Forum: Technical Discussion
Topic: IOCTL_SET_TRIGGERED_MODE problem
Replies: 3
Views: 63

Re: IOCTL_SET_TRIGGERED_MODE problem

It doesn't matter the resolution. When the camera is triggered it doesn't read out an image until the next trigger.

Triggered mode gives you precise control of the exposure at the expense of loosing all pipelining in the image capture process.
by kwagyeman
Tue Jan 12, 2021 5:39 pm
Forum: Technical Discussion
Topic: Trouble converting ImageWriter to video (mp4) on H7 Plus
Replies: 14
Views: 107

Re: Trouble converting ImageWriter to video (mp4) on H7 Plus

Question, did you copy the file from the SD card to the PC? Do not try to launch the viewer program from the file on the as card directly.

Will check when I get home.
by kwagyeman
Tue Jan 12, 2021 5:37 pm
Forum: Technical Discussion
Topic: Saved GIF or Video looks psychedelic and not like preview
Replies: 3
Views: 34

Re: Saved GIF or Video looks psychedelic and not like preview

This shouldn’t happen with MJPEG or image writer files. I’ll check your other post.
by kwagyeman
Tue Jan 12, 2021 3:40 pm
Forum: Technical Discussion
Topic: Saved GIF or Video looks psychedelic and not like preview
Replies: 3
Views: 34

Re: Saved GIF or Video looks psychedelic and not like preview

GIF Recording is done in an uncompressed way with only 7-bit RGB color. This is... 2-bits for red, 3-bits for green, and 2-bits for blue. This feature is really old and was made for the M4 original camera over 4 years ago. I can look into updating the GIF code to do a better job. It really hasn't se...
by kwagyeman
Tue Jan 12, 2021 12:23 pm
Forum: Technical Discussion
Topic: Unstable QR code detection
Replies: 7
Views: 109

Re: Unstable QR code detection

Just to note, the Qr library just might be broken in a way. However, if you are willing to use the system with this in mind I can schedule an upgrade of the code soonish and fix these issues with a new refresh of the qr library. E.g. within 2-3 months.
by kwagyeman
Tue Jan 12, 2021 12:22 pm
Forum: Technical Discussion
Topic: Unstable QR code detection
Replies: 7
Views: 109

Re: Unstable QR code detection

Can you send me a picture of the Qr code that I can print on my printer?
by kwagyeman
Mon Jan 11, 2021 5:28 pm
Forum: Technical Discussion
Topic: Unstable QR code detection
Replies: 7
Views: 109

Re: Unstable QR code detection

Our QrCode library is based on quirc: https://github.com/dlbeer/quirc However, I want to update it to use ZBAR's qrcode module instead. The code really hasn't receive any love in over 3 years. So, maybe regressions have broken things. Anyway, can you make the contrast in the image higher? I'll check...
by kwagyeman
Mon Jan 11, 2021 12:46 pm
Forum: Technical Discussion
Topic: Furla
Replies: 11
Views: 105

Re: Furla

We don’t have any support for programming in visual studio.
by kwagyeman
Sat Jan 09, 2021 10:49 pm
Forum: Arduino Portenta H7
Topic: Using the Portenta's IMU with Micropython code
Replies: 7
Views: 99

Re: Using the Portenta's IMU with Micropython code

We got something you will like coming soon :)

Go to advanced search