Skip to content

Save_Image Error #25

@dpalo325

Description

@dpalo325

Hi,

I'm currently attempting to run the demo.py, but I come across an error when attempting to save the file.

Specifically it prints the following error-
“File "C:\Users\palod\Desktop\pyicic\IC_Camera.py", line 479, in save_image
c_char_p(filename),
TypeError: bytes or integer address expected instead of str instance”

I attempted to fix this by using the c_wchar_p instead, but this returns another error. I was wondering if you could offer any insight as to how I could possible alter this code/ what I need to do to get this demo to work properly. I am using a monochrome GigE camera, python 3, and I have not altered your code except for what is necessary. I am running this on windows 10, and I thought I should note that I do not currently have any light entering the camera, so it is receiving zero signal.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions