|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#21 | ||
|
Senior Member
Iscritto dal: Jan 2002
Città: Germania
Messaggi: 26110
|
Quote:
Quote:
Al limite per migliorare le prestazioni del codice Python ci sono diverse strade: algoritmiche, si può usare un compilatore JIT, compilare in C le parti critiche con strumenti come cython, oppure riscriverle proprio in C o C++. Ehm, no.
__________________
Per iniziare a programmare c'è solo Python con questo o quest'altro (più avanzato) libro @LinkedIn Non parlo in alcun modo a nome dell'azienda per la quale lavoro Ho poco tempo per frequentare il forum; eventualmente, contattatemi in PVT o nel mio sito. Fanboys |
||
|
|
|
|
|
#22 |
|
Senior Member
Iscritto dal: Oct 2007
Città: Padova
Messaggi: 4131
|
Ho trovato JavaCV.
A occhio mi sembra "carne fresca".
__________________
As long as you are basically literate in programming, you should be able to express any logical relationship you understand. If you don’t understand a logical relationship, you can use the attempt to program it as a means to learn about it. (Chris Crawford) |
|
|
|
|
|
#23 | |
|
Senior Member
Iscritto dal: Jun 2002
Città: Dublin
Messaggi: 5989
|
Quote:
__________________
C'ho certi cazzi Mafa' che manco tu che sei pratica li hai visti mai! |
|
|
|
|
|
|
#24 | |
|
Senior Member
Iscritto dal: Oct 2007
Città: Padova
Messaggi: 4131
|
Quote:
Bhe, se è vero che riesce ad arrivare adirittura ad un x20 di velocità rispetto a CPython...
__________________
As long as you are basically literate in programming, you should be able to express any logical relationship you understand. If you don’t understand a logical relationship, you can use the attempt to program it as a means to learn about it. (Chris Crawford) |
|
|
|
|
|
|
#25 | |
|
Member
Iscritto dal: Dec 2006
Messaggi: 120
|
Quote:
http://www.cosc.canterbury.ac.nz/gre.../python/Pyrex/ Oppure in maniera simile genie del progetto GNOME (sintassi un po diversa ma dal sapore pythonico): http://live.gnome.org/Genie Il fatto è che per ovvi motivi devi scendere a compromessi per quanto riguarda la dinamicità del linguaggio che è il vero punto di forza. Sono comunque strumenti utili se "infastidisce" scrivere con una sintassi diversa da quella pythonica. |
|
|
|
|
|
|
#26 | |
|
Senior Member
Iscritto dal: Oct 2007
Città: Padova
Messaggi: 4131
|
Quote:
http://www.cosc.canterbury.ac.nz/greg.ewing/
__________________
As long as you are basically literate in programming, you should be able to express any logical relationship you understand. If you don’t understand a logical relationship, you can use the attempt to program it as a means to learn about it. (Chris Crawford) |
|
|
|
|
|
|
#27 | ||
|
Senior Member
Iscritto dal: Sep 2007
Messaggi: 1071
|
Quote:
ad esempio: Quote:
__________________
Affari: ariakasneverborne, PanCar, Luk@°°°, Fabio310, kintaro oe, krike, fabry180384, dariox am2, chiadoz, windsofchange, dado1979, Rudyduca, aleforumista, Sheva77 |
||
|
|
|
|
|
#28 |
|
Senior Member
Iscritto dal: Jun 2010
Città: Varese
Messaggi: 996
|
|
|
|
|
|
|
#29 | |
|
Senior Member
Iscritto dal: Oct 2007
Città: Padova
Messaggi: 4131
|
[OT]
Quote:
Questo .jar è quello che viene lanciato da Netbeans quando si fa il "Run" dall'IDE. (probabilmente bastava includere le librerie nel progetto in modo che venissero infilate nel .jar prodotto e che di conseguenza venisse settato correttamente il manifest file di quel .jar).
__________________
As long as you are basically literate in programming, you should be able to express any logical relationship you understand. If you don’t understand a logical relationship, you can use the attempt to program it as a means to learn about it. (Chris Crawford) Ultima modifica di banryu79 : 23-07-2010 alle 13:53. |
|
|
|
|
|
|
#30 | ||||
|
Senior Member
Iscritto dal: Jan 2002
Città: Germania
Messaggi: 26110
|
Quote:
Quote:
Quote:
Quote:
__________________
Per iniziare a programmare c'è solo Python con questo o quest'altro (più avanzato) libro @LinkedIn Non parlo in alcun modo a nome dell'azienda per la quale lavoro Ho poco tempo per frequentare il forum; eventualmente, contattatemi in PVT o nel mio sito. Fanboys |
||||
|
|
|
|
|
#31 |
|
Senior Member
Iscritto dal: Mar 2009
Messaggi: 753
|
Ciao,
voi avete problemi acquisendo da una webcam usb esterna? il codice che utilizzo è semplice: (win32) Codice:
#include "C:\OpenCV2.0\include\opencv\cv.h"
#include "C:\OpenCV2.0\include\opencv\highgui.h"
int main( int argc, char** argv ) {
cvNamedWindow( "Example2_9", CV_WINDOW_AUTOSIZE );
CvCapture* capture;
if (argc==1) {
capture = cvCaptureFromCAM(-1);
} else {
capture = cvCreateFileCapture(argv[1]);
}
assert(capture != NULL);
IplImage* frame;
while(1) {
frame = cvQueryFrame( capture );
if( !frame ) break;
cvShowImage( "Example2_9", frame );
char c = cvWaitKey(10);
if( c == 27 ) break;
}
cvReleaseCapture( &capture );
cvDestroyWindow( "Example2_9" );
}
Starting H:\OpenCV_sources\OCVtest7\debug\OCVtest7.exe... H:\OpenCV_sources\OCVtest7\debug\OCVtest7.exe exited with code -1073741515 stasera provo da un web cam integrata. |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 00:28.




















