travis Haycock

Ranch Hand
+ Follow
since Jan 02, 2016
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by travis Haycock

I have been able to get the webcam to activate but so far have not been able to get the facial recognition even after searching and looking at documentation in context of integration with other IDE's ; Visual Basic, I cannot successfully obtain the facial recognition portion ; here is my code:


8 years ago
For anyone that has done this can you please explain how you accomplish installing openCV in Qt on Mac OS ... heres what I have done so far.. I have installed openCV successfully on my mac I have confirmed its properly function playing with Xcode .. I am using Qt for lots of obvious reasons and am met with a bit of confusion in context of integrating the two. Heres what I have put in my title.pro file (see Below Code) I have also tried to include these header files into the main file but with no luck. I have been looking proper configuration and this seems to be a rather common problem with a lot of no posted answers or rather answers that do not seem to fit my case


8 years ago
Hello thanks for your effort I have cleared this up essentially following some of your advice and researching and have saved myself some headaches although I am met with more questions which are confusing considering I'm using a new IDE for C++ and newish to the language, again thanks for your help.
8 years ago
Ive switched to C ++ a bit more organized with the OOP ;) just getting familiar with the opencv library etc. But i do find myself slow and going in circles in context of GUI... I realize the highgui is suppose to create a functioning gui but am having problems with simply creating these? I am using Xcode and am getting errors. Is there any clear documentation on constructing GUI I should note that I'm new to C++ so if I'm asking questions that seem simplistic its due to my lack of familiarity with C ++
8 years ago
Thanks for the reply. I have actually solved the issue after a few hours of searching. I found the tutorial on openCv community on Youtube which demonstrated how to install it on mac osx This seems to functioning fine now, although if you don't mind i'd like to ask something in direct relation to openCV /C ... I found the documentation is mostly in C++ the OpenCV syntax on these demo pages it states C/ C++ Does this mean the syntax and structure are the same for C and C++ thanks, this is essentially what is holding me back at the moment, just searching for correct documentation thats all.
8 years ago
Hello,


I am new to C and testing the waters this is a language I'm really interested in for a lot of reasons... I am attempting to play around with openCV and want to put it in my C project in Netbeans, Can someone please explain how to put openCV in my project folder so it will function. Thanks
8 years ago
Thanks for the reply, why would this code be allowing only ZIP files to go through? it seems I can send those files without any modification of the code
8 years ago


Hello I am having difficulties sending files to my server I have successfully designed a few voice messaging methods which send a wav file over the network which work great but I am unable to send a file... I see lots of examples and try to make my own but it either stalls or throws exceptions I have been reading and can't find a real credible source that neither functional or provides theory can someone please help me out? my Server is receiving and my client is sending

CLIENT





SERVER


8 years ago
Where I think I was mistaken was just a lack of knowledge on my part I thought for example I could have used: (ill illustrate)


while(true){
Thread 1 (perform streams only etc.)

Thread 2 (perform only download etc.)



}


But in reality i need to replicate the whole class(s) for each connection .. if I'm not getting stuff mixed up again.
8 years ago


Thanks Paul, I'm rebuilding now I did what you recommend; started small scale with a simple echo server which worked kind of showed more in depth actually when I was working with shorter code what was going wrong. I tried to make the server fail and have found a couple faults where I went wrong with the threads.
8 years ago
Im officially stumped I have 7 hours on this now and am still able to make little progress on this. i have rebuilt the whole server hoping I missed something, but apparently its me. I don't understand where I'm going wrong but the output is showing below... 130 is referring to Objectoutput.writeObject(hostName + ": " + m); I have tried correcting it with no prevail If anyone can help that would be amazing.. When I start the server up and then the client everything seems to go fine at first than I get the ERROR(S) I put below on serverSide




As well when activating the Microphone and sending the sound file I am receiving this Error which I don't understand entirely, but am pretty positive its related to the first problem as well its pointing to the client-side
message = (String) Objectinput.readObject();
















Im going to post my code with the server first following the client











CLIENT SIDE BELOW


8 years ago
Thanks for the info, I've tried to apply it but I'm still getting a refusal to connect. The method that actually listens to download the file is at the very bottom. I included just the server-side because I have tested the client side sending to another server that just listens for the incoming data and it works flawless its just this server side particularly this code whats giving me problems and from my understanding and knowledge i don't know what I'm doing wrong.


8 years ago
Thanks again for the insight Paul, I will take your advice and watch some more tutorials... never can learn too much! So in all honesty should I just use the single ServerSocket? instead of using two? I mentioned above I believe that it closes the chat program as soon as the file sends and doesn't actually go through but this is because it should have been threaded so I am leaning towards just using one ServerSocket now and threading.
8 years ago
Ok I am assuming the reason why one is not going through and getting a socket connection refusal is because of this I will make a new thread and report back.
8 years ago
Thanks Paul for a prompt hand. OK, So they are on different ports exp. [1] severSocket 222 [2] serverSocket 222 lets say [1] is for text and [2] is for files etc. BUT they need to be most defiantly in separate threads??
8 years ago