How to save appropriate images and then discard the saved images after using.
Hi,
The attached program is used for gesture recognition and playing the corresponding audio file for each recognized pattern. It is saving all the images that are captured and is using in pattern matching. if pattern for "A" is captured ,then almost 10 to 15 intermediate images are captured along with pattern "A". If all are pattern matched then audio file of "A" will be played for 4 or 5 times which is not desirable. Also the images saved in the imaq write folder are getting piled up. They should be discarded after they are used up in pattern matching otherwise it would be a waste of system memory. Can anybody advice in correcting.
Thanking you.
Attachments:
program help.zip 721 KB
Hi,
The attached program is used for gesture recognition and playing the corresponding audio file for each recognized pattern. It is saving all the images that are captured and is using in pattern matching. if pattern for "A" is captured ,then almost 10 to 15 intermediate images are captured along with pattern "A". If all are pattern matched then audio file of "A" will be played for 4 or 5 times which is not desirable. Also the images saved in the imaq write folder are getting piled up. They should be discarded after they are used up in pattern matching otherwise it would be a waste of system memory. Can anybody advice in correcting.
Thanking you.
Attachments:
program help.zip 721 KB
Similar Messages
-
First off I have a 3tb fusion drive.
I created a 200gb bootcamp, I tried deleting the bootcamp because I thought I messed it up and googled how to delete a mac partition which told me to use Disk Utility, did that and then erased it and somehow it got locked and wouldn't let me do anything to any partition on my hard drive (everything was greyed out)
After looking up and googling for hours I found a post saying the only way to fix it would be to go into CMD+R and go into the terminal window and type out disklist and then find the first UUID number and do something along the lines of disklist delete (UUID) i forget the exact formula. I did this, and then I had 3 separate untitled hard drives.
One in the size of 1.9gb on in 800gb and one in 121.3gb (which is the SSD), I put my time machine backup onto the 1.9gb untitled and now my computer is booting slowly (because it's no longer running off of the SSD and the original bootcamp is still there.
To be honest I am absolutely confused on what else to do!
Is there anyway I can fix this?How do I go about deleting and then re-adding the hard drives? Completely lost on how to make it back to being a 3gb fusion drive.
Thank you for all your help, I honestly really appreciate it.
I followed your instructions and got the following
diskutil list:
-bash-3.2# diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 120.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *3.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage 1.9 TB disk1s2
3: Apple_Boot Recovery HD 650.0 MB disk1s3
4: Apple_CoreStorage 251.9 GB disk1s4
5: Apple_Boot Boot OS X 134.2 MB disk1s5
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme *1.3 GB disk2
1: Apple_partition_map 30.7 KB disk2s1
2: Apple_HFS OS X Base System 1.3 GB disk2s2
/dev/disk3
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Untitled *1.9 TB disk3
Logical Volume on disk1s2
FD9357F1-1A71-44A0-A01E-41C84F1C8047
Unencrypted
/dev/disk4
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Untitled *251.5 GB disk4
Logical Volume on disk1s4
31B60F49-6981-47A3-9815-6396AD3A9BD6
Unencrypted
/dev/disk5
#: TYPE NAME SIZE IDENTIFIER
0: untitled *5.2 MB disk5
/dev/disk6
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk6
/dev/disk7
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk7
/dev/disk8
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk8
/dev/disk9
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk9
/dev/disk10
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk10
/dev/disk11
#: TYPE NAME SIZE IDENTIFIER
0: untitled *6.3 MB disk11
/dev/disk12
#: TYPE NAME SIZE IDENTIFIER
0: untitled *2.1 MB disk12
/dev/disk13
#: TYPE NAME SIZE IDENTIFIER
0: untitled *1.0 MB disk13
/dev/disk14
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk14
/dev/disk15
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk15
/dev/disk16
#: TYPE NAME SIZE IDENTIFIER
0: untitled *1.0 MB disk16
/dev/disk17
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *319.4 GB disk17
1: EFI EFI 209.7 MB disk17s1
2: Apple_HFS IMAC TMB 319.0 GB disk17s2
/dev/disk18
#: TYPE NAME SIZE IDENTIFIER
0: untitled *6.3 MB disk18
/dev/disk19
#: TYPE NAME SIZE IDENTIFIER
0: CD_partition_scheme *804.4 MB disk19
1: Apple_partition_scheme 700.4 MB disk19s0
2: Apple_partition_map 32.3 KB disk19s0s1
3: Apple_HFS WD SmartWare 237.5 MB disk19s0s2
-bash-3.2#
diskutil cs list
-bash-3.2# diskutil cs list
CoreStorage logical volume groups (2 found)
|
+-- Logical Volume Group 687E889E-B4A1-4F20-8B36-43D7A3701076
| =========================================================
| Name: Untitled
| Status: Online
| Size: 1946162462720 B (1.9 TB)
| Free Space: 5402624 B (5.4 MB)
| |
| +-< Physical Volume 7BCD8D9C-AEB2-4D48-B248-257EFC7EA922
| | ----------------------------------------------------
| | Index: 0
| | Disk: disk1s2
| | Status: Online
| | Size: 1946162462720 B (1.9 TB)
| |
| +-> Logical Volume Family 3A8A9627-5963-49BA-8E2F-96DC7A1B033D
| ----------------------------------------------------------
| Encryption Status: Unlocked
| Encryption Type: None
| Conversion Status: NoConversion
| Conversion Direction: -none-
| Has Encrypted Extents: No
| Fully Secure: No
| Passphrase Required: No
| |
| +-> Logical Volume FD9357F1-1A71-44A0-A01E-41C84F1C8047
| ---------------------------------------------------
| Disk: disk3
| Status: Online
| Size (Total): 1945804734464 B (1.9 TB)
| Conversion Progress: -none-
| Revertible: No
| LV Name: Untitled
| Volume Name: Untitled
| Content Hint: Apple_HFS
|
+-- Logical Volume Group 98213AE6-9EA8-4FB7-8B72-8E08BFBFD82C
=========================================================
Name: Untitled
Status: Online
Size: 251864797184 B (251.9 GB)
Free Space: 5226496 B (5.2 MB)
|
+-< Physical Volume 20CEF763-635D-4A0D-A107-40E8FB161D06
| ----------------------------------------------------
| Index: 0
| Disk: disk1s4
| Status: Online
| Size: 251864797184 B (251.9 GB)
|
+-> Logical Volume Family 2D3173B3-5B04-47E6-B331-49D1BA58E9F2
Encryption Status: Unlocked
Encryption Type: None
Conversion Status: NoConversion
Conversion Direction: -none-
Has Encrypted Extents: No
Fully Secure: No
Passphrase Required: No
|
+-> Logical Volume 31B60F49-6981-47A3-9815-6396AD3A9BD6
Disk: disk4
Status: Online
Size (Total): 251507245056 B (251.5 GB)
Conversion Progress: -none-
Revertible: No
LV Name: Untitled
Volume Name: Untitled
Content Hint: Apple_HFS
-bash-3.2#
Disk0
-bash-3.2# gpt -vv -r show /dev/disk0
gpt show: /dev/disk0: mediasize=121332826112; sectorsize=512; blocks=236978176
gpt show: /dev/disk0: PMBR at sector 0
gpt show: /dev/disk0: Pri GPT at sector 1
gpt show: /dev/disk0: Sec GPT at sector 236978175
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 235298960 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
235708600 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
236978136 7
236978143 32 Sec GPT table
236978175 1 Sec GPT header
-bash-3.2#
Disk1
-bash-3.2# gpt -vv -r show /dev/disk1
gpt show: /dev/disk1: mediasize=3000592982016; sectorsize=512; blocks=5860533168
gpt show: /dev/disk1: PMBR at sector 0
gpt show: /dev/disk1: Pri GPT at sector 1
gpt show: /dev/disk1: Sec GPT at sector 5860533167
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 3801098560 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
3801508200 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
3802777736 1912
3802779648 491923432 4 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
4294703080 262144 5 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
4294965224 1565567911
5860533135 32 Sec GPT table
5860533167 1 Sec GPT header
-bash-3.2# -
How to save a game and then load
My final project of BSCS (Bachelor of Science in Computer Science) is a Multiplayer online Board game...Distributed Ludo...
This project is in its final steps and I�m facing some difficulties.
I do not know how to save the game and load it again. Can anybody guide me to the process?Saving a game is just persisting the data required for the game.
Loading a game means reading the saved data and setting the attributes of the game (and player and ...) to start exactly the point where it was saved.
So the steps to save are
1. Identify the data necessary for retaining the same state when needed.
2. Decide the data file format and structure.
3. Get the snapshot of necessary attributes
4. Save the data using APIs
Steps to load are
1. Read the data using APIs.
2. Set the game attributes.
3. Update the model and view accordingly.
Hope this helps. -
How to save output image after IMAQ-FFT to the file
When I apply IMAQ FFT on monochromatic image and display complex destination image by IMAQ WindDraw, I get picture which I am not able to save to the file. I tried various conversions from complex image to bitmap (array), but result was everytime different from that got by IMAQ WindDraw.
I thank for any help.Hallo Filip,
you cannot save Complex Image to file to be readable by other programs - see link: http://digital.ni.com/public.nsf/websearch/D557B1A79C30AD5F86256AB1006A678A?OpenDocument
What you can do is convert Complex Image to 8-bits BMP file format and save it then. This question was answered already - see example at: http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3ECED56A4E034080020E74861&p_node=DZ52000_US&p_source=External
Hope this helps
Pavel -
How can I uninstall Firefox and then download the latest version. I inadvertently downloaded too many and they won't download correctly. I have a Macmini Leopard.
== This happened ==
Not sure how often
== Not sure ==
== User Agent ==
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9Hi, Barbara! Is the problem that you have a lot of different versions of Firefox on your launch bar? Or that you have a lot of different versions in a directory somewhere?
Either way, on the mac, you should be able to simply:
1. Close all versions of Firefox
2. Drag the applications to the trash folder, which will remove them from the folder or your dock
3. Download Firefox with Safari at getfirefox.com
4. Open the downloaded file by double clicking it
5. Once that happens you will have a Firefox icon and a folder with an "A" on it
6. Drag the Firefox icon onto the A, which will install it into your Applications folder
7. Open your Applications folder and drag it onto your main dock
8. You should be able to launch it from your dock by clicking on the Firefox icon.
Thanks! -
Hi everyone,
I need to write a javascript which will group some object on running the script and then duplcate the same group.After duplicating it will enlarge the same group upto some extend.The object will be generally inside the textframes.We have to group them and then make a duplcate of the group on the same page.Please tell me the javascript code to do the same.
Thanks and regards,
SanatThanks a lot jongware..now its selecting the objects correctly but i m struck with adding the selected objects to the group and duplicating the same group.<br />I tried the follwing code but it didnot work.<br /><br />main();<br /><br />function main(){<br /> if (app.documents.length != 0){<br /> if (app.selection.length > 0){<br /> <br /> var myObjectList = new Array; <br /> var myObjectList = new Array; <br />for (i=0; i<app.selection.length; i++) <br /> myObjectList.push (app.selection[i]); <br /><br />alert ("length of myObjectList is "+myObjectList.length);<br /><br />var myGroup =app.documents.groups.add(myObjectList); <br /><br />var myGroup1=myGroup.duplicate(myObjectList1,myObjectList1);<br /><br /> }<br /> }<br /> }<br /> <br />I know i m asking silly questions but i m a begginer to this scripting and want to learn more.Please guide me with the proper code to do so.<br /><br />Thanks,<br />Sanat
-
I had a trial version of Pages for 30 days and then purchased the actual software without removing the trial. Now when I try to edit documents and save them it sometimes wont because it tells me I am using a trial version.... But sometimes it lets me!! How can I remove the trial version? I cannot tell which one I am using when I open it....
Question asked and answered quite once a week.
Go to my iDisk (address below)
and download :
For_iWork:iWork '09:uninstall iWork '09.zip
Run it then reinstall the purchased software.
Yvan KOENIG (VALLAURIS, France) vendredi 2 janvier 2011 16:21:41
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My iDisk is : <http://public.me.com/koenigyvan>
Please :
Search for questions similar to your own
before submitting them to the community -
How to save an image to database and retreive from it.
how to save an image retreived from an bytearray to database and retreive back the image from database....pls specify the steps and the query.
You can use the JDBC API for database connectivity and you can use SQL to query the database.
JDBC tutorial: http://www.google.com/search?q=jdbc+tutorial+site:sun.com
SQL tutorial: http://www.google.com/search?q=sql+tutorial+site:w3schools.com -
How come everytime i add an image to my pages document the screen goes blank and then closes the app?
Hi Fayed11,
Welcome to Apple Support Communities.
You may find this article useful for troubleshooting any apps on your iPad that aren't behaving as expected:
iOS: Troubleshooting applications purchased from the App Store
http://support.apple.com/kb/ts1702
Have a great day,
Jeremy -
How to save a document and allow others to sign too
Hopefully someone can help me out with this. I've spent a good 12 hours playing with different methods and techniques over the past week and still am trying to get this little bugger sorted out.
I'm working on some real estate contracts and need to be able to not only sign them, but once the document is signed, continue adding text to the document and allow another to sign it as well, even if that sounds weird to add content after it's signed.
(I basically am trying to save time by having some presigned contracts that I fill out as needed so I don't have to go through the signing process every time.)
How can I save a PDF and then continue to add more content later, as well as add more signatures as needed?
I'm using Acrobat Reader XI for Mac if it makes a difference.
Thanks!!Thanks for the quick response. I'm using an image of my handwritten signature.
I downloaded a trial of Acrobat Pro, but does it offer more functionality than I can get with simply the reader?
Similarly, if I have a PDF that won't let me sign it, how can I make it signable? -
in iPhoto, I want to copy certain photos in an event and then have the copies in another event WITHOUT removing the original photos from their original event; how to do that?
The only way to do that is to export the image to a new file and then re-import it.
It's not really the intended way of working as it uses twice the disk space and is inefficient.
Use Albums instead. A Photo can be in any number of albums and use no extra disk space as it just simply references the image in the Library. Albums can be sorted any way you want - including manaually - and can have image from anywhere in the Library just by drag and drop. -
How i can insert videos, export to pdf and then watch the video? i can't
How i can insert videos, export to pdf and then watch the video? i can't. It is suposse that i have to configurate the option save but i don't know how... any help?
Fron the Pages Help menu:
Using Sound and Movies
You can add audio—a music file, a playlist from your iTunes library, or any other sound file—to a Pages document. You can add video that plays within a page.
Pages accepts any QuickTime or iTunes file type, including the following:
MOV
MP3
MPEG-4
AIFF
AAC
Also note that some media files are protected under copyright law. Some downloaded music may be played only on the computer where the download occurred. Make sure the computer you are using has permission to play all the media files included in your document.
When you add media files to your document, make sure that they will be available if you transfer your document to another computer. When saving your document, make sure the option “Copy audio and movies into document” is selected in the Save window. (If you don’t see the option, click the button next to the Save field to display the entire Save window, and then click the Advanced Options disclosure triangle.) -
How to save an image as a PICT resource file?
Can someone tell me how to save an image as a PICT resource file? I'd like to make ikons in Photoshop and save them in this format, but I 'm not finding any leads. Thanks!
If you have Resorcerer from "ancient times" it of course can handle resource forks since that's was it's goal in life.
There are lots of icon creation apps these days. Do a search for "icon" on macupdate.com to see what's available. For example that search finds:
iconXprit
Icon Builder X -
How to save my emails and adressbook files from an old ibook?
How to save my emails and adressbook files from an old ibook (bought around 2002) ?
The screen from the old ibook doesn´t work anymore (logicboard problem I guess).
I saved everything else with starting it in target modus. That worked fine.
I want to delete the files after that as well, because I wanna give away the old ibook and don´t want anyone to read my emails!
Little helpers I have:
A running MacBook
External Screen (and cables to connect)
Fire Wire CableDon't know how helpful this will be but I often copy mail from one computer to another, I drag the mail from the mail window to the other computers drop box, then from the other computer double click it and mail asks me what I want to do with it, of course without a screen you'd need to use back to my mac.
If you don't have back to my mac running, you could set up a second user account on the newer mac, import everything via target mode as suggested by c above, and then drag the mail to the first user account drop box. -
How do I scan a photo to a file and then send the file as an attachment via email.
How do I scan a photo to a file and then send the file as an attachment via email.
All of this depends largely on what printer /software you have, which Email client you use and to some extent which OS you are running.
Most HP printers have HP Solution Center which is used to set up scanning,choosing where to save,etc. Once a file/photo is scanned and saved to the folder, open the folder.Select the file and at the top of the window should be the option to 'Email'.
******Clicking the Thumbs-Up button is a way to say -Thanks!.******
**Click Accept as Solution on a Reply that solves your issue to help others**
Maybe you are looking for
-
How to remove clothes in photoshop cs5
can anyone let me know how to remove clothes in photoshop cs5? Please help
-
Mobileme photo gallery and iweb 09 sloooooooow
Hello All, I use iWeb 09 and Mobileme. I have added an embeded mobileme gallery of photos to my page but it soooooo slow in loading. Is there a way to embed a Mobileme photo gallery without the animation? Just have a static cover image. I think that
-
Client Hardware inventory showing multiple errors
We have some client which are not sending the operating system Build No. while looking in the inventor logs it show multiple errors.Complete inventory log attached below. Can anybody help to understand the issue. Inventory: Delta report without a pr
-
Exporting out of Logic to Pro Tools
What's the best way of exporting only vocal tracks out of Logic express 7? I need to have each track as separate .wav or .aiff files and be able to import them into Pro Tools 6.4 for a mix so they're all in time as they were recorded in Logic. I myse
-
Generate extra record when create a new record in secondary form
I have been troubshooting this for a logn time: I have exemption form ties to exemption table. because there are two many info on exemption form, I create a second form called exemption (2) form and ties to exemption(2) table. Then, I create a "Go to