Click here to Skip to main content
15,903,175 members
Everything / Camera

Camera

camera

Great Reads

by Miguel Diaz Kusztrich
Be notified in your mobile phone of intruders in your home, and take photos of them
by Andrew Kirillov
The article describes cam2web project - an open source application aimed for streaming cameras as MJPEG streams.
by Emiliano Musso
How to create a Windows Phone app to take timed pictures from camera, and upload them on an Apache webserver to view them remotely
by ToughDev
How to use Raspberry Pi Zero Wireless as cheap CCTV camera replacement

Latest Articles

by deangi
The inexpensive ESP32 platform is used to take periodic photos that can make a time-lapse video.
by ToughDev
Custom USB device that processes input from peripherals and displays on computer
by LeisureBamboo
Some kinds of DCR files' format/data structure
by Tough Developer
The V380 Pro wireless CCTV camera is available from many sellers on AliExpress for as low as 15USD. It has 10

All Articles

Sort by Title

Camera 

16 Nov 2014 by BaumHard920
I'm newbie here, but I need some help. I need to build an application for my Foscam IP camera.I found an interesting article on xyz.com: How to create USB webcam / IP camera recorder to capture and save video (C# WPF)[^]. This aroused my attention, but so far I am unable to find out how to...
21 Nov 2014 by Redgum
If you real question is how to get around using a proprietary 3rd party SDK for your IP camera (that may or may not cost money to get your hands on,) then I'd try using something open-source, like the AForge framework: https://code.google.com/p/aforge/[^]Otherwise, yes. You will need to...
7 Feb 2021 by MRS_
I'm working on a project which includes an Arduino camera that broadcasts its video through wifi, connecting to the camera URL. When watching the stream from a browser, I get about 15 fps. I've gotten my c# application to load the image from...
7 Feb 2021 by OriginalGriff
Basically, we can't help you - we have no idea what you are doing with the image, and no access at all to your local network or the computer it is loaded on - but loading a video of any form frame by frame as separate images is never going to...
7 Feb 2021 by RickZeeland
RTSP streams are commonly used, see if your camera supports these. Here is a CodeProject article about it: Stream Player Control[^]
31 Jul 2020 by ilostmyid2
Hi Please see whether I'm right. A company claims that its cameras are Profile T compliant. So I visit this document to see what functions the cameras supports. In section 7.2.3 I see the function list for devices. I examine the first one, GetServices with the following command: curl...
14 Dec 2019 by OriginalGriff
You should talk to the people who created it - they should provide technical support and will know more about their product than we will. If they don't, then find another supplier and demand your money back! We can't help you, we don't even know which camera you are talking to!
31 Jul 2020 by Member 14903945
The correct way to specify the operation is (the namespace definition can be moved to the Envelope tag, with the other namespaces) Full explanation is on stackoverflow ...
9 Jan 2020 by ilostmyid2
Hi There's a source (camera) which sends notifications (motion alarms) to port 8085 of a server I've subscribed its IP for it. Maybe in such a negotiation I can't call it 'server', but it's our server which serves some other things. I've written two programs for receiving and echoing current...
10 Mar 2017 by Miguel Diaz Kusztrich
Be notified in your mobile phone of intruders in your home, and take photos of them
17 Jan 2024 by deangi
The inexpensive ESP32 platform is used to take periodic photos that can make a time-lapse video.
25 Feb 2014 by Hareesh Malli
I am developing asp.net web application and also i added simple pages to my application for easy accessing from mobile. Now i want to access the client mobile camera and store these captured photos into online database. So give me the best way to do this.Thanks in advance.
25 Feb 2014 by JoCodes
There are many ways to do this. You can try PhoneGap or HTML5 or even JQuery plugins.Adding some links which can get you started.introduction-to-phone-gap/[^]getusermedia/intro/[^]capturing-camerapicture-data[^]
23 Nov 2014 by Shaik Hayath
I have an Activity which calls a camera service which starts recording in background using the front camera. The requirement is to show the same video being recorded in a surface view. This is my activitypublic class StartTestActivity extends Activity implements SurfaceHolder.Callback...
23 Feb 2019 by Tozkie
I'm trying to implement landscape camera preview in portrait orientation also taken pictures in landscape, I have tried setting camera parameter rotation and degrees parameters.setRotation(rotation) but no luck. I just want to ask if this is possible? Or anyone can guide me to any sample...
23 Feb 2019 by Richard MacCutchan
See setRotation[^], which explains how to calculate the angle relative to he current position of the camera.
16 Apr 2015 by Mahmoud M El-Sayed
Hello everyone,I need to recognize images using Android Development and Sift Algorithms or another algorithm .I wanna make application that the user will detect photo with camera and this photo will match with the database and the result will show to him text or other media please i wanna help.
20 Jun 2016 by Member 12358097
I am calling camera via intent , my requirement is that camera should open and be fix in landscape mode only i.e camera in default landscape mode. Is it possible via intent camera or i have to write custom camera class , any suggestions or reference link.What I have tried:Intent intent =...
15 Jun 2020 by Beanmeister
I'm trying to set up our test department so they only have to aim the camera. The program would take it (either WIFI or Bluetooth) and store in a project folder. What I have tried: I just started looking into this.
15 Jun 2020 by RickZeeland
That depends on what brand of camera is used, manufacturers like Panasonic have apps that can do that, see: https://play.google.com/store/apps/details?id=com.panasonic.avc.cng.imageapp&hl=nl[^] And here is an app that supports several brands:...
16 Apr 2020 by Srimoyee Sarkar
I have an imageview in this app, I am able to capture an image on clicking the imageview, but when I want to display that image on the imageview after capturing, the app is getting crashed. Tried some codes from internet, but the problem still persists. What is the problem? I cannot understand...
1 Oct 2015 by Srimoyee Sarkar
previous one: if (requestCode == CAMERA_REQUEST && resultCode == Activity.RESULT_OK) { Bitmap photo = (Bitmap) data.getExtras().get("data"); ////////////////////////PROBLEM: APP GETTING CRASHED HERE img.setImageBitmap(photo); ...
28 Jun 2016 by abhay1722
Quote:I am developing an android app in which the user can select from the gallery or can click a photo through the phone's camera and save in the app's folder called "FiZZ".The camera part of app runs perfectly fine on all android phones except Samsung.The code given below throws a...
14 Apr 2023 by Fatema Shawki
I am currently working on an Android app that involves camera object detection. However, I have encountered some issues that need to be addressed: - The app displays a black screen after granting camera permission, requiring one or two app...
14 Sep 2023 by Skulduggery
Getting this lovely error: 24:36:00: 24:36:00:Started Face Processing module 24:36:00:face.py: Traceback (most recent call last): 24:36:00:face.py: File "C:\Program Files\CodeProject\AI\modules\FaceProcessing\intelligencelayer\face.py", line...
20 Aug 2023 by Graeme_Grant
There is a dedicated forum to discuss this: Artificial Intelligence Discussion Boards - Code Project[^]
20 Aug 2023 by OriginalGriff
There is also a dedicated CodeProject.AI Discussions[^] forum which might be more relevant.
4 Oct 2014 by Member 11128411
Hi, im making a program like that. If web cam detects any motion then i want to take picture of this motion. I finished the program but i need just get that image. There is a picture from my project. After message box shows you "motion is dedected" when user click "Tamam" > "Okay"then screen...
4 Oct 2014 by Afzaal Ahmad Zeeshan
There is an article on CodeProject that explains how you can get the difference between two images. While you're having a look at the camera screen, you're watching images being changed as frames on the screen. Each of them in real are frames being provided to you. So, each frame might...
3 Nov 2014 by H.E.P.A.
Hello, To be able to take snapshots when any motion is detected, take a look the following code snippet. (This is a short example from the full source code that can be found here: How to handle alarms by taking a snapshot and sending it as an e-mail in C#[^].)By using this code you...
29 Aug 2017 by Andrew Kirillov
The article describes cam2web project - an open source application aimed for streaming cameras as MJPEG streams.
21 Nov 2018 by Fiínek Cahů
Hi, does anyone have a working code for capture and save video from an integrated camera via Aforge? Who could share it? Thank you What I have tried: I tried directx.capture Public Class Form1 Public cap As Capture Public f As Filters Public Sub Form1_Load(sender As Object, e...
21 Nov 2018 by RickZeeland
Maybe you can use the VideoCaptureDevice Class, see example: VideoCaptureDevice Class[^]
3 Mar 2015 by Sergey Alexandrovich Kryukov
What portrait mode? It's apparent that the camera sensor remains in vertical or horizontal position until you mechanically or optical turn it by 90 degrees. The question just makes no sense.—SA
25 Mar 2016 by Ionascut Mihai
This is my camera app and I don't know what is wrong because the picture is not good looking when I save. Can someone look at it and tell me how to solve the problem?Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.[^]
29 Nov 2016 by Member potato hopya
hi guys, beginner programmer here. ... any links of DLL's on how to capture an image and serves as a face recognition like "capure camera on your laptop using C#"i want to try some mini-application for my system i need your help thank you .`What I have tried:i tried some...
29 Nov 2016 by ZurdoDev
There are many examples online. The first google result from your search term for me is Capture photos and video with Windows built-in camera UI[^].
28 Apr 2022 by free5lot
Camera_Net is a FLOSS library for using video-cameras and video-inputs in .NET projects easily
25 May 2016 by Johannes Bildstein
A tutorial about the Canon SDK to remotely control DSLR cameras. From taking photos to using the LiveView.
30 May 2016 by Member 12530466
Have made an application (VB/NET)that capture pics on packed articles.The problem is to get the resolution higher than 640 x 360 pixels.Many have this issue on the web but I can't find a not to complex solution.The year i 2016 and I thought these things should be fairly easy, but...
13 May 2023 by ToughDev
Custom USB device that processes input from peripherals and displays on computer
24 Apr 2023 by LeisureBamboo
Some kinds of DCR files' format/data structure
3 Nov 2015 by ARY MUSTOFA
hi.Here I want to share a little bit about the problems that I have experienced in my program.previously I've created a small application to take pictures with the camera.I create applications using Visual Studio 2012 and VB.Net and I also use one component from DevExpressnamely Camera...
2 Jun 2015 by Member 11736311
I need help to know how I can view IP camera on internet without using static IP or DDNS. Please help.BR//Jaininder
2 Jun 2015 by Peter Leow
Follow this => https://ipcamnetwork.wordpress.com/2010/09/23/acessing-your-camera-from-the-internet/[^]
11 Jul 2018 by Member 13775524
I have a question related to DirectShow transform filter. I use USB2.0 camera to get the real-time video at 30fps (1920x1080) and I want to process the video image by inserting a transform filter. But after the insertion, the frame rate is decreased. For example, the processing time is about...
6 Sep 2020 by Member 14760154
I have a problem with my project , I think it's about web camera/ camera problem , I have developed my application ,and i have test on my pc , it was successfully when i am using my camera, then i try to use webcam it was not move to...
28 Jul 2020 by Member 14883729
I am making an video app in kotlin and making my own camera using surfaceview. But whenever I run my app its showing white screen and the buttons which I have added. Its returning an error E/SurfaceView: Exception configuring surface ...
23 Nov 2015 by Member 12158013
Regarding your instructions on surveillance camera:Am trying to set up a shared folder on a windows machineI am getting an error message "Mounting local filesystems...mount: mount point 0 does not exist" upon reboot.Additionally, After assuming I can accomplish this: I am not clear what...
4 Apr 2023 by Tough Developer
The Floureon 720p/1080p CCTV camera is available from many sellers on eBay and Amazon. This camera supports night vision as well as pan-tilt-zoom (PTZ)
14 Aug 2015 by Emiliano Musso
How to create a Windows Phone app to take timed pictures from camera, and upload them on an Apache webserver to view them remotely
21 Apr 2014 by Member 10757783
all details and problem about my project my project is money recognition by mobile (android)the mobile (client )is capture image and send it to computer (server) in server i used open cv library (C#) the SURF algorithm this is algorithm input to image (modelimage,observableimage) and it...
11 Nov 2019 by Member 14629414
I'm using Usb 3.0 Basler camera acA640-750uc to capture the video and here is the program to use 2 cameras and grab the frame: #include #ifdef PYLON_WIN_BUILD # include #endif // Namespace for using pylon objects. using namespace Pylon; //...
12 Nov 2019 by RickZeeland
You could try to lower the resolution and framerate of the camera and see if that helps. Maybe you can find information about this in the documentation: Basler ace acA640-750uc - Area Scan Camera[^] Another option would be to use Windows Media Foundation, see CodeProject article here:...
22 Jun 2015 by Member 11783574
If i have more than one camera, how can i choose one of them? I'm launching my application on a tablet with windows 7. The program take the front camera, but i need to use the rear camera. I'm using ozeki camera sdk.
22 Jun 2015 by Abhinav S
This link should help you - How To Get Access to Front & Back Camera in Windows 8.1 Store App[^].The whole idea would be to enumerate through the device information object and get the appropriate cameras.DeviceInformation frontWebcam = (from webcam in webcamList where...
29 May 2016 by عيسى الحرباوي
I wanna build a simple streaming projectto show two IP cameras the camera am using is hikvision DS-2CD854FWD-Ewhat i wanna build is supposed to be easy but the sdk that came with the camera is for c++ and i have no idea how to use it and they dont answer my emails i am a beginner...
29 May 2016 by George Jonsson
You could try this articleC# \ VB.NET Camera Communication Libraries[^]Maybe it will help you out.
5 Jun 2016 by عيسى الحرباوي
i tried VLC network stream and it worked goodfor monitoring only
28 May 2021 by mohammad hasani
I'm trying to get some metadata (VCA data) from ONVIF and I'm using GStreamer for that. it works fine and it gives me XML data but if it remains idle for 20 seconds I get this : error: Copy Code Got EOS from element "pipeline0" and the...
12 May 2014 by Olayèmi Ouabi
Hi Everybody.I'm working on something with a camera. I use DirectX.Capture and DShowNET libraries to look at my camera view into a picturebox. My problem is that i need to rotate my camera view at 270° before the view is in a correct position. I've searched for that matter in a lot of...
12 May 2014 by wikus70
Brian Low and Blas5 wrote articles about the DirectX.Capture Class Library. DirectX.Capture Class Library[^]Capture Sample with DirectX and .NET[^]You can maybe send them a PM about your request.
27 Jun 2014 by Olayèmi Ouabi
Here is what i've finally found. Not perfect but it helps me for a while. References : DirectX.Capture.dll and DShowNET.dll Public Class Prise_Image ' Just for the streaming Dim Camera As DirectX.Capture.Filter Dim CaptureInfo As...
9 Mar 2022 by Richard MacCutchan
You already posted this question at How do I show the photo taken for 5 seconds after taking a photo with the camera connected to my raspberry pi using Python language?[^]. Please do not repost.
8 May 2019 by egball
Hi guys I have 4 cameras around a rectangle place How can I remove overlay images so that I can finally have a 360 ° video out of the box? What is your suggestion in programming language and algorithm? What I have tried: just first try for find best solutions
5 Jan 2014 by Somanadh B
I am doing a project releated to livewallpaper, my app requirement is when the user Click the button camera preview set as wallpaper. i am doing all this stuff, but problem is after set the camera preview as wallpaper, when try to open the camera, it shows camera failed, i know we create only...
6 Jan 2014 by Xiao Ling
When you start another Activity, your previous Activity will be paused. The onPause() method will be triggered. so what you should do: @Override protected void onPause() { // TODO Auto-generated method stub super.onPause(); if (camera != null)...
7 Jan 2014 by Somanadh B
use the OnVisbilityChange() in Engine class to release the camera and start the camera.@Overridepublic void onVisibilityChanged(boolean visible) { // TODO Auto-generated method stub super.onVisibilityChanged(visible); if (visible) { try { //open the...
2 Feb 2014 by DaksithaW
I have tried many ways but some programs give me a gray color empty screen and another just exit the code detecting camera can not be accessed but couldn't find a solution even though program are successfully build in opencv.I am using Microsoft Visual Studio 2010 with Opencv 2.4.3 These...
4 Feb 2014 by Legor
If the camera is installed correctly you can try this solution which i found here:http://answers.opencv.org/question/133/how-do-i-access-an-ip-camera/[^]#include #include #include int main(int, char**) { cv::VideoCapture vcap; ...
5 Feb 2014 by DaksithaW
Thank you so much for your reply sir, I am doing a Image processing project of human detection using my ip camera so to do that need to access Ip camera directly using opencv. I have used several C++ code projects to do that but always have a problem with access it using the IP adress, as an...
22 Nov 2014 by krish0969
I am using multi input camera(bt878 chip) and have connected two cameras to chip. When I try to get the driver description I am getting only one driver.When I send the command to preview the video I can see the first camera.If I change the frame rate I can see the second camera also.But I am not...
21 Dec 2015 by wseng
I wonder how to avoid the app from crashing if no image is inserted into SQLite ?In Activity B, there has one save button, one open camera button and imageView.save button used to return the image to A, open camera button used for user to select picture and imageView placed the selected...
21 Dec 2015 by Richard MacCutchan
Just check to see if i.getImage(); returns null.
18 Jul 2017 by Member 13233111
I Want to learn about how to capture image on login button click from the front camera of smartphone without knowing user and display the pic on the next page. For development I am currently using PhoneGap. Please help. What I have tried: I have just created a login form with 2 textbox and...
14 Jan 2015 by bilal taj
I am working on windows phone app, In which i need to capture video using front camera. I am able to capture video using back camera but couldn't find a way to capture video with front camera using c#. Kindly Give me an idea that how can i achieve my task ,your help would be appreciated.Thanks...
18 Jan 2018 by Member 11467292
Hi Team I want to connect cp plus ip camera with c# window application. Is there any open source sdk available please let me know Also want to know what will the url for .cgi file in this camera What I have tried: I try with HttpWebRequest with credential but receive plan text in response not...
18 Jan 2018 by debasish mishra
Try checking here. C# Camera SDK: How to connect to your CP PLUS IP camera[^]
23 Jan 2018 by Member 11467292
I find a sample project which help me to connect IP camera with c# window application with Onvif protocol ONVIF Device Manager - Browse /!sample_winform at SourceForge.net[^]
16 Sep 2014 by adjo-inggit
i have a problem when i try connect two IP camera (dlink-930l) using array. i use AForge library. all of video only shows in one picturebox alternately. what should i do to connect each camera in different picturebox. can i create array eventframehandler ?using AForge.Video;public...
16 Sep 2014 by George Jonsson
Not sure this will solve your problem, but when you create the event handler for the NewFrame eventVideoStream[i].NewFrame += new NewFrameEventHandler(VideoStream_NewFrame1);you will end up using the same method for both cameras.This means that you need to make use of the sender parameter...
16 Sep 2014 by adjo-inggit
i try edit your solution, and it's work !!!!!!!!!!!!!!!!!!!!!!!!!.. thank you master George Jonsson, here the code i have edited from your code... ....// private PictureBox[] boxes;public PictureBox[] boxes = new PictureBox[2];private void Form1_Load(object sender, EventArgs e) ...
7 Oct 2014 by Oliver_Hart
I’ll show how to record audio and video stream into MPEG-4 file format by using C# to be able to save and store what happened in the area that is under video surveillance.
15 Oct 2014 by Oliver_Hart
I’ll show briefly how to take an ONVIF IP camera snapshot and save this image as a JPG file by using C# to be able to preserve/share the most important moments of the video surveillance.
25 Nov 2014 by Member 11158027
Option Explicit' Cao ObjectPrivate CaoEng As CaoEnginePrivate CaoWS As CaoWorkspacePrivate WithEvents CaoCtrl As CaoControllerPrivate CaoRobo As CaoRobotPrivate Posisi_Joint_and_XY(0 To 1) As CaoVariablePrivate DerajatJoint(0 To 7) As Single'tombolPrivate Sub...
14 Mar 2015 by shareallofme@gmail.com
Hi allI am a .NET developer and i have some problems need everybody support.I have using camera Foscam FI9821P. I want control it and Custom Record when i send request not using alarm record or schedure record, or I custom record video to SD Card on Camera IP when i send requestI have read...
24 Nov 2014 by Member 11258878
I am quite new to image processing but due to an urgent requirement needs to work on opencv to detect credit card edges then only that image can be saved to the web server and no noise remains in the background. I have followed all the samples provided along with opencv framework in android but...
9 Feb 2016 by Surendra Kandira
I'm using aforge in winforms for video recording. I wanna to record video both (front and back camera) in window tablet. I have able to find list of Video Capture Device but not identify which is front or rear camera.I have sawed you my finding video capture device snippet of code.Name...
9 Feb 2016 by Sergey Alexandrovich Kryukov
Please see my comment to the question where I explain why such information is probably not available, but a simple reason: there is no such concept.I have a different idea: if your application is interactive and show some window, you can work around the problem by proper Web design. The idea...
14 Mar 2023 by ca bien
Hello everyone, I am connecting Baumer camera to Baumer camera Explorer software through company intranet (not internet), and got an error that the image cannot be displayed. What I have tried: I tried with home internet and it works fine. Hope...
14 Mar 2023 by OriginalGriff
It's probably a firewall or similar on the company net - talk to your network support people and explain why you need it.
14 Mar 2023 by ca bien
I'm trying to make a C# program that connects to the baumer exg50 camera, via ethernet ip (intranet within the company, not internet). What I have tried: I have tried a few ways on the internet but it doesn't work, I hope someone can help me...
14 Mar 2023 by Richard MacCutchan
No one here can answer such a vague question, we have no idea what is meant by "it doesn't work". But in the first instance you should contact the camera manufacturers for guidance on how to interface to their device.
14 Mar 2023 by Pete O'Hanlon
Have you checked the APIs that the manufacturer provides[^]? There seem to be a number of SDKs available.
21 Nov 2013 by Richard MacCutchan
Please do not post the same question in multiple forums.
11 Feb 2015 by Jsnaijer
Hey guys,recently i’ve been trying to get more information about barcode reading and I found some softwares that can work for me. I am not an expert (yet :) ) on this field so if you could help me, I’d be very grateful. I found two SDKs, both named as Barcode Scanner SDK, one from Dynamsoft (I...
11 Feb 2015 by Xiao Ling
Here is a case study[^] about how Avision adopts Dynamsoft's barcode SDK to bundle with document scanners. And you can see that the use of Dynamsoft barcode reader SDK is pretty simple:private void btnReadBarcode_Click(object sender, EventArgs e){ this.txtBarcode.Text = ""; ...
10 Dec 2017 by Member 13135273
Live streaming via web camera(USB Camera) using C application What I have tried: I tried by using Linux commands .
10 Dec 2017 by KarstenK
Try the mighty ffmpeg library, which is hugh and ahrd to learn but very powerful with some video4linux2.
9 Jul 2018 by SONI DHARMIT
Hi all, I am trying to implement portrait mode face detection using open cv but I cannot get accurate result and I am also trying to detect mouth but I cannot. In landscape mode it works perfectly and able to detect mouth and eyes, but in portrait mode I cannot Please help me and guide me how...