Search found 879 matches

by iabdalkader
Wed Jul 17, 2019 7:30 am
Forum: Technical Discussion
Topic: Converting OpenCV Haar Cascades format
Replies: 2
Views: 98

Re: Converting OpenCV Haar Cascades format

You need to provide an XML Haar cascade file:

python2 cascade_convert.py cascade.xml


Note please search the forums before posting.
by iabdalkader
Tue Jul 16, 2019 4:17 pm
Forum: General Topics
Topic: What is the simplest way to create my own python function ?
Replies: 3
Views: 234

Re: What is the simplest way to create my own python function ?

There's no documentation for this you have to read the code. To keep your changes, you have to know your way around github. If your function is general and useful enough, send a pull request and we'll merge it in the upstream firmware.
by iabdalkader
Tue Jul 16, 2019 7:11 am
Forum: General Topics
Topic: OpenMV Steering gear control
Replies: 1
Views: 202

Re: OpenMV Steering gear control

No.
by iabdalkader
Sun Jul 14, 2019 6:03 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 44
Views: 6799

Re: saving video on SD card

The 2MBs cited is the whole flash size, a large part of the flash is used for the firmware image. The internal/flash file system is around 100KBs. I don't understand your second question, just connect the SD card and connect the camera via USB and the SD card will be mounted.
by iabdalkader
Sat Jul 13, 2019 3:44 pm
Forum: Project Discussion
Topic: Minimal detect AprilTag (don't need tag ID) with better range?
Replies: 7
Views: 334

Re: Minimal detect AprilTag (don't need tag ID) with better range?

Is this a DRAM camera like this: https://hackaday.com/2014/04/05/taking-pictures-with-a-dram-chip/ Or is a DRAM module between the camera sensor and the mcu ? If it is between the sensor and the mcu will it slot between either the rolling or global shutter modules or is it on a board with its own s...
by iabdalkader
Fri Jul 12, 2019 5:35 pm
Forum: Technical Discussion
Topic: Capturing a 1 MP image
Replies: 5
Views: 196

Re: Capturing a 1 MP image

I'm looking at an application to capture a 1MP image from the AR0135 image sensor with OpenMV. For this we would like to add a driver for this sensor. Any guidelines that we can follow for this? Nothing official, you'd have to look at how other sensors are supported. For example, someone just added...
by iabdalkader
Fri Jul 12, 2019 7:01 am
Forum: General Topics
Topic: OpenMV positioning
Replies: 2
Views: 120

Re: OpenMV positioning

Do you mean something like SLAM ? no, that requires much more memory and processing power than the H7.
by iabdalkader
Fri Jul 12, 2019 6:58 am
Forum: General Topics
Topic: Size of usb key mounted as openmv
Replies: 1
Views: 55

Re: Size of usb key mounted as openmv

No the filesystem is cached in memory, and the way it's designed limits the filesystem to the smaller sectors at the beginning of the flash (16 or 32). So it can't be increased.
by iabdalkader
Thu Jul 11, 2019 3:28 pm
Forum: General Topics
Topic: H7 Camera Extension Cable
Replies: 3
Views: 183

Re: H7 Camera Extension Cable

Hi, you can order the cable from our store now:

https://openmv.io/collections/products/ ... sion-cable

We'll be updating the product info later.
by iabdalkader
Thu Jul 11, 2019 10:36 am
Forum: General Topics
Topic: H7 Camera Extension Cable
Replies: 3
Views: 183

Re: H7 Camera Extension Cable

Hi, we have this cable in stock now, you'll be able to order from us directly after make a new product page for the cable, this could take a day or two.
by iabdalkader
Thu Jul 11, 2019 7:55 am
Forum: Technical Discussion
Topic: OSError -12 while running mqtt demo
Replies: 6
Views: 350

Re: OSError -12 while running mqtt demo

Sorry I'm not an expert in MQTT, can't help with that.
by iabdalkader
Wed Jul 10, 2019 5:48 pm
Forum: General Topics
Topic: Power supplied of Openmv4 H7 with TOF module
Replies: 9
Views: 574

Re: Power supplied of Openmv4 H7 with TOF module

Can you share a link to the TOF module ?
by iabdalkader
Tue Jul 09, 2019 6:27 pm
Forum: Technical Discussion
Topic: OSError -12 while running mqtt demo
Replies: 6
Views: 350

Re: OSError -12 while running mqtt demo

Hi, it looks like an issue with the broker... This one works:

broker.hivemq.com
by iabdalkader
Mon Jul 08, 2019 7:44 pm
Forum: Technical Discussion
Topic: OSError -12 while running mqtt demo
Replies: 6
Views: 350

Re: OSError -12 while running mqtt demo

I'll test it and get back to you.
by iabdalkader
Thu Jul 04, 2019 8:35 am
Forum: General Topics
Topic: H7 compilation
Replies: 4
Views: 284

Re: H7 compilation

I use stlink and gdb, but stlink doesn't support H7 yet.

https://github.com/texane/stlink
by iabdalkader
Wed Jul 03, 2019 12:12 pm
Forum: General Topics
Topic: H7 compilation
Replies: 4
Views: 284

Re: H7 compilation

I think you need to build openocd from source, or maybe try one of these builds:

http://gnutoolchains.com/arm-eabi/openocd/

I never had to debug the H7 with openocd so far, so I can't help.

EDIT: Maybe this will help:

https://hackaday.io/page/4773-bringing- ... nocd-linux
by iabdalkader
Wed Jul 03, 2019 12:08 pm
Forum: General Topics
Topic: cpufreq Pb with OpenMv H7 (V3.4.2)
Replies: 3
Views: 391

Re: cpufreq Pb with OpenMv H7 (V3.4.2)

Hi, the cpufreq module doesn't support the H7 yet, you should open a feature request issue on github.
by iabdalkader
Tue Jul 02, 2019 8:28 am
Forum: Technical Discussion
Topic: h7 CAN not available
Replies: 23
Views: 18762

Re: h7 CAN not available

Wow thank you, this is very useful indeed. I just got our CAN shields and will be working on this next weekend and I'll add these changes the code. We had to set prescaler=16, sjw=1, bs1=8, bs2=3 in can.init although we expected prescaler=18 according to stm32 cube mx. I'm guessing maybe the project...
by iabdalkader
Tue Jul 02, 2019 5:43 am
Forum: Technical Discussion
Topic: Questions on modularity
Replies: 7
Views: 3627

Re: Questions on modularity

There's no need for all that, an SDRAM version is coming really soon, we're just testing it and working on software support.
by iabdalkader
Mon Jul 01, 2019 5:28 pm
Forum: Technical Discussion
Topic: LED / IR LEDS
Replies: 5
Views: 483

Re: LED / IR LEDS

pcarlini wrote:
Mon Jul 01, 2019 5:11 pm
oki....
Any idea if IR LED light goes through the bkack cover or the pcb under the sensor?
thanks for the prompt answer.
Regards,
Pablo
Probably both.
by iabdalkader
Mon Jul 01, 2019 4:17 pm
Forum: Technical Discussion
Topic: LED / IR LEDS
Replies: 5
Views: 483

Re: LED / IR LEDS

Hi, you can put a piece of black electrical tape on the back of the sensor, however it may not help as the IR LEDs are powerful. As for the RGB LED, you don't have to use it you can just switch it off. Another option for the IR LEDs, you can get one of the prototyping shields and build an IR shield ...
by iabdalkader
Mon Jul 01, 2019 11:47 am
Forum: General Topics
Topic: Baud rate
Replies: 3
Views: 863

Re: Baud rate

finnleh wrote:
Mon Jul 01, 2019 10:15 am
Yes, I did. In the setup, I set all baud Rates to 115200. Do i have to change it somewhere in the openmv code as well? Or does it do that automatically?
Yes you have to set the baud rate in the code:

Code: Select all

uart = UART(3, 115200, timeout_char=1000)
by iabdalkader
Mon Jul 01, 2019 11:38 am
Forum: General Topics
Topic: Two Issues about autostart
Replies: 9
Views: 1445

Re: Two Issues about autostart

It could take a while we have a lot of issues to fix.
by iabdalkader
Mon Jul 01, 2019 10:09 am
Forum: General Topics
Topic: Baud rate
Replies: 3
Views: 863

Re: Baud rate

No it should work with any baud rate, do you also change the baud rate on the Arduino ?
by iabdalkader
Mon Jul 01, 2019 9:31 am
Forum: Technical Discussion
Topic: Questions on modularity
Replies: 7
Views: 3627

Re: Questions on modularity

chrisPyres66 wrote:
Mon Jul 01, 2019 3:57 am
Do you think is it possible to do a external ram shield ?
An SPI SRAM maybe, but it's too slow.
by iabdalkader
Sun Jun 30, 2019 12:00 pm
Forum: General Topics
Topic: Cascade Convert Problem
Replies: 1
Views: 584

Re: Cascade Convert Problem

Hi, is this an LBP or HoG cascade ? We only support the Haar cascade.
by iabdalkader
Sat Jun 29, 2019 7:03 pm
Forum: General Topics
Topic: Two Issues about autostart
Replies: 9
Views: 1445

Re: Two Issues about autostart

That's true, I confirmed there's an issue with RTC waking up the MCU. It will be fixed in the next release.
by iabdalkader
Sat Jun 29, 2019 6:09 pm
Forum: General Topics
Topic: Two Issues about autostart
Replies: 9
Views: 1445

Re: Two Issues about autostart

Hi, I tested your code and it works fine on the F7 but not on the H7. It seems the low-power modes are broken on the H7 (I think it's the RTC), anyway I'll fix this in the next release.

EDIT: You should open an issue on github to make sure we don't forget to fix this.
by iabdalkader
Sat Jun 29, 2019 4:45 pm
Forum: General Topics
Topic: Reset doesn't work
Replies: 8
Views: 1577

Re: Reset doesn't work

I'm not sure, maybe main.py is corrupted and that causes the camera to reset. Either way, you can "reset" the firmware+filesystem from Tools->Run Bootloader and make sure "Erase internal filesystem" is checked.
by iabdalkader
Sat Jun 29, 2019 4:40 pm
Forum: General Topics
Topic: How to use my Haar cascade
Replies: 1
Views: 603

Re: How to use my Haar cascade

Yes you need to convert it to a binary file first, please see the following post:

viewtopic.php?f=3&t=888
by iabdalkader
Fri Jun 28, 2019 7:27 pm
Forum: General Topics
Topic: Reset doesn't work
Replies: 8
Views: 1577

Re: Reset doesn't work

It doesn’t reset...there is still everything on the camera after I pressed reset and waited for it to finish. My code, the network I saved. Normally, it would all get deleted, if I reset the camera, right? Or do I do something wrong? How do I reflash the firmware? Thanks for your help, Finn What do...
by iabdalkader
Thu Jun 27, 2019 7:00 pm
Forum: Technical Discussion
Topic: nn_convert.py
Replies: 1
Views: 345

Re: nn_convert.py

flapique wrote:
Thu Jun 27, 2019 12:25 pm
Is there a version of nn_convert.py for python3 ?
No, I haven't actually tried to run it with Python3, but it should work. If it doesn't, I could make the necessary changes to make it work with Python3 (if possible).
by iabdalkader
Wed Jun 26, 2019 2:13 pm
Forum: Technical Discussion
Topic: Questions on modularity
Replies: 7
Views: 3627

Re: Questions on modularity

chrisPyres66 wrote:
Wed Jun 26, 2019 10:27 am
Have you have already think about how to add SDRAM for increasing heap, and size of main.py or cnn ?
Yes we're going to make a camera with SDRAM, the prototype already works. I can't give you any estimates when it's going to be released, soon I hope.
by iabdalkader
Mon Jun 24, 2019 8:09 pm
Forum: Technical Discussion
Topic: Issue with lens fit
Replies: 5
Views: 7549

Re: Issue with lens fit

Hi, yes we know about this issue, it's just some of the lens mounts are tighter. We don't test every single one we just replace them if there's an issue.
by iabdalkader
Thu Jun 20, 2019 12:15 pm
Forum: Technical Discussion
Topic: h7 CAN not available
Replies: 23
Views: 18762

Re: h7 CAN not available

I'll update this thread as soon as we have any news about this.
by iabdalkader
Thu Jun 20, 2019 12:15 pm
Forum: Technical Discussion
Topic: FPS differences between M7 and H7
Replies: 2
Views: 5193

Re: FPS differences between M7 and H7

Let's say I have an application with a 320*240 resolution in color that does blob_detection on a 320*50 roi, an april tag detection on a 160*120 roi and a lines detection on a 320*120 roi. It runs on a M7 at 10 FPS. Which FPS (roughly) could I reach if I switch to a H7 ? It's really hard to estimat...
by iabdalkader
Thu Jun 20, 2019 11:25 am
Forum: Technical Discussion
Topic: h7 CAN not available
Replies: 23
Views: 18762

Re: h7 CAN not available

Does it mean that filter is not yet implemented at all ? Because, in my opinion, filtering is a necessary feature when dealing with CAN. No basic filtering has been implemented, however the driver still needs some more work. I'll continue working on the driver this month, should be ready with the n...
by iabdalkader
Wed Jun 19, 2019 11:01 pm
Forum: General Topics
Topic: Transferring images from OpenMV 7 to PC takes 1.3 seconds
Replies: 13
Views: 8179

Re: Transferring images from OpenMV 7 to PC takes 1.3 seconds

Maybe, I used Python 2.7 and pip to install pyserial, pygame etc... you should try that in a Windows VM and see if it works.
by iabdalkader
Tue Jun 18, 2019 5:51 pm
Forum: General Topics
Topic: Transferring images from OpenMV 7 to PC takes 1.3 seconds
Replies: 13
Views: 8179

Re: Transferring images from OpenMV 7 to PC takes 1.3 seconds

test.py just prints "Hello World!" and main.py is the default created with a fresh filesystem (blinks the blue LED).
by iabdalkader
Tue Jun 18, 2019 3:45 pm
Forum: General Topics
Topic: Transferring images from OpenMV 7 to PC takes 1.3 seconds
Replies: 13
Views: 8179

Re: Transferring images from OpenMV 7 to PC takes 1.3 seconds

Hi I tested both scripts with 3.4.1 on Windows 10, and they're both working fine:
Helloworld test:
Capture.PNG
Capture.PNG (4.42 KiB) Viewed 8095 times
And this is a framebuffer test:
Capture2.PNG

The only thing I can think of is there must be something in your main.py that's using USB VCP.
by iabdalkader
Mon Jun 17, 2019 5:47 pm
Forum: General Topics
Topic: Transferring images from OpenMV 7 to PC takes 1.3 seconds
Replies: 13
Views: 8179

Re: Transferring images from OpenMV 7 to PC takes 1.3 seconds

Also please make sure you don't have any scripts running that use VCP. Like if main.py uses VCP it will break the script.
by iabdalkader
Mon Jun 17, 2019 5:46 pm
Forum: General Topics
Topic: Transferring images from OpenMV 7 to PC takes 1.3 seconds
Replies: 13
Views: 8179

Re: Transferring images from OpenMV 7 to PC takes 1.3 seconds

I'll try to test it later tonight, what's your firmware version ? IDE version ? And Windows ?
by iabdalkader
Mon Jun 17, 2019 4:19 pm
Forum: General Topics
Topic: Transferring images from OpenMV 7 to PC takes 1.3 seconds
Replies: 13
Views: 8179

Re: Transferring images from OpenMV 7 to PC takes 1.3 seconds

Are you also using the IDE at the same time ? You shouldn't connect the IDE when using this script.
by iabdalkader
Mon Jun 17, 2019 4:03 pm
Forum: General Topics
Topic: Transferring images from OpenMV 7 to PC takes 1.3 seconds
Replies: 13
Views: 8179

Re: Transferring images from OpenMV 7 to PC takes 1.3 seconds

I was using the upython script included at the beginning of 'pyopenmv_fb.py' but I noticed that it has no print or usb.send command so I'm not sure how the image would be transferred? pyopenmv_fb.py uses the debugging mode to execute a script that updates the fb (the example script at the beginning...
by iabdalkader
Thu Jun 13, 2019 1:59 pm
Forum: Technical Discussion
Topic: OpenMV M7 : Memory error - how to make frozen code ?
Replies: 3
Views: 3550

Re: OpenMV M7 : Memory error - how to make frozen code ?

Okay I tested your code on H7 and it doesn't run out of memory, but you're still going to have issues with threading. I see threading is only used in the main script and not in the library, so you should be able to get this code working without threads on the M7 (maybe with frozen code) or on the H7.
by iabdalkader
Thu Jun 13, 2019 1:45 pm
Forum: Technical Discussion
Topic: OpenMV M7 : Memory error - how to make frozen code ?
Replies: 3
Views: 3550

Re: OpenMV M7 : Memory error - how to make frozen code ?

The M7 is OPENMV3 board. Frozen code is built into the image (otherwise it would need RAM), so it will require a firmware flash yes. The easiest solution would be to get the H7 with more RAM (128KBs heap). EDIT: I don't think you're running out of heap memory, I think it's an issue with threads. We ...
by iabdalkader
Tue Jun 11, 2019 9:48 am
Forum: General Topics
Topic: polar coordinates
Replies: 1
Views: 3212

Re: polar coordinates

Code: Select all

import math

def polar(cx, cy):
    return (math.sqrt(cx**2+ cy**2), math.atan(cy/cx) * 180 / math.pi)
print(polar(10, 10))
by iabdalkader
Sat Jun 08, 2019 7:08 pm
Forum: Technical Discussion
Topic: Problem: Broadcast Discovery Port
Replies: 14
Views: 7136

Re: Problem: Broadcast Discovery Port

@KevinFreese Do you also get the warning message about the discovery port ? I'm just guessing but it's possible that when the port is reserved or can't be used by the IDE, it gets stuck trying to open that port. Anyway, we'll work on getting this bug fixed very soon.
by iabdalkader
Thu Jun 06, 2019 12:58 pm
Forum: Technical Discussion
Topic: image areas analyse
Replies: 1
Views: 3142

Re: image areas analyse

Hi, use pgm for now there seems to be a bug in bmp code.

Go to advanced search