

Thank you everybody for your initial responses. I hope this time its a more clear for everyone. After taking the picture program control is transeferd toĬlass DownloadCommand which download the image from camera into a filestream and then stores it on hard disk.after copying the image into memory i want to display it in a picture box on my initial form which is Public Class VBSample but it says that picturebox cannot be referenced. From here it goes to a controller handler ofĬlass CameraController which actually takes the picture from camera. "takepicture" ) Where controller is a controller for my attached camera. Please Help Thanx I have a form with public class VBSample and this form contains a button "Take Picture" with an associated event It works well if i put a button on the same form to display image but thats not what i want. I want to set the image from another class's function. I think its something to do with display form intitialization but not sure. When i set image property of picturebox from other class it doesn't display the image.



lang - language(s) used for OCR (allowed values are):Īfr amh ara asm aze aze_cyrl bel ben bod bos bre bul cat ceb ces chi_sim chi_sim_vert chi_tra chi_tra_vert chr cym dan dan_frak deu deu_frak dzo ell eng enm epo equ est eus fas fin fra frk frm gle glg grc guj hat heb hin hrv hun iku ind isl ita ita_old jav jpn jpn_vert kan kat kat_old kaz khm kir kor kor_vert kur kur_ara lao lat lav lit ltz mal mar mkd mlt mon mri msa mya nep nld nor oci ori pan pol por pus que ron rus san sin slk slk_frak slv snd spa spa_old sqi srp srp_latn sun swa swe syr tam tat tel tgk tgl tha tir ton tur uig ukr urd uzb uzb_cyrl vie yid yor.page - page number in the multi-page documents such as PDF, TIFF, DJVU.file_id - file identifier obtained from /v1/upload.To use OCR, make a GET request to the method's /v1/ocr URI and add the query parameters, for example: GET /v1/ocr?key=api_key&file_id=12345&page=1&lang=eng&psm=6 HTTP/1.1 } Example: Curl upload curl -H "Expect:" -F Example: PHP upload = curl_exec($ch) Īfter uploading the file, you can recognize the page. If the request succeeds, the server returns the HTTP 200 OK status code along with any metadata: HTTP/1.1 200 OK To use multipart upload, make a POST request to the method's /v1/upload URI and add the query parameter key=api_key, for example: POST /v1/upload?key=api_key HTTP/1.1Ĭontent-Type: multipart/form-data boundary=-41184676334Ĭontent-Disposition: form-data name="file" filename="filename.jpg" You can upload JPEG, PNG, GIF, BMP and multipage TIFF, PDF, DJVU files.
