Search found 29 matches

by levinpqr
Sun Nov 25, 2018 2:41 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Thank you!
by levinpqr
Wed Nov 21, 2018 1:16 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Do you have any sample cascade networks that maybe I can use? I am currently using OPENMV with a drone to follow humans, however facial detection seems to dangerous and near-sighted for drones.

Thanks
by levinpqr
Wed Nov 21, 2018 1:00 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! I tried placing it on the camera, but when I ran the script, this shows:
by levinpqr
Tue Sep 25, 2018 4:25 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! Any news? :)
by levinpqr
Wed Sep 19, 2018 6:25 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! I created a cascade file using the cascade_convert.py I found online. So, I placed it in the /home/openmvide folder. I tried to run the code (using the new cascade) as seen on the attached image but it had an error that said it can't find the path. Sorry I know its a basic question... I tried...
by levinpqr
Wed Sep 19, 2018 4:57 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! Thank you for the many many help... I've accomplished a lot of projects and features with this camera! I was wondering, by the way, is there any way I could import my own classifier xml file. Let's say I want to do Upper Body Detection using an upper body xml, how would I import that? I could...
by levinpqr
Tue Aug 07, 2018 6:00 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Sorry for that previous reply.. Please disregard this... Is there a way I can run the python script of the OpenMVIDE using the pyopenmv.py through the serial connection?

I tried changing the /dev/openmvcam port of the pyopenmv.py to /dev/ttyS0 which is the serial port, but it didn't work. Thanks
by levinpqr
Tue Aug 07, 2018 12:17 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello sir! Thank you for the help! However I encountered another problem. I have attached one of my cams to a gimbal as seen on the attachment... however my USB connection to the RPi gets cut off suddenly. Do u have any suggestions for this? Thanks
by levinpqr
Mon Aug 06, 2018 10:45 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! Sorry for the late response, but I had it working already. Thanks for the many help!... The serial.read(# of bytes) didnt really read accurately so I just assigned a value bigger than the number of bytes of the image... I was able to get the right data by searching for the start bytes: '\xff\...
by levinpqr
Wed Jul 25, 2018 7:33 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! I tried doing what you suggested with the following revisions of the code... So the serial port delivers the length of the bytes of the image and the USBVCP delivers the image in bytes (as seen in the first picture)... The python script receiving this takes the bytes and stores it in the stri...
by levinpqr
Tue Jul 24, 2018 5:38 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! I tried streaming the image through the USB VCP class and the byte size of the image through the UART class as seen on the first image... But when I try to read the amount of bytes in the usb connection (as seen in the 2nd image), it says the buffer is not large enough... I searched for the s...
by levinpqr
Mon Jul 23, 2018 9:34 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Thanks! Will try that soon! Anyway, I'm trying to determine the distance of a human from the camera through the image it sees, and I've tried doing some experiments on determining the focal length of the camera, however my experiments were not that consistent... Any chance you guys know what the foc...
by levinpqr
Sun Jul 22, 2018 11:34 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! I bought multiple of these openmv cameras, and I wanted to use them in different ways... Since I attached my openmv cam to a gimbal of a drone, it is extremely difficult for the gimbal to carry the camera with a usb connected to it (used for real-time image streaming)... so I wanted to ask if...
by levinpqr
Mon Jul 16, 2018 4:16 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

I tried it but unfortunately, I added the roi=[0,0,240,160] to the find_features() method, but the image is still cropped...
by levinpqr
Sun Jul 15, 2018 4:10 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! I'm sorry, I had no idea how to set the ROI to 240x120 after the image.snapshot() and image.rotation_corr() have been called... I couldn't find a method that set the windowing to 240x120... I tried image.copy() and printed it on the Open Terminal, but I didn't quite get the dimensions I neede...
by levinpqr
Sat Jul 14, 2018 3:16 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

yes... i thought of using a square dimensions too so that rotating it wouldn't be a problem... but I saw in the comments of the facial detection examples code that the 240x160 was the best for facial recognition... What can you suggest to be the best square dimensions for facial recognition... Thanks!
by levinpqr
Sat Jul 14, 2018 12:44 pm
Forum: Technical Discussion
Topic: Can't Save Script to OpenMV Cam
Replies: 1
Views: 866

Can't Save Script to OpenMV Cam

Hello! I've been having trouble with the Tools/Save Open Script to OpenMV Cam function... so I wanted to save my python script to my openmv so that it runs the moment i boot the camera.. however when I do the Tools/Save Open Script to OpenMV Cam then Tools/Reset OpenMV Cam.... Then I go to see the m...
by levinpqr
Fri Jul 13, 2018 12:26 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Thank you! I see the dev/openmvcam did appear on my /dev.. I'm sorry for the additional questions, but I'm attaching my openmv to a gimbal and it doesnt really fit unless it is attached horizontally which means the view of the camera would be rotated about 90 degrees... I found the image.rotation_co...
by levinpqr
Thu Jul 12, 2018 1:36 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! THank you! I will try that later. In the meantime, is there a way to send each frame the camera takes in real time to display in this GUI in Raspberry Pi? maybe using the USB_VCP.send() function to send to the RPi through the usb port and the image.compress() function? Any help would be appre...
by levinpqr
Wed Jul 11, 2018 3:40 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

I did that before.. I tried it again but still no udev folder

I did:

cd openmv/openmvide

./setup.sh

on the terminal.. I also tried double clicking it an executing it, but nothing changed
by levinpqr
Tue Jul 10, 2018 3:50 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Yes I did that and donwloaded it for RPi however I only have these files in the openmv/openmvide directory (see image attached)... there's no udev folder...
by levinpqr
Tue Jul 10, 2018 12:47 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

How do I do that exactly? I'm sorry I'm still new at this... I cloned the openmv repository... but I don't know how to install udev.
by levinpqr
Mon Jul 09, 2018 2:35 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! Sorry I'm kinda having a hard time trying to understand that code... Do you mind helping me out a bit on how to set it up? Let's say I connected my cam to my linux laptop in this port: "ttyACM0" and have to run the script in this script: "home/pythonfiles/GUI/GUI_tester.py" any help would be ...
by levinpqr
Fri Jul 06, 2018 3:55 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! I'm sorry for the additional questions... I'm currently attaching my OPENMV cam to my laptop and I'm running a GUI on python as can be seen on the attached image. In the attached image, you can see the GUI. When the users clicks "enable camera", I would like the openmv to start its facial rec...
by levinpqr
Fri Jun 29, 2018 3:01 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Ok! Thank you sir!
by levinpqr
Fri Jun 29, 2018 2:43 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! Last questions... I tried it out and it did run the autostart... However:

1. Is there a way that I may be able to see the images it sees?

2. I cant seem to stop the autostarted script since it boots up. How do I stop it without turning it off?

Thanks
by levinpqr
Fri Jun 29, 2018 2:32 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Thank you again for the prompt reply.... That information is very useful sir, however my code is still a work in progress... If "Save Open Script to OpenMV Cam" now and do it again with newly updated code, which code will it run when I boot it up?

Will it follow the most recent one? Thanks!
by levinpqr
Fri Jun 29, 2018 1:36 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Thank you for the prompt reply sir kwagyeman!

Well what I want to happen is to automatically run the python script for the camera, not necessarily open the OPENMV IDE... Thanks!
by levinpqr
Thu Jun 28, 2018 5:15 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 56
Views: 16259

Re: Script autostart

Hello! I connected OpenMV M7 to my Raspberry Pi... I want to open OpenMV IDE using python scripts, CONNECT to the camera, and START running the script... Does anyone know how to do it? Thanks

Go to advanced search