Search found 845 matches

by iabdalkader
Mon Jun 24, 2019 8:09 pm
Forum: Technical Discussion
Topic: Issue with lens fit
Replies: 2
Views: 1046

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: 21
Views: 10210

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: 1029

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: 21
Views: 10210

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: 1549

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: 1549

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: 1549

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 1465 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: 1549

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: 1549

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: 1549

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: 1549

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: 933

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: 933

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: 666

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: 2168

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: 592

Re: image areas analyse

Hi, use pgm for now there seems to be a bug in bmp code.
by iabdalkader
Wed Jun 05, 2019 6:09 pm
Forum: Technical Discussion
Topic: OSError: failed to init WINC1500 module
Replies: 16
Views: 1473

Re: OSError: failed to init WINC1500 module

Do you wait long enough for it to connect, get ip etc.. and print ?
by iabdalkader
Wed Jun 05, 2019 5:27 pm
Forum: Technical Discussion
Topic: OSError: failed to init WINC1500 module
Replies: 16
Views: 1473

Re: OSError: failed to init WINC1500 module

Now... there is a new problem. The Serial Terminal output remains at: >>> Trying to connect... (may take a while)... Running in Station mode... Tried with: "connect_1.py", "tcp_client_1.py" and "dns_1.py" What can be the reason? What is the problem ? It seems running normal. Did you set the SSID an...
by iabdalkader
Wed Jun 05, 2019 5:07 pm
Forum: Technical Discussion
Topic: OSError: failed to init WINC1500 module
Replies: 16
Views: 1473

Re: OSError: failed to init WINC1500 module

Please note when you solder the headers they should look like this:
web-new-cam-v3-angle_grande.jpg
by iabdalkader
Wed Jun 05, 2019 4:11 pm
Forum: Technical Discussion
Topic: OSError: failed to init WINC1500 module
Replies: 16
Views: 1473

Re: OSError: failed to init WINC1500 module

Bottom right corner of the IDE when you connect.
Screenshot from 2019-06-05 22-11-44.png
by iabdalkader
Wed Jun 05, 2019 3:48 pm
Forum: Technical Discussion
Topic: OSError: failed to init WINC1500 module
Replies: 16
Views: 1473

Re: OSError: failed to init WINC1500 module

How do you connect the shield ? A photo would help us a lot. And what firmware version do you have on those cameras ?
by iabdalkader
Wed Jun 05, 2019 3:29 pm
Forum: Technical Discussion
Topic: OpenMV and NodeMCU cant work together
Replies: 1
Views: 455

Re: OpenMV and NodeMCU cant work together

I don't understand you, can you try to explain it again ? Also a picture of the wiring would help.
by iabdalkader
Wed Jun 05, 2019 10:49 am
Forum: Technical Discussion
Topic: OPENMV H7 stopped working
Replies: 7
Views: 1022

Re: OPENMV H7 stopped working

You could just format the SD card (fat or exFAT will work) or try a different card.
by iabdalkader
Wed Jun 05, 2019 10:45 am
Forum: General Topics
Topic: UVC mode couldn't work on openmv3 M7
Replies: 8
Views: 3683

Re: UVC mode couldn't work on openmv3 M7 with Windows 10

Hello, I'd like to use the OpenMV Cam M7 with UVC firmware. While I can successfully connect it and use it in Linux Ubuntu (with guvcview or Skype), I cannot make it work in Windows 10. I saw that other people had the same problem. Are there any news about it? Thanks, Ronnye Yes it doesn't work on ...
by iabdalkader
Wed Jun 05, 2019 10:44 am
Forum: Technical Discussion
Topic: How to raise an interrupt from existing ADC
Replies: 3
Views: 565

Re: How to raise an interrupt from existing ADC

I understand that interrupts can be of use here. But how to raise an interrupt from ADC which continuously raises and falls? I don't think you can do that, there's no sleep/wake on ADC at least not that I know of. Alternatively you could just put the cam in low power, wake up, check adc and back to...
by iabdalkader
Wed Jun 05, 2019 10:31 am
Forum: Technical Discussion
Topic: Need explanation of nn.c
Replies: 3
Views: 604

Re: Need explanation of nn.c

Yes the input range is 0-255 as I've told you before and you could always print the input/output values, build the code and see the values. BTW the scaling part comes from ARM ML examples, you may find more help there: https://github.com/ARM-software/ML-examples https://github.com/ARM-software/CMSIS_5
by iabdalkader
Tue Jun 04, 2019 7:49 pm
Forum: Technical Discussion
Topic: uart request / response snapshot
Replies: 3
Views: 679

Re: uart request / response snapshot

Yes you'll find so many examples for this if you search the forums: http://forums.openmv.io/search.php?keywords=arduino+uart+serial http://forums.openmv.io/search.php?keywords=arduino%2Buart&terms=all&author=&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search They don't do exactly w...
by iabdalkader
Tue Jun 04, 2019 10:58 am
Forum: Technical Discussion
Topic: set gain ceiling
Replies: 4
Views: 792

Re: set gain ceiling

chrisPyres66 wrote:
Tue Jun 04, 2019 10:53 am
But i dont still understand teh relationship between gain and register ?
I think it's explained some where in an appnote.
by iabdalkader
Tue Jun 04, 2019 9:58 am
Forum: Technical Discussion
Topic: set gain ceiling
Replies: 4
Views: 792

Re: set gain ceiling

set_gainceiling takes multipliers not db. So 4 means 4x the value is the max gain.
by iabdalkader
Tue Jun 04, 2019 9:53 am
Forum: Technical Discussion
Topic: Need explanation of nn.c
Replies: 3
Views: 604

Re: Need explanation of nn.c

Yes it removes the mean from every channel and scales the input in one step.
by iabdalkader
Wed May 29, 2019 9:39 pm
Forum: General Topics
Topic: Camera communication with Arduino Mega
Replies: 15
Views: 3739

Re: Camera communication with Arduino Mega

It looks like it's working
Screenshot from 2019-05-30 03-39-13.png
You should double check your wiring and test the same example, if it still doesn't work maybe you have damaged your board after all.
by iabdalkader
Wed May 29, 2019 7:47 pm
Forum: General Topics
Topic: Camera communication with Arduino Mega
Replies: 15
Views: 3739

Re: Camera communication with Arduino Mega

No it doesn't, this isn't defined:

Code: Select all

labels[max_idx]
labels and max_idx.

At least run the code before you send it.
by iabdalkader
Wed May 29, 2019 6:15 pm
Forum: General Topics
Topic: Camera communication with Arduino Mega
Replies: 15
Views: 3739

Re: Camera communication with Arduino Mega

Do you initialize the serial port and set the baudrate to 9600 ? Like this:

Code: Select all

uart = UART(3, 9600, timeout_char = 1000)
I can't test your code unless you send a working example. Please understand that I have limited time.
by iabdalkader
Wed May 29, 2019 4:45 pm
Forum: General Topics
Topic: Camera communication with Arduino Mega
Replies: 15
Views: 3739

Re: Camera communication with Arduino Mega

I just realized that you don't even initialize UART. Please try the built-in Examples or search the forums for examples and if it doesn't work let me know and I'll test it. Note id() returns the ID of an object (think of it like a memory address) it's a unique ID for the object, you should compare t...
by iabdalkader
Wed May 29, 2019 4:10 pm
Forum: General Topics
Topic: Camera communication with Arduino Mega
Replies: 15
Views: 3739

Re: Camera communication with Arduino Mega

Hi, what is labels, where is it defined and where it's written to ? And this part: messageCheck = 209 #ID for letter h if (id(messageReceived) == messageCheck): Do you compare the object id to 209 ? Why would the object ID equal 209 ? https://docs.python.org/2/library/functions.html#id
by iabdalkader
Wed May 29, 2019 12:06 pm
Forum: General Topics
Topic: Camera communication with Arduino Mega
Replies: 15
Views: 3739

Re: Camera communication with Arduino Mega

if you could test my code, maybe with an easier version of just sending letters or numbers to each other
I haven't had the time yet, it would be helpful if you could provide an simpler example that shows the same issue
by iabdalkader
Tue May 28, 2019 6:06 pm
Forum: Technical Discussion
Topic: lens correction not working as expected
Replies: 2
Views: 3012

Re: lens correction not working as expected

It could be a rounding issue, we use floats. The algorithm is based on this:
http://www.tannerhelland.com/4743/simpl ... istortion/

And this is our code:

https://github.com/openmv/openmv/blob/m ... lib.c#L800
by iabdalkader
Tue May 28, 2019 6:02 pm
Forum: General Topics
Topic: Camera communication with Arduino Mega
Replies: 15
Views: 3739

Re: Camera communication with Arduino Mega

It's hard to tell by just looking at all the code, I could test it tomorrow and get back to you. In the meantime, you say it used to work I'd double check the wiring, also if you search the forums you'll find many working Arduino examples try some of them and see if they work.
by iabdalkader
Tue May 28, 2019 4:02 pm
Forum: Technical Discussion
Topic: DIY LCD-shield
Replies: 2
Views: 3220

Re: DIY LCD-shield

That's a ferrite bead (MPZ1608S181ATAH0) it's for filtering the power supply, you don't absolutely have to use it.
by iabdalkader
Tue May 28, 2019 7:34 am
Forum: Technical Discussion
Topic: Heap Memory Error problem.
Replies: 4
Views: 3173

Re: Heap Memory Error problem.

The H7 has more RAM but I can't say for sure if it will be enough for your project without more details. And no you don't need to reset the cam after each save.
by iabdalkader
Mon May 27, 2019 11:42 pm
Forum: Technical Discussion
Topic: OpenMV Cam M7 Text Recognition
Replies: 7
Views: 3793

Re: OpenMV Cam M7 Text Recognition

It's for retraining the network, you said you wanted to retrain the network to work on the F7.
by iabdalkader
Mon May 27, 2019 5:44 pm
Forum: Technical Discussion
Topic: Remote Camera
Replies: 2
Views: 3438

Re: Remote Camera

I think we have a feature to run code on recorded videos, if all you need is to capture a video outside that would be the best. For what it's worth, WiFi programming is working, at least when I test it, but it could use improvements, also the the range might be limited. Another option is to use ESP3...
by iabdalkader
Sun May 26, 2019 9:18 am
Forum: Project Discussion
Topic: Detect a candle fire using OpenMV H7 and FLIR
Replies: 13
Views: 5028

Re: Detect a candle fire using OpenMV H7 and FLIR

You can definitely use FLIR for this, but note it's limited to 9FPS.
by iabdalkader
Fri May 24, 2019 4:23 pm
Forum: General Topics
Topic: OpenMV Problem
Replies: 2
Views: 3057

Re: OpenMV Problem

Have you tried re-flashing the firmware ? Tools->Run Bootloader
by iabdalkader
Fri May 24, 2019 10:09 am
Forum: Technical Discussion
Topic: h7 CAN not available
Replies: 21
Views: 10210

Re: h7 CAN not available

Hi Stefan,

There's an open PR here with all my changes:

https://github.com/micropython/micropython/pull/4793
by iabdalkader
Tue May 21, 2019 10:14 pm
Forum: Technical Discussion
Topic: Exchange the X and Y axis ...
Replies: 6
Views: 3292

Re: Exchange the X and Y axis ...

Do you need to rotate the image ? See replace and transpose:

http://docs.openmv.io/library/omv.image ... ge.replace
by iabdalkader
Tue May 21, 2019 10:05 am
Forum: Technical Discussion
Topic: h7 CAN not available
Replies: 21
Views: 10210

Re: h7 CAN not available

Great, attached a firmware image that enables FDCAN. You just need to test with something like this: from pyb import CAN can = CAN(2, CAN.LOOPBACK) can.send('Hello', 123)# send message with id 123 from pyb import CAN can = CAN(2, CAN.LOOPBACK) print(can.recv(0, timeout=10000)) # receive message on F...
by iabdalkader
Mon May 20, 2019 1:12 pm
Forum: Technical Discussion
Topic: LCD type
Replies: 28
Views: 7112

Re: LCD type

Actually that patch for 65535 bytes limit has been merged in our code (and upstream) a long time ago. Maybe you have an old firmware.
by iabdalkader
Sun May 19, 2019 8:47 pm
Forum: General Topics
Topic: Tringale detection
Replies: 2
Views: 2240

Re: Tringale detection

No there's no function to detect triangles, but it could be extended to detect that in the future.
by iabdalkader
Sun May 19, 2019 6:32 pm
Forum: Technical Discussion
Topic: LCD type
Replies: 28
Views: 7112

Re: LCD type

Do you have a link for that PR ? or a link to where the issue was discussed ? I don't remember this bug.

Go to advanced search